Booting without PMode

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Grizwald

Booting without PMode

Post by Grizwald »

i simply can't put everything i want into 512 bytes.
could i put two loaders? one to load my first
loader, that switches to p-mode and then loads
my kernel?
J. Weeks

RE:Booting without PMode

Post by J. Weeks »

>On 2002-02-18 19:36:54, Grizwald wrote:
>i simply can't put everything i want into 512 bytes.
>could i put two loaders? one to load my first
>loader, that switches to p-mode and then loads
>my kernel?

Of course you can dude. You're writting an OS,
you can do whatever you want (as long as it's
physically possible :)

Most OSs do, in fact, use a multi-stage boot loader.
The first, 512 byte boot sector, loads in another
which'll in turn finally load in the kernel.

Which stage you choose to enter pmode is your own
choice, as well, of course.

Jeff
Post Reply