Download Print this page

Motorola EXORdisk II User Manual page 362

Advertisement

OTHER SYSTEM FUNCTIONS
EXIT CONDITIONS:
27.4 -- Diskette File Functions
s
pee
i fie
d .
FDF mu s
t
s
p
e c
i
r
1J
bot h the
inherent
and
the
changeable
attributes to be
initially
assigned
to the fi Ie.
srz
is used to describe
the
initial diskette space that is to
be
allocated.
If
S1Z is zero,
the
default
space
allocation
will
be
performed.
If
SIZ is non-zero,
the
allocation will
be
performed
using
the
contents
of
SIZ
as the .minimum
number of sectors to be allocated.
B
=
a
indicates a similar function to
be
performed
as
Tor
the
B=4
caSE;
ho",eve~;
in
the
event
that
ill
directory
entry
already exists with
the NAM and SUF
found
in
the
OFT,
that
file's
directory
entr~
information will be returned
in
the
DFT.
Otherwise,
the
OFT
is
parameterized identically to the
B=4
case.
B
=
16
($10)
indicates
that a specific
directory entry
is to
be deleted from
the
directory.
The
DFT entries
NAM
\ and
SUF
·are
used to 'spec
i
fy the entry
to be deleted.
B
=
32
($20) indicates to search for the
next,
non-deleted
~irectory
entry
with
a
specific
set.
of
file
attributes.
Entries encountered with
di~ferent
attributes
will
not
be
returned
b~
the search.
The DFT must
hav@
DEN
=
0 for the initial call.
The DEN must
then
remain
unchanged
for
subse~uent
calls since it is used
to
determine
",here
to
resume
the
search.
The
contents of the sector
buffer
must
also
remain
unchanged
between
successive
calls
fo~
this
function code.
The
FDF
entrq
must
contain
the specific attributes to be
searched for.
A
is
indeterminate.
B
contains
the
return
following
return
defined:
status.
statuses
The
are
B
=
0 indicates that no
errors
occurred
<normal return).
Page
27-15

Advertisement

loading

This manual is also suitable for:

Exordisk iii