FAT12 FAT question
Posted: Tue Dec 16, 2008 1:56 pm
Hello. I'm writting a FAT12 load file function. Up to now I could load a 512 byte file. But to load a bigger file, I have to use the FAT. I read many bootsectors and FAT12 specifications, and have some questions:
This is a table I made:
[/size]
I read that if I load the first word, I get the whole first cluster and a part of the second, which is correct. But I also read that if I load the second word, I get a part of the first and the whole second cluster. My table shows that I get only a part of the second cluster and a part of the third cluster. Really I don't understand.
Thank you
This is a table I made:
Code: Select all
87654321 87654321 87654321 87654321
[ 1 ]
[ 2 ]
[ 3 ] [ 4 ]
1: The First Cluster
2: The Second Cluster
3: The First Word
4: The Second Word
I read that if I load the first word, I get the whole first cluster and a part of the second, which is correct. But I also read that if I load the second word, I get a part of the first and the whole second cluster. My table shows that I get only a part of the second cluster and a part of the third cluster. Really I don't understand.
Thank you