[an error occurred while processing this directive]
|
class FileSysFat: public FileSystem0
{
//
#pragma pack(1)
union BootSector
{
struct
{
//
uint8_t m_jumpCode[3];
char m_oemName[8];
uint16_t m_bytePerSector;
uint8_t m_sectorPerCluster;
uint16_t m_reservSectorCount;
uint8_t m_countFat;
uint16_t m_countRootEntry;
uint16_t m_totalSector16;
uint8_t m_media;
uint16_t m_sizeFat16;
uint16_t m_sectorPerTrack;
uint16_t m_countHeads;
uint32_t m_countHiddenSectors;
uint32_t m_totalSector32;
и так далее, а потом я хочу в функцию uint16_t GetFatCount (uint8_t *pcount) передать (uint8_t *) &moй_прочитанный_фат.m_countFat
И весь день так просидела :-( Раньше все это работало на меге128, но там нет таких проблем
Составить ответ ||| Конференция ||| Архив
Ответы
E-mail: info@telesys.ru