User`s guide
BDOS FUNCTION 101: RETURN DIRECTORY
LABEL DATA
Entry Parameters:
Registers C: 65H
E: Drive
Returned Value:
Registers A: Directory Label
Data Byte
H: Physical Error
The Return Directory Label Data function returns the data byte of the directory
label for the specified drive. The calling program passes the drive number in register
E with 0 for drive A, 1 for drive B, and so on through 15 for drive P in a full sixteen
drive system. The format of the directory label data byte is shown below:
bit 7 - Require passwords for password protected files
6 - Perform access date and time stamping
5 - Perform update date and time stamping
4 - Perform create date and time stamping
0 - Directory label exists on drive
Function 101 returns the directory label data byte to the calling program in register
A. Register A equal to zero indicates that no directory label exists on the specified
drive. If a physical error is encountered by Function 101 when the BDOS Error mode
is in one of the return modes (see Function 45), this function returns with register A
set to OFFH, 25S decimal, and register H set to one of the following:
01 Disk I/O error
04 Invalid drive error
3-80
BDOS Function Calls CP/M 3 Programmers Guide