Download Print this page

Motorola EXORdisk II User Manual page 310

Advertisement

INPUT/OUTPUT
FUNCTIONS
EXIT CONDITIONS:
25.3 -- Device Independent I/O Functions
ins
i
z e (s e e sec t ion 25. 3.
1.
20
>.
IoeSBE
mu~t
contain the
address
of
the"
last
b~te
of
a
sector buffer only
if
the device type is
DK.
The
sector
bUTTer
must be an integral number of
sectors
in
size
(see
section
25. 3. 1. 20
>.
A
is indeterminate.
13
=
The contents
of the IOCSTA entT'Y.
If
no errors occurred,
B
usill
be
zero.
A
non-zero
value
indicates that an
error oc curT' ed.
X
is
unchanged.
C
=
0 and Z = 1 if no errors
occu~red
(B
=
0).
The
remainder
of
CC
is
i
nd etermi nate.
C
=
1 and Z
=
0 if an
e~ror
occurred
(B
not
zero>.
The
remainder of
CC
is
indeterminate.
The lOCB is affected in the following
manner
if
an error occurred:
IoeSTA
contains
the
error status.
The
follo~ing
error
statuses
can
be
returned:
ISCKSM,
I$CLOS,
ISDSPC,
!SDTYP,
ISDUPE,
I$EOF,
!SFSPC,
!$FTYP,
I$EOM,
I$IVDV,
!$NONM,
ISNORV,
!$NRDY,
ISRIB,
I$WRIT.
The
remainder
of
the
IOCB
and
the
contents
of
the
data
buffer
(non-diskette device) and the
sector
buFfer
(diskette
device)
are
i nd etermi nate.
The IOCB is affected in the following
manner
if
no errors occurred:
IOCSTA
=
O.
IOCDTT
has the
"0" bit
set to zero ('ile
open).
The
itT"
bit
~ill
have
been
set
to
one
if a new
'ile
had to be
created on the
diskette.
The
"10"
bits
are
indeterminate.
The
remainder
or
IOCDTr
is
not changed.
Page
25-37

Advertisement

loading

This manual is also suitable for:

Exordisk iii