Re:Seek 4 Help!!!
Posted: Sun Jun 11, 2006 1:50 pm
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..
@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..