COSA
An Object-Oriented Platform for Arduino Programming
FAT16::fbs_t Struct Reference

#include <FAT16.hh>

Collaboration diagram for FAT16::fbs_t:
Collaboration graph

Public Attributes

uint8_t jmpToBootCode [3]
 
char oemName [8]
 
bpb_t bpb
 
uint8_t driveNumber
 
uint8_t reserved1
 
uint8_t bootSignature
 
uint32_t volumeSerialNumber
 
char volumeLabel [11]
 
char fileSystemType [8]
 
uint8_t bootCode [420]
 
uint8_t bootSectorSig0
 
uint8_t bootSectorSig1
 

Detailed Description

Boot sector for a FAT16 or FAT32 volume.

Definition at line 268 of file FAT16.hh.

Member Data Documentation

uint8_t FAT16::fbs_t::bootCode[420]

X86 boot code

Definition at line 308 of file FAT16.hh.

uint8_t FAT16::fbs_t::bootSectorSig0

Must be 0X55

Definition at line 312 of file FAT16.hh.

uint8_t FAT16::fbs_t::bootSectorSig1

Must be 0XAA

Definition at line 316 of file FAT16.hh.

uint8_t FAT16::fbs_t::bootSignature

0X29 if next three fields are valid

Definition at line 292 of file FAT16.hh.

bpb_t FAT16::fbs_t::bpb

BIOS Parameter Block

Definition at line 280 of file FAT16.hh.

uint8_t FAT16::fbs_t::driveNumber

For int0x13 use value 0X80 for hard drive

Definition at line 284 of file FAT16.hh.

char FAT16::fbs_t::fileSystemType[8]

Informational only - don't depend on it

Definition at line 304 of file FAT16.hh.

uint8_t FAT16::fbs_t::jmpToBootCode[3]

X86 jmp to boot program

Definition at line 272 of file FAT16.hh.

char FAT16::fbs_t::oemName[8]

Informational only - don't depend on it

Definition at line 276 of file FAT16.hh.

uint8_t FAT16::fbs_t::reserved1

Used by Windows NT - should be zero for FAT

Definition at line 288 of file FAT16.hh.

char FAT16::fbs_t::volumeLabel[11]

Should match volume label in root dir

Definition at line 300 of file FAT16.hh.

uint32_t FAT16::fbs_t::volumeSerialNumber

Usually generated by combining date and time

Definition at line 296 of file FAT16.hh.


The documentation for this struct was generated from the following file: