Download Print this page

Atari 400 Technical Reference Manual page 67

Home computer system
Hide thumbs Also See for 400:

Advertisement

The * character causes the remainder of the primary or extension
field in that it is used to be effectively padded with?
characters.
For example, WH* will match WHO, WHEN, WHATEVER,
etc.
Some valid uses of wild-card specifications are shown below:
*.SRC
Files having an extension of SRC.
BASIC. *
Files named BASIC with any extension.
*.*
All files.
H*.?
Files beginning with H and having a
0 or
1
character extension.
If wildcarding is used with an OPEN FILE command,
the first file
found (if any) that meets the specification will be the one (and
only one) opened.
OPEN DIRECTORY
The OPEN DIRECTORY command allows you read directory
information for the selected filename(s),
using normal GET
CHARACTERS or GET RECORD commands.
The information read will be
formatted as ATASCII records,
suitable for printing, as shown
below.
Wildcarding can be used to obtain information for multiple
files
or
the entire diskette.
The OPEN DIRECTORY command uses the same CIO parameters as a standard
OPEN FILE command:
COMMAND BYTE
=
$03
BUFFER ADDRESS
=
pointer to device/filename specification.
AUXl
=
$06
After the directory is opened,
a record will be returned to the
caller for each file that matches the OPEN specification.
The
record,
that contains only ATASCII characters,
is formatted as
shown below:
82
1
123 4 5 6 7 8 901 234 5 6 7 8
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Islbl primary name
I ext Iblcountle:
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
OPERATING SYSTEM
C016555 --
Section 5

Hide quick links:

Advertisement

loading

This manual is also suitable for:

800