Need help getting past bootload.asm
Posted: Thu Aug 09, 2007 5:36 am
Hi,
I've been able to create a bootloader using the "Hello World" bootloader tutorial on osdever.net, however, I can't figure out how to make the bootloader load the kernel. I want to write the kernel in C++, but obviously I can't assemble it all into the bootload.bin file that will go on the first 512 bytes of the floppy cause it won't all fit in 512 bytes . So my questions are:
1. How do I compile C++ code into .bin (or whatever I need)?
2. How do I put that on the floppy and start it from the bootloader?
Thanks.
I've been able to create a bootloader using the "Hello World" bootloader tutorial on osdever.net, however, I can't figure out how to make the bootloader load the kernel. I want to write the kernel in C++, but obviously I can't assemble it all into the bootload.bin file that will go on the first 512 bytes of the floppy cause it won't all fit in 512 bytes . So my questions are:
1. How do I compile C++ code into .bin (or whatever I need)?
2. How do I put that on the floppy and start it from the bootloader?
Thanks.