Download Print this page

Motorola EXORdisk II User Manual page 314

Advertisement

INPUT/OUTPUT FUNCTIONS
25.3 -- Device Independent I/O Functions
ind etermi nate.
C = 1 . and
Z
=
0
if
an error
occurred
(B
not zero).
The remainder
of
CC
is
in de term i na
t
e.
The
IOCB
is affected in the following manner if
an error occurred:
IOCSTA
~ontains
the
error
status.
The
following
error
statuses
can
be
returned:
I$BUFO,
I$CKSM,
ISCLOS,
I$DTYP,
I$EOF,
I$FTYP,
I$EOM,
I$NRDY,
I $RANG,
ISSECB.
IOCDBP is indeterminate.
IOCMLS,
IOCSDW,
IOCSLS,
IOCLSN,
IOCSBP,
and
IOCSEI
are
indeterminate if the
device
type
is
DK.
Other~ise,
IOCNAM.
lOeSBP,
and
IOCSBI
are
unchanged.
The remainder of the IOCB is unchanged . .
If
a
bur~er
ove~~low
error
occurred
(lOCSTA
=
I$BUFO),
then the last data
character
of
the
record
(carriage
return) will be the last character of
the
bur-Fer.
The first "n" .characters
(n
being the size of the data buffer
minus one) of the record are
intact.
If
Otherwise,
the
contents of the data
buffer are indeterminate.
the
device
contents
of
type
the
indeterminate.
is
DK,
sector
then
the
buffer
are
The IOCB is affected in the following
manner
if
no errors occurred:
IOCSTA =
O.
IOCDTT
has
the I/O transfer flag set to
indicate
input
(IO
=
10).
The
remainder of IOCDTT is unchanged.
lOCDBP
contains
the address of the last
character read into the input buffer.
lOCMLS,
lOeSDW,
IDCSLS,
rOCLSN,
lOCEOF,
IOeSBP,
and
IOeSBI
contain
the
system-maintained
parameters
as
Page
25-41

Advertisement

loading

This manual is also suitable for:

Exordisk iii