Download Print this page

Motorola EXORdisk II User Manual page 316

Advertisement

INPUT/OUTPUT FUNCTIONS
25.3 -- Device Independent
110
Functions
If
a
record
is
being
written
into
a
disk~tte
file,
additional
space
ma~
be
allo~ated
to
accommodate
the
inc~eased
space
requirements
oT
the
file.
The
file
allocation is done automatically.
The
amount
of
secondary
allocation
will depend
on
the available rile
space;
however,
an attempt will
be
made to allocate
the
default
number
of
clusters.
IT less space is available than the default,
then
the
la~gest
available block
~ill
be allocated.
ENTRY PARAMETERS:
EXIT CONDITIONS:
x
= The address of an IOCB which has been
properly
reserved
and opened
(1.
e.
I
no errors occurred)
via
the
.RESRV
and . OPEN functions,
respectively.
IOCDTT
must have the US" bit set to zero
(recoT'o 1/0),
The
mode
flag
(bit
"M")
must
specify either the output
or the
update
modes
as
configured
prior to opening the file.
IOCDBS
must
contain
the address of the
first byte of the record that
is
to
be
wr
i tten.
IOCDBE
must
contain
the address of the
last byte of the record that is to be
UJ~itten.
A
terminating
carriage
return is not
re~uired
in
the
data
buffer.
IOCFDF
must
have
been configured for
a
valid file format during the previous
.OPEN
call
(FMT = 3,
5,
or 7).
The
non-compressed space
bit
<bit
"Nil)
determines
whether or not spaces
are
compressed
(only
applies
to
ASCII
files being written to diskette).
A is indeterminate.
B
=
Th e contents of th e IOCSTA entry.
If
no errors occurred,
B will
be
zero.
A
non-zero
value
indicates that "an
error occurred.
X is unchanged.
C
=
0 and Z
=
1 if no errors occurred
(B
=
O) .
The
1"
e ma in d e r
0
fee
i s
i nd etermi nate.
C
=
1 and Z
=
0 if an error
occurred
(B
not
z
er
a ).
The
l'
ema
i
n d er
0
f
CC i s
ind eterminate.
Page
25-43

Advertisement

loading

This manual is also suitable for:

Exordisk iii