Bootstrapping/Bootloading

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
Jimferd

Bootstrapping/Bootloading

Post by Jimferd »

Hi,
I want to write a bootstrap to load my bootloader to boot my kernel from a floppy... My assembly is marginal... I would also like to boot into protected mode and have multiboot goodness so that I dont have to keep writing this!
Also, this is my second time writing this post because of the stupid question thingy. If I omitted anything, or if you can help in any way, do a favor and email me or post. My email is [email protected].
Thanks
Jimferd
Tom

Re:Bootstrapping/Bootloading

Post by Tom »

Hi, my FritzOS boots up, sets graphics mode 320x320x256 and enters Pmode. It's at www.sourceforge.net/projects/fritzos. Download Prekernel0-2.zip and decompress it

you need to have NASM.

to make it on linux, type:
nasm -f bin -o asmkernel.bin asmkernel.asm
dd if=asmkernel.bin of=/dev/fd0

to make it on windows type:
nasmw -f bin -o asmkernel.bin asmkernel.asm
( you need rawrite to put it on a floppy ).
Post Reply