Download Print this page

Motorola EXORdisk II User Manual page 317

Advertisement

INPUT/OUTPUT FUNCTIONS
25.3 -- Device Independent 1/0 Functions
The IOCB
is
affected
in
the following
manner
if
an error occurred:
IOCSTA
contains
the
error status.
The
following
error
statuses
can
be
returned:
I$CLOS,
I$DTVP,
I$FTVP,
!$NRDYi
I$RECL.;
!$RANG~
I$SECB.
I$RIB,
ISFSPC,
I$SSPC.
IOCDSP is indeterminate.
IOCMLS,
IOCSDW,
IOCSLS,
IOCLSN,
IOCEOF,
IOCSBP, and lOCSEI are
indeterminate
if
the
device
type is DK.
IOCNAM,
!aCSUF:
laeSB?,
and
IOeSBI
are
unchanged otherwise.
The remainder
o~
the IOCB is unchanged.
The
contents
of
the
data
bUT~er
are
unchanget'J .
The
contents of
the
sector
bur~er
are
in d
e term ina t e.
The
IOCB
is aTTected in the following manner if
no errors occurred:
IOCSTA
=
O.
~
IOCDTT has the
110
transfer flag
set
to
indicate
output
(10
=
01).
If
additional file space was
allocated,
the
truncate
Tlag (T) is set to one
iT it was not already
one
prior
to
the
output
transfer.
The remainder
oT
IOCDTT is unchanged.
IOCDB? contains the address of
the
last
character in the data
burfe~
(same as
IOCDBE) .
IOCMLS,
IOCSDW,
IOCSLSJ
IOCLSN,
IOCEOFJ
IOeSBP,
and
IOCSB I
c onta
in
th e
system-maintained
parameters
as
described
in
section
25.3.
i
iT
the
device
is
OK.
They
reflect
the
current
diskette
file pointers.
If
.PUTRC has been called ror the
first
time,
. and
if
IOCMLS.
contained the
value $FFFF upon entry,
IOCMLS
will
contain
the value $0000 upon exiting
the
of
un c
t
ion.
I nth
i
s
wa I.J '
the
f i
1 e
will
not
be
deleted
upon closing,
"
)
.
./
Page
25-44

Advertisement

loading

This manual is also suitable for:

Exordisk iii