6.6
READ BINARY
READ BINARY
Request vector:
Logical unit
Request code - OA or OB
Data transfer area - the address to which data
should be transferred
Length - the number of bytes to transfer.
If this
number is not an integral multiple of the
record size, it will be rounded up until it
is.
On return, this will contain the actual
number of bytes transferred."
Completion return address
Error return address
Completion code
Supplemental parameter information - if the file is
open for random I/O, this field should contain
the address of a three-byte area where the
disk address of the first record read will be
returned.
Otherwise, it is unused.
Action:
Data is read from the file, starting at the
next record, into the data transfer area.
The
pointer is left on the last record read.
If
the file is open for random I/O, the disk
address of the first record read is returned
in the field pointed to by the supplemental
parameter information.
The third byte of
this address will always be zero.
Possible errors:
All DISK ERRORS except PROTECTION (code C3)
are possible.
- 135 -
Need help?
Do you have a question about the Z80-RIO and is the answer not in the manual?
Questions and answers