Sharp mz-3500 Manual For Use page 186

Business computer eos 3.0
Hide thumbs Also See for mz-3500:
Table of Contents

Advertisement

Section A:
System interface
************************************************************************
17 - Search for File
************************************************************************
On entry:
C
DE
On return:
A
H
llH
Address of FCB
Directory code
Physical error code
Possible logical errors:
- none -
Possible physical errors:
1
Read/write error
4
Drive not selectable
Differences to CP/M plcis:
- none -
Differences to CP/M 2.2 resp. DiCOS:
- none -
Function
17 allows for searching of specific files.
Drive
byte,
file
name and the first extent byte must be specified, the second extent byte
is
automatically set to zero.
Question marks are allowed at all
posi-
tions.
This
function,
however,
will
Subsequent
entries
have to be
Between
the
"Search''
calls,
accesses are allowed.
return the first matching
entry
found.
searched for using system
function
18.
no
other calls
which
cause
directory
If the Drive byte contains a question mark, all directory entries of the
current drive ·are returned,
regardless whether they are allocated, free
or contain time stamps.
Thus, this kind of system call allows for scan-
ning the whole directory.
Normally,
a
specific
extent to be searched for will be
specified
by
setting
the Extent byte to the desired value.
It should be noted
that
this operation mode can find extents up to number 31 only.
However,
if
the
extent
byte is filled with a question mark,
all
extents
of
the
specified files will be tranferred.
EOS System manual
Daeumling & Zimmermann
Page 49

Advertisement

Chapters

Table of Contents
loading

Table of Contents