I have created a bootsector that loads a bootstrap and I want the bootstrap to load my C kernel.
I have thought of two way to do this and I was wondering which is the best way to go?
1. Have the bootstrap load a third file which in turn loads the C kernel. My main problem is how do I compile these files together. Do I assemble the boot files and then compile and link the C kernel with the third file?
2. Have the bootstrap load the C kernel. My main problem is how do I jump to my C kernel. Also how would I assemble, compile and link my files.
By the way, Im using NASM, GCC, and LD.
Thanks for the help in advance!