Boot Loading Process

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
DRF

Boot Loading Process

Post by DRF »

I've spent months looking around the osdev area and trying to understand it.
Now I've finally decided to try and start writing some code of my own.

Well I'm starting by making a bootloader, so far I have it putting a message on the screen and setting up the stack, and data registers.

It is a two part boot loader, the first part runs the code in the next sector of the floppy.

But anyhows now I have the basic template setup I'm trying to work out how to implement
a) fat12 file system
(For which there is a lot of technical information but I can't find much about how to use it practically)
b) pmode
(Which is better documented but still gets me a little confuzzled)

So I was hoping one of you could point me in the right direction with a link to a tutorial or some hints.

Thanks in advance

Daniel
Khumba

RE:Boot Loading Process

Post by Khumba »

For pmode, try here: http://www.nondot.org/sabre/os/articles/ProtectedMode/
The first one "Protected Mode Tutorial" (PMTUT.txt), helped me out a ton, after I skipped past the "Getting Started" section (searching for a 386+).
Post Reply