User`s guide
BDOS FUNCTION 31: GET ADDR(DPB PARMS)
Entry Parameters:
Register C: 1FH
Returned Value:
Register HL: DPB Address
Function 31 returns in register pair HL the address of the BIOS-resident Disk
Parameter Block, DPB, for the currently selected drive. (Refer to the CP/M Plus
(CP/M Version 3) Operating System System Guide for the format of the DPB). The
calling program can use this address to extract the disk parameter values.
If a physical error is encountered when the BDOS error mode is one of the return
modes (see Function 45), Function 31 returns the value OFFFFH in the register pair
HL.
3-46
BDOS Function Calls CP/M 3 Programmers Guide