Changes

Jump to navigation Jump to search
75 bytes added ,  11:41, 10 June 2010
no edit summary
| 2
| feff
| Byte-order-marker?(magic value, never checked by code)
|-
| 6
| 2
| 0100
| ? (2's complement of previous length field ?never checked by code)
|-
| 8
|}
Following the header is two FATs, which are FAT12/FAT16(depending on total volume size). Each FAT size is determined by the below algo. The format of the FAT is not regular FAT16, there's unknown flags and values, so it's currently not possible to process cluster chains. Following the FATs is the root [http://en.wikipedia.org/wiki/File_Allocation_Table#Directory_table directory] cluster, 0x1000 bytes long. Following the root cluster is the data "clusters". The data "clusters" have are 0x200 bytes long each. The size of the FAT is determined by the following algorithm:
u32 WC24_GetVFF_FATSize(u32 filesize)
{

Navigation menu