6.11
ERASE
ERASE
Request vector:
Logical unit
Request code - lA or IB
Data transfer area - ignored
Length - ignored.
The total number of bytes
deleted is returned.
Completion return address
Error return address
Completion code
Supplemental parameter information - none
Action:
All records of the file are deallocated (their
space is made available), the descriptor
record is deallocated, and the directory entry
for the file is removed from the directory,
thus rendering the file completely
inaccessible.
The file does not have to be
open, but it must have been assigned.
Possible errors:
All DISK ERRORS are possible.
In addition,
PROTECTION (code C3) will be returned by ZDOS
if the file is write- or erase-protected.
NOT
READY (code C2) will be returned if the
specified drive for the file is not loaded and
ready.
FILE NOT FOUND (code C7) - The named file
cannot be located on the drive specified.
Will not occur if the file is open when the
request is given.
- 143 -
Need help?
Do you have a question about the Z80-RIO and is the answer not in the manual?