|
DPB DOS Drive Parameter Block Layout 00h BYTE Drive Number (0=A, 1=B, etc). 01h BYTE Device driver unit number 02h WORD Bytes per sector 04h BYTE Sectors per cluster (zero based) 05h BYTE Shift factor 06h WORD Number of reserved boot sectors 08h BYTE Number of FAT copies 09h WORD Number of root directory entries 0Bh WORD First data sector number 0Dh WORD Highest cluster number plus one DOS 2.xx and 3.xx Only 0Fh BYTE Sectors per FAT (0-255) 10h WORD Root directory starting cluster number 12h DWORD Drive's device driver address 16h BYTE Media descriptor byte 17h BYTE Disk parameter block access flag (FFh=needs rebuild) 18h DWORD Address of next device parameter block DOS 2.xx Only 1Ch WORD Starting cluster number for current directory 1Eh 64 BYTEs ASCIIZ current path DOS 3.xx Only 1Ch WORD Last cluster number allocated from this drive 1Eh WORD Unknown, normally FFFFh DOS 4.xx Only 0Fh WORD Sectors per FAT (0-65535) 11h WORD Root directory starting sector number 13h DWORD Drive's device driver address 17h BYTE Media descriptor byte 18h BYTE Disk parameter block access flag (FFh=needs rebuild) 19h DWORD Address of next device parameter block 1Dh WORD Last cluster number allocated from this drive 1Fh WORD Unknown, normally FFFFh |
|