Download Print this page

Motorola EXORdisk II User Manual page 330

Advertisement

INPUT/OUTPUT FUNCTIONS
EXIT CONDITIONS:
25.3 -- Device Independent
1/0
Functions
sectors
in
25.3. 1.20),
size
This
(see
buffer
section
does
not
necessa~ily
have to be the
same
one
used
to
open
the file; however.
if
the sector
buffer
is
to
be
moved
after
a
file
has been opened, then
IOeSBS,
IOeSBE, and
IOeSEI
must
be
changed
by the .calling program.
IOCSBE
must
contain
the address of the
last byte of a
sector
buffer.
The
sector
buffer
must
be
an integral
number
of
sectors
in
size
(see
section
25.3. 1.20).
A
is indeterminate.
B
=
The contents
of
the
IOeSTA
entry.
If
no err
0
r
soc cur red.1
B uli l I b
e
z
e r
0 .
A
non-zero
value
indicates that an
error occurred.
X
is unchanged.
C - 0 and Z
=
1
if'
no errors occurred
(B
=
0 ) .
The
r e rna i n de,..
0
of
C
C i s
indeterminate.
C
=
1 and Z
=
0 if an error
occurred
(B
not
zero).
The
T'emainder of
CC
is
i
nd etermi nate.
The IaCB is affected in the following
manner
if
an error occurred:
IOCSTA
c onta ins
the
error status.
Th
e
same error statuses can
be
returned
as
those that can be returned by the
. OPEN and . CLOSE functions.
IOCMLS,
IOCSDW,
IOeSLS,
IOCLSN,
IOCEOF,
IOCSBP, and IOCSEI are indeterminate.
The remainder of the
lOeB
is unchanged.
The
contents
of
the
sector burfer are
indeterminate.
The
lOCB is arrected in the following
manner
if
no errors occurred:
IOCSTA
=
O.
IOCDTT
has
th e liT" bit set to zero.
If
Page
25-57

Advertisement

loading

This manual is also suitable for:

Exordisk iii