Hey all, I did what you all told me, and searched the Internet for information on FAT12 Bootloaders, and found this website:
http://www.omninerd.com/2005/11/05/articles/40
The guy is checking to see if we have reached the end of a file, with the number: 0x0FF0.
Trying his code, My kernel is found, but crazy **** happens and it just dies, even though the Kernel im trying to load is a 512 byte Assembler program that simply halts the system.
Anywho, After poking about on the Floppydisk with a Hex editor, Ive fuond... that the end of the file is marked by the Hexidecimal number 0x0A
Is that guys tutorial wrong? or am I wrong?
*scratches head* hmm.
~Zeii.[font=Verdana][/font]
I believe ive found a bug?
Re:I believe ive found a bug?
The FAT table links sectors. When a file ends, there's no more "next sector". It's then indicated by using a 0xFF0 (in FAT12) that the file has ended.