User`s guide

Upon return, Function 103 returns a Directory Code in register A with the value
zero if the XFCB create or update is successful, or OFFH, 255 decimal, if no directory
label exists on the specified drive, or the file named in the FCB is not found, or no
space exists in the directory to create an XFCB. Function 103 also returns with OFFH
in register A if passwords are not enabled by the referenced directory's label. On
nonbanked systems, this function always returns with register A = OFFH because
passwords are not supported. Register H is set to zero in all of these cases. If a
physical or extended error is encountered, Function 103 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 103 returns to the calling pro-
gram 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
09 ? in filename or filetype field
3-84
BDOS Function Calls CP/M 3 Programmers Guide