-
Notifications
You must be signed in to change notification settings - Fork 0
/
FAT32HEADERS_ADDR.INC
28 lines (28 loc) · 1.2 KB
/
FAT32HEADERS_ADDR.INC
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
%DEFINE FAT32_HEADERBASE 0X7C00
%DEFINE BS_JMPBOOT (FAT32_HEADERBASE+0)
%DEFINE BS_OEMNAME (FAT32_HEADERBASE+3)
%DEFINE BPB_BYTSPERSEC (FAT32_HEADERBASE + 11)
%DEFINE BPB_SECPERCLUS (FAT32_HEADERBASE + 13)
%DEFINE BPB_RESVDSECCNT (FAT32_HEADERBASE + 14)
%DEFINE BPB_NUMFATS (FAT32_HEADERBASE + 16)
%DEFINE BPB_ROOTENTCNT (FAT32_HEADERBASE + 17)
%DEFINE BPB_TOTSEC16 (FAT32_HEADERBASE + 19)
%DEFINE BPB_MEDIA (FAT32_HEADERBASE + 21)
%DEFINE BPB_FATSZ16 (FAT32_HEADERBASE + 22)
%DEFINE BPB_SECPERTRK (FAT32_HEADERBASE + 24)
%DEFINE BPB_NUMHEADS (FAT32_HEADERBASE + 26)
%DEFINE BPB_HIDDSEC (FAT32_HEADERBASE + 28)
%DEFINE BPB_TOTSEC32 (FAT32_HEADERBASE + 32)
%DEFINE BPB_FATSZ32 (FAT32_HEADERBASE + 36)
%DEFINE BPB_EXTFLAGS (FAT32_HEADERBASE + 40)
%DEFINE BPB_FSVER (FAT32_HEADERBASE + 42)
%DEFINE BPB_ROOTCLUS (FAT32_HEADERBASE + 44)
%DEFINE BPB_FSINFO (FAT32_HEADERBASE + 48)
%DEFINE BPB_BKBOOTSEC (FAT32_HEADERBASE + 50)
%DEFINE BPB_RESERVED (FAT32_HEADERBASE + 52)
%DEFINE BS_DRVNUM (FAT32_HEADERBASE + 64)
%DEFINE BS_RESERVED1 (FAT32_HEADERBASE + 65)
%DEFINE BS_BOOTSIG (FAT32_HEADERBASE + 66)
%DEFINE BS_VOLID (FAT32_HEADERBASE + 67)
%DEFINE BS_VOLLAB (FAT32_HEADERBASE + 71)
%DEFINE BS_FILSYSTYPE (FAT32_HEADERBASE + 82)