Seek 4 Help!!!

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.
viral

Re:Seek 4 Help!!!

Post by viral »

Hello..

@voonwah: plz give proper title to your post. not like "Help ME!!!" but like "Fat12 Howto"...

i guess the thread is getting hotter.. so directly comming to the point..

As u have floppy driver working in ur OS, u can definatly read some sectors from it. So first try to read documents on Fat from OSFAQ. Then u'll have idea about its structure, like
1st Sector will be Boot Sector
2nd onwards , FAT table
xx , FAT table 2nd copy
yy, ROOT directory
zz, Data blocks

Then u'll have idea about the directory structure:

Filename(8.3) | Attribute(1) |...| Date | Time | Cluster No

In Fat12 each directory entry is 32 bytes long.. so u have to read 32-32 bytes from directory page(sector) and just print those info on screen..

This is just a basic.. you can definatly have functions like:
opendir, readdir, closedir..
Post Reply