FAT Offset Algorithm
Posted: Mon Dec 29, 2008 1:42 am
I am trying to load a file from my Floppy into memory. I have everything set up and it works. The only problem I am having is that I don't know how to work out the FAT sector to load when I have the number of the Cluster in the FAT.
ie: I need an algorithm that I can supply the starting cluster number of the file and it gives me the sector of the Disk with that FAT entry in. I tried an algorithm I had but it doesn't work.
ie: I need an algorithm that I can supply the starting cluster number of the file and it gives me the sector of the Disk with that FAT entry in. I tried an algorithm I had but it doesn't work.