Function 33 (Read Random) Error Codes - NEC CP/M-86 System Reference Manual

Advanced personal computer
Table of Contents

Advertisement

Basic Disk Operating System (BDOS) Functions
Table 4-4 Function 33 (Read Random) Error Codes
CODE
01
02
03
04
05
06
MEANING
Reading unwritten data -
Random read operation
accesses a data block which has not been previously
written.
(not returned by the Random Read command)
Cannot close current extent - The BDOS cannot close
the current extent prior to moving to the new extent
containing the record specified by bytes rO, r I of the FCB.
This error can be caused by an overwritten FCB or a read
random operation on an FCB that has not been opened.
Seek to unwritten extent -
Random read operation
accesses an extent that has not been created. This error
situation is equivalent to error 0 I.
(not returned by the Random Read command)
Random record number out of range -
Byte r2 of the
FCB is non-zero.
Normally, non-zero return codes can be treated as missing data. Zero return codes
indicate that the operation completed successfully.
WRITE RANDOM
ENTRY
CL: 22H
DX: FCB
Offset
RETURN
FUNCTION
34
AL: Return Code
WRITE RANDOM
4-25

Advertisement

Table of Contents
loading

Table of Contents