BootLoader

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
njkt
Posts: 9
Joined: Sun Oct 24, 2004 11:00 pm

BootLoader

Post by njkt »

Hello,
I was thinking of working on a bootloader (as a fun side project) and I was wondering how do you load the kernel?

The project is in C (yeah I realize the bootsector stuff needs to be in asm and that is no problem at all) and it's just a simple floppy disk bootloader (booting a kernel on a floppy i guess) but I dont know how this would be done.

any help would be great thanks.
njkt
Posts: 9
Joined: Sun Oct 24, 2004 11:00 pm

Re: BootLoader

Post by njkt »

*update*
after looking through freebsd's bootloader I really only have one question... how does the kernel get put into a certain memory block? (such as 8000:0000h to name one ;) )
Cjmovie
Posts: 4
Joined: Wed Jun 29, 2005 11:00 pm

Re: BootLoader

Post by Cjmovie »

Usually you use BIOS disk routines to load it their from a floppy, hard drive, etc.
Post Reply