X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FFilesystems%2FFAT%2Ffs_fat.h;h=99c82df3ccc7c414bcf79230386c70091a310dd8;hb=602e716a162d6f429235d09310bc71f4434f20f8;hp=84eee1d94b6173f480c5cb55bcae588719745b79;hpb=923a9dc473851ec2bb1c94021bbf139724e7e8a5;p=tpg%2Facess2.git diff --git a/Modules/Filesystems/FAT/fs_fat.h b/Modules/Filesystems/FAT/fs_fat.h index 84eee1d9..99c82df3 100644 --- a/Modules/Filesystems/FAT/fs_fat.h +++ b/Modules/Filesystems/FAT/fs_fat.h @@ -18,11 +18,13 @@ struct fat_bootsect_s Uint16 bps; //!< Bytes per Sector. Assumed to be 512 Uint8 spc; //!< Sectors per Cluster Uint16 resvSectCount; //!< Number of reserved sectors at beginning of volume + // +0x10 Uint8 fatCount; //!< Number of copies of the FAT Uint16 files_in_root; //!< Count of files in the root directory Uint16 totalSect16; //!< Total sector count (FAT12/16) Uint8 mediaDesc; //!< Media Desctiptor Uint16 fatSz16; //!< FAT Size (FAT12/16) + // +0x18 Uint16 spt; //!< Sectors per track. Ignored (Acess uses LBA) Uint16 heads; //!< Heads. Ignored (Acess uses LBA) Uint32 hiddenCount; //!< ??? @@ -66,7 +68,7 @@ struct fat_filetable_s { Uint8 ctimems; //!< 10ths of a second ranging from 0-199 (2 seconds) Uint16 ctime; //!< Creation Time Uint16 cdate; //!< Creation Date - Uint16 adate; //!< Accessed Data. No Time feild though + Uint16 adate; //!< Accessed Date. No Time feild though Uint16 clusterHi; //!< High Cluster. 0 for FAT12 and FAT16 Uint16 mtime; //!< Last Modified Time Uint16 mdate; //!< Last Modified Date @@ -75,9 +77,9 @@ struct fat_filetable_s { } __attribute__((packed)); /** - \struct fat_longfilename_s - \brief Format of a long file name entry on disk -*/ + * \struct fat_longfilename_s + * \brief Format of a long file name entry on disk + */ struct fat_longfilename_s { Uint8 id; //!< ID of entry. Bit 6 is set for last entry Uint16 name1[5]; //!< 5 characters of name