Page 1 of 1

BootLoader

Posted: Mon Jun 27, 2005 11:00 pm
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.

Re: BootLoader

Posted: Wed Jun 29, 2005 11:00 pm
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 ;) )

Re: BootLoader

Posted: Wed Jun 29, 2005 11:00 pm
by Cjmovie
Usually you use BIOS disk routines to load it their from a floppy, hard drive, etc.