DOS Fn 32H: Get DPB (Drive Parameter Block)
Compatibility: 2.0+
Expects: AH 32H
DL drive number (0=default, 1=A, etc.)
──────────────────────────────────────────────────────────────────
Returns: AL 0 if DL was a valid drive
0ffH if invalid drive
DS:BX address of Drive Parameter Block (DPB) for requested drive
──────────────────────────────────────────────────────────────────
Info: Returns a block of information that is useful for utilities which
perform sector-level access of disk drives supported by device
drivers.
Some disk drives (especially non-bootable drives) work via their
device driver interface only. These drives might not contain
valid information in the Boot Sector and Partition Table, making
it very hard to locate, for instance, the size of the root
directory or the number of FATs, etc. The DPBRec contains all
this information in a nicely-formatted structure.
This may be the only way to find the address of a device driver.
Warning: ■ Alters the value of the DS segment register.
See Also: Fn 1fH (get DPB, default disk)
Drive Parameter Block
INT 25H/26H (absolute disk I/O)
Disk Drive Functions
DOS Functions
-♦-