FAT12 example code

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
anon19287473
Member
Member
Posts: 97
Joined: Thu Mar 15, 2007 2:27 pm

FAT12 example code

Post by anon19287473 »

I'm writing a bootloader for my OS (GRUB wasn't worth the trouble), and i need some real mode example code (preferably NASM) for FAT12 (dir function + file reading type stuff). I can't find any good example code (which I perfer to straight up documentation, i guess i understand it in code better than english lol. you can pick apart the code, play with it, helps me learn :) ). Thanks in advance.
jzgriffin
Member
Member
Posts: 190
Joined: Tue Sep 26, 2006 1:40 pm
Libera.chat IRC: Nokurn
Location: Ontario, CA, USA
Contact:

Post by jzgriffin »

Mr. John S. Fine's bootf02 boot sector for 32-bit protected mode operating systems on FAT12 file systems: http://my.execpc.com/~geezer/johnfine/

jloc is also there, and you need that to build bootf02 (for "picking it apart.")

Good luck :-)
Post Reply