Re: Linux boot code

From: Randy.Dunlap (rddunlap@osdl.org)
Date: Tue Jul 15 2003 - 11:03:37 EST


On Tue, 15 Jul 2003 11:17:46 +0200 Koala GNU <koala.gnu@tiscalinet.it> wrote:

| Hi, Riley,
|
| thanks for your reply.
|
| I noticed the native boot code for floppy is not supported any more. In
| fact in the current code display a message and reboot the machine after
| the press of a key.
|
| But I am interested on how the old native boot code worked.
|
| Do you know if there is a particular reason why the boot sector is moved
| to 0x9000:0 (excuse me if I repeat the question, but I need help on this)?

Why do you need to know?

IIRC, it's because the code being loaded also (usually) is written
as a boot loader also, and boot loaders often assume that they are
loaded at 0:7c00. (disclaimer: it's been a few years since I worked
on boot loaders.)

| I hope someone else can point me a site where is reported the format of
| the floppy parameter table at address 0x0:0x78.

http://www.delorie.com/djgpp/doc/rbinter/id/55/24.html (for one)

--
~Randy
| http://developer.osdl.org/rddunlap/ | http://www.xenotime.net/linux/ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:58 EST