Download Print this page

Motorola EXORdisk II User Manual page 326

Advertisement

INPUT/OUTPUT FUNCTIONS
The
IOCB
an error
25.3 -- Device Independent I/O Functions
c
=
0
and Z
=
1
ir no errors occurred
(B
=
0>-
The
remainder
or cc
is
i nd etermi nate.
C
=
1
and
Z
=
0
if an error
occurred
(B
not
zero
>.
The
remainder
of
CC
is
indeterminate.
is
affected
in the folloUJing
manne-r
if
occurred:
IOCSTA
contains
the
er-ror status.
The
following
error
statuses
can
be
returned:
I$CLDS,
I$DTYP,
I$EOF,
I$-5ECB,
I$R-ANG.
IOCMLS1
IOCSDW!
IQCSLS!
IOCLSN,
IOCSBP,
and
lOeSEI
are indeterminate.
The remainder of
the
lOeB
is unchanged.
The
contents
of
the
sector bufrer are
indeterminate.
The lOeB is affected in the following
manner
if
no errors occurred:
loeSTA
=
O.
IOCMLS,
IoeSDW,
and
IOCSLS contain the
system-maintained
parameters
described
in
section
25.3.1.
reflect
the
current
diskette
pointers.
as
They
file
IOCLSN has been incremented by the number
of
sectors
read
into
the
buffer
«IOCSBI-IOCSBS+l'/128).
loeSEP
contains
the
sector
lOCSBS >.
the starting address of
bufrer
(the
same
as
loeSEI
contains
the address
or
the last
valid data byte in the sector buffer.
If
only
a
pa~tial
segment was read
into
the
burrer,
IDCSBI
will
not
be
the
same
as
IOeSBE
(maximum end of
bufrer).
The following
relationship
should
be
used
to
calculate
the
number of sectors read:
IOCSBI-IOCSBS+l
--------------- =
#
SECTORS READ
Page
25-53

Advertisement

loading

This manual is also suitable for:

Exordisk iii