User`s guide

BDOS FUNCTION 102: READ FILE DATE STAMPS
AND PASSWORD MODE
Entry Parameters:
Registers C: 66H
DE: FCB Address
Returned Value:
Registers A: Directory Code
H: Physical Error
Function 102 returns the date and time stamp information and password mode for
the specified file in byte 12 and bytes 24 through 32 of the specified FCB. The calling
program passes in register pair DE, the address of an FCB in which the drive, file-
name, and filetype fields have been defined.
If Function 102 is successful, it sets the following fields in the referenced FCB:
byte 12 : Password mode field
bit 7 - Read mode
bit 6 - Write mode
bit 4 - Delete mode
Byte 12 equal to zero indicates the file has not been assigned a password. In non-
banked systems, byte 12 is always set to zero.
byte 24 - 27 Create or Access time stamp field
byte 28 - 31 Update time stamp field
The date stamp fields are set to binary zeros if a stamp has not been made. The
format of the time stamp fields is the same as the format of the date and time
structure described in Function 104.
3-81
BDOS Function Calls CP/M 3 Programmers Guide