rdos/hdr/bpb.asm

13 lines
520 B
NASM
Raw Normal View History

2019-10-30 14:10:23 +01:00
; BPB from first sector on FAT fs, starting 0x0B
BPB_SS: EQU 0 ; WORD sector size
BPB_SC: EQU 2 ; BYTE sectors per cluster
BPB_RSC: EQU 3 ; WORD reserved sector count
BPB_FN: EQU 5 ; BYTE number of FATs
BPB_RDE: EQU 6 ; WORD number of root directory entries
BPB_TS: EQU 8 ; WORD total number of sectors
BPB_MI: EQU 10 ; BYTE medium identifier
BPB_SF: EQU 11 ; WORD sectors per FAT
BPB_SPT: EQU 13 ; WORD sectors per track
BPB_NOS: EQU 15 ; WORD number of sides/heads
BPB_PO: EQU 17 ; DWORD partition offset