Download Print this page

Motorola EXORdisk II User Manual page 328

Advertisement

INPUT/OUTPUT FUNCTIONS
EXIT CONDITIONS:
25.3 -- Device Independent I/O Functions
rile
has
been
opened,
then
IOCSBS,
lOeSBE,
and
IOeSBI
must be changed by
the
calling program.
IOCSBE
is
not
used
during
the .PUTLS
functioni
however,
it should not have
been
changed
since
the
file
was
opened
(with
restrictions
mentioned
ab ove ror
IOCSBS).
loeSBI
must
contain
the address
or
the
last data byte to
be
written
rrom
the
sector bufrer.
The sector
burrer,
as
described
b~
IOCSBS
and
IoeSBl,
must
be
an
integ~al
number of sectors in
s
i
z
t?
(s e e sec
t
ion
25. 3. 1. 20 L
A is indeterminate.
B - The contents of the IOeSTA entry.
If
no
errors
occurred,
B will
be zero.
A non-zero value
indicates
that
an
error
occurred.
x
fs
unc hanged.
C
=
0
and Z = 1 if 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 z e r
0
>.
Th e r ema in del'
0
fCC
i s
indetermi nate.
The
IOCB
is affected in the following manner if
an error occurred:
IOCSTA contains the
error
status.
The
following
error
statuses
can
be
returned:
ISCLOS,
I SDVTP ,
ISSECB,
ISRANG,
I$RIB,
iSFSPC, ISSSPC.
IOCMLS,
IDCSDW,
IOCSLS,
IOCLSN,
IOCEOF,
IOCSBP, and IDCSBI are indeterminate.
The
remainder
or
the
IOCB
contents
of
the
sector
unc h.ang ed.
and
the
buffer are
The IOCB is affected in the following
manner
if
no errors occurred:
IOCSTA
=
O.
Page
25-55

Advertisement

loading

This manual is also suitable for:

Exordisk iii