Uint16 bps; //!< Bytes per Sector. Assumed to be 512\r
Uint8 spc; //!< Sectors per Cluster\r
Uint16 resvSectCount; //!< Number of reserved sectors at beginning of volume\r
+ // +0x10\r
Uint8 fatCount; //!< Number of copies of the FAT\r
Uint16 files_in_root; //!< Count of files in the root directory\r
Uint16 totalSect16; //!< Total sector count (FAT12/16)\r
Uint8 mediaDesc; //!< Media Desctiptor\r
Uint16 fatSz16; //!< FAT Size (FAT12/16)\r
+ // +0x18\r
Uint16 spt; //!< Sectors per track. Ignored (Acess uses LBA)\r
Uint16 heads; //!< Heads. Ignored (Acess uses LBA)\r
Uint32 hiddenCount; //!< ???\r
Uint8 ctimems; //!< 10ths of a second ranging from 0-199 (2 seconds)\r
Uint16 ctime; //!< Creation Time\r
Uint16 cdate; //!< Creation Date\r
- Uint16 adate; //!< Accessed Data. No Time feild though\r
+ Uint16 adate; //!< Accessed Date. No Time feild though\r
Uint16 clusterHi; //!< High Cluster. 0 for FAT12 and FAT16\r
Uint16 mtime; //!< Last Modified Time\r
Uint16 mdate; //!< Last Modified Date\r
} __attribute__((packed));\r
\r
/**\r
- \struct fat_longfilename_s\r
- \brief Format of a long file name entry on disk\r
-*/\r
+ * \struct fat_longfilename_s\r
+ * \brief Format of a long file name entry on disk\r
+ */\r
struct fat_longfilename_s {\r
Uint8 id; //!< ID of entry. Bit 6 is set for last entry\r
Uint16 name1[5]; //!< 5 characters of name\r
int fileHandle; //!< File Handle\r
int type; //!< FAT Type. See eFatType\r
char name[12]; //!< Volume Name (With NULL Terminator)\r
- tSpinlock lFAT; //!< Lock to prevent double-writing to the FAT\r
+ tMutex lFAT; //!< Lock to prevent double-writing to the FAT\r
Uint32 firstDataSect; //!< First data sector\r
Uint32 rootOffset; //!< Root Offset (clusters)\r
Uint32 ClusterCount; //!< Total Cluster Count\r