FAT12

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
chris

FAT12

Post by chris »

In my boot sectors BPB, how am I supposed to know what reasonable values are for things like BPB_SecPerClus or BPB_RsvdSecCnt? All I'm going to be using the file system for is my second stage and kernel.

Also, what do I need to read off the floppy and interpret to find my files? I understand there is a reserved region for the boot sector, a FAT region, a root directory region, and a data section. What has what in it (besides the obvious data section)? What format do the entries have?

I read the FAQ and some of the FAT spec but I'm kind of confused here...
ASHLEY4

Re:FAT12

Post by ASHLEY4 »

Go here and get "bootprog.zip" great program in nasm, which is well commented and will give you all the info you need.
http://alexfru.chat.ru/epm.html

\\\\||////
(@@)
ASHLEY4.
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Re:FAT12

Post by Neo »

My bootloader. May be useful,(its quite easy to read and understand).
get it here
Only Human
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:FAT12

Post by Candy »

the FAT file system specification from Microsoft?

Hint: google for "FAT file system specification microsoft" and take the .doc link from microsoft.com.
Post Reply