User`s guide

Function 100 also requires that the referenced directory contain SFCBs to activate
date and time stamping on the drive. If an attempt is made to activate date and time
stamping when no SFCBs exist, Function 100 returns an error code of OFFH in
register A and performs no action. The CP/M 3 INITDIR utility initializes a directory
for date and time stamping by placing an SFCB record in every fourth entry of the
directory.
Function 100 returns a Directory Code in register A with the value 0 if the direc-
tory label create or update is successful, or OFFH, 255 decimal, if no space exists in
the referenced directory to create a directory label, or if date and time stamping was
requested and the referenced directory did not contain SFCBS. Register H is set to
zero in both of these cases. If a physical error or extended error is encountered,
Function 100 performs different actions depending on the BDOS error mode (see
Function 45). If the BDOS error mode is the default mode, a message identifying the
error is displayed at the console and the calling program is terminated. Otherwise,
Function 100 returns to the calling program with register A set to OFFH and register
H set to one of the following physical or extended error codes:
01 Disk I/O error
02 Read-Only disk
04 Invalid drive error
07 File password error
3-79
BDOS Function Calls CP/M 3 Programmers Guide