utility

Dependents:   SD

Embed: (wiki syntax)

« Back to documentation index

fat32BootSector Struct Reference

fat32BootSector Struct Reference

Boot sector for a FAT16 or FAT32 volume. More...

#include <FatStructs.h>

Data Fields

uint8_t jmpToBootCode [3]
 X86 jmp to boot program.
char oemName [8]
 informational only - don't depend on it
bpb_t bpb
 BIOS Parameter Block.
uint8_t driveNumber
 for int0x13 use value 0X80 for hard drive
uint8_t reserved1
 used by Windows NT - should be zero for FAT
uint8_t bootSignature
 0X29 if next three fields are valid
uint32_t volumeSerialNumber
 usually generated by combining date and time
char volumeLabel [11]
 should match volume label in root dir
char fileSystemType [8]
 informational only - don't depend on it
uint8_t bootCode [420]
 X86 boot code.
uint8_t bootSectorSig0
 must be 0X55
uint8_t bootSectorSig1
 must be 0XAA

Detailed Description

Boot sector for a FAT16 or FAT32 volume.

Definition at line 249 of file FatStructs.h.


Field Documentation

uint8_t bootCode[420]

X86 boot code.

Definition at line 269 of file FatStructs.h.

uint8_t bootSectorSig0

must be 0X55

Definition at line 271 of file FatStructs.h.

uint8_t bootSectorSig1

must be 0XAA

Definition at line 273 of file FatStructs.h.

uint8_t bootSignature

0X29 if next three fields are valid

Definition at line 261 of file FatStructs.h.

BIOS Parameter Block.

Definition at line 255 of file FatStructs.h.

uint8_t driveNumber

for int0x13 use value 0X80 for hard drive

Definition at line 257 of file FatStructs.h.

char fileSystemType[8]

informational only - don't depend on it

Definition at line 267 of file FatStructs.h.

uint8_t jmpToBootCode[3]

X86 jmp to boot program.

Definition at line 251 of file FatStructs.h.

char oemName[8]

informational only - don't depend on it

Definition at line 253 of file FatStructs.h.

uint8_t reserved1

used by Windows NT - should be zero for FAT

Definition at line 259 of file FatStructs.h.

char volumeLabel[11]

should match volume label in root dir

Definition at line 265 of file FatStructs.h.

usually generated by combining date and time

Definition at line 263 of file FatStructs.h.