rdos/inc/bpb.asm
Nero ca3eebd692 Remove fields from BPB that are EBPB actually
This is just a trick so i can use bpb_size in the kernel later,
omitting things that are not relevant to interfacing the FS.
2020-10-15 20:20:17 +00:00

15 lines
538 B
NASM

struc bpb
.sectorsize: resw 1 ; WORD sector size
.clustersects: resb 1 ; BYTE sector / cluster
.reservedsects: resw 1 ; WORD reserved sector count
.fatnumber: resb 1 ; BYTE fat number
.direntries: resw 1 ; WORD root dir entries
.total: resw 1 ; WORD total sectors
.mediadesc: resb 1 ; BYTE media descriptor
.fatsectors: resw 1 ; WORD sectors / fat
.tracksectors: resw 1 ; WORD sectors per track
.heads: resw 1 ; WORD number of sides
.sectoroffset: resd 1 ; DWORD partition offset
.longtotal: resd 1 ; DWORD large total sectors
endstruc