Re: Copying kernel to a floppy without a filesystem?
Posted: Fri May 16, 2014 12:48 am
This is done by what your topic says code.google.com/p/mytos
First compile the kernle(e.g. boot.bin,kernel.bin),and write a main program to read this 2 file ,write into a new file floppy.img(1.44M). You can control where the 2 bin file locate in the floppy file,and correspoding the boot program should also use this structure to load the kernel.
First compile the kernle(e.g. boot.bin,kernel.bin),and write a main program to read this 2 file ,write into a new file floppy.img(1.44M). You can control where the 2 bin file locate in the floppy file,and correspoding the boot program should also use this structure to load the kernel.