Root Directory

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
Berry

Root Directory

Post by Berry »

Hellow,

where on the diskette (Fat 12) can I find the root directory
I thougt: bootsector + fat1 + fat 2 = 19 clusters = 19 sectors =
head 1
track 0
cluster 2
counts for 14 sectors
but that doesnt seem to do...

where is it?
ChZ

RE:Root Directory

Post by ChZ »

Don't try to calculate it by hand, use the fat header.
(sectors_per_fat * number_of_fats) + reserved_sectors = first sector of root directory
RodrigoFagner

RE:Root Directory

Post by RodrigoFagner »

and the as ChZ says you can use a lbatochs, chstolba to do that as easy as reading a small child´s book! :-) if you want i was doing that with pascal BP7 with(ou) tasm ! just ask me ! [email protected]
Berry

RE:Root Directory

Post by Berry »

Ok, thank you :)
Post Reply