Download Print this page

Motorola EXORdisk II User Manual page 385

Advertisement

OTHER SYSTEM FUNCTIONS
27.5 --
Othe~
Functions
If
the
~ile
name,
sUrrix,
or
logical
unit
numbe~
contains
more
valid·
characters than required, they will be
automaticall~
flushed from the input stream.
Thus, even if a
ten
character
file
name is specified, only the first eight
characters will
be
returned in the file name area.
The
follo~ing
examples illustrate
how
.PFNAM
extracts
the
file name or device specification from the ;nput buffer.
The
left column shows
a
string
as
it
is
encountered
in
the
input
buffer.
The double quotation marks delimit the start
and end of the string.
It should be noted
that
an
initial
terminator
begins
each
string.
The
right column shows the
extracted information as it would appear in the standard file
name
area.
The
dashes
indicate
unchanged
parts
of
the
stand~rd
file name area (those areas where the default values
would be -Found
>.
Input string
II
FILEJ
II
I
FILE1:0,"
F.SA,
II
FILE~RO:
1,
U
: 0,
/I
.
Extracted file name
-FILE
OFILEl
-F
SA
lFILE
RQ
0----------
. LX: 1, ..
FILENAMETOOLONG.AB: 1,
U
FILESAB:
1,
II
l-------LX
lFILENAMEAB
-FILE
#LP,
I.
#UD: 1,
II
F!LE*.
*:
L"
-LP
lUD
IFILE
27.5.2 Re-enter resident MDOS -- .MDENT
The
,MDENT
function
passes
control
from
a
calling
program to the
MDOS
command interpreter.
It
is
one
of
the
few
functions
which
does not return control to the calling
progTam . . MDENT can only be used if the
~esident
operating
system area has not be changed by the calling program (or any
programs that may have executed prior to it).
ENTRY PARAMETERS:
EXIT CONDITIONS:
The
diskette in drive zero must not
have
been
replaced
with another diskette
since
the
last
time
MDOS
was
initialized
via
the
resident debug
man
i
tOT'.
There is no return
h
otueveT',.
th
e
performed:
from
this
function;
following
action~
are.
The
SWI
and IRG
vectors
are
configured
for the
MDOS
function handler.
Page
27-38

Advertisement

loading

This manual is also suitable for:

Exordisk iii