Download Print this page

Motorola EXORdisk II User Manual page 321

Advertisement

INPUT/OUTPUT FUNCTIONS
25.3 -- Device Independent I/O Functions
25.3.7 Release a device -- .RELES
The
. RELES
function
b~eaks
the
link
between
the
appropriate
controller
descriptor
block
and
the
calling
program~s
IOCB.
The
.RELES
function should be
the
last
lID
function called after all lID has been completed.
ENTRY PARAMETERS:
EXIT CONDITIONS:
x
=
The
address
of of
an
IOCB
~hich
has
be~n
properly
reserved
(i.
e.I
no
er~ors
occurred)
via
the
.RESRV
run
c
t
ion.
1ft
he. OF EN
fun
c
t ion
has
been
invoked
at
any
time
aTtar
res e r v
i
n
9
the
laC
B ,
the
r
i
1
e
(
0,..
device)
must
first be closed via the
. CLOSE function
before the
IOCB
can
be released.
A
is
indeterminate.
B
=
The
contents
of the IOCSTA
entry.
If
no errors occurred,
B
will
be
zero.
A
non-zero
value
indicates that an
error
occur'T'ed.
X
is
unchanged.
C
=
0
and
Z
=
1 if no
errors occurred
=
0>'
The
remainder
of
CC
in de te-rmi
na teo
(B
is
C
=
1
and
Z
=
0
if
an
error
occurred
(3
not
zero>.
The
remainde-r of CC
is
indeterminate.
The
IOCB is
af~ected
in
the following
manner
i~
an error occurred:
IOCSTA
contains
the
error
status.
The
following
error
statuses
can
be
returned:
!$NORVI I$CLOS.
The
remainder
Or
the
IOCB
contents oT
the
data buffer
sector buffer are unchanged.
and
and
the
the
The
IOCB
is affected in the following manner if
no errors
occurred:
IOCSTA
=
O.
IOCGDW
=
o.
IOCLUN has the UR" bit set to zero
( IOCB
Page
25-48

Advertisement

loading

This manual is also suitable for:

Exordisk iii