Download Print this page

Motorola EXORdisk II User Manual page 369

Advertisement

OTHER SYSTEM FUNCTIONS
EXIT CONDITIONS:
27.4 -- Diskette File Functions
Bit
7
=
1 indicates that the
p~og~am
can
be loaded anywhere
in
memo~y
above
location
$lF.
The
only
othe~
requirement is that the
ending
load
address
not exceed $FFFF.
No checks
are ma d e
r
0
r
0
v e
~
1 a yin 9 thea
res ide n't
MDOS
o~
fo~
loading
into
discontiguous
memo~y.
As
a
result,
the
MOOS
SWI
vector is restored to
point back into
~ne
debug
monitor,
making
MDOS
system
functions
unaccessible.
This function
~equi~es
one
Or
the
cont~ol
passage bits
(01
L
or
2)
to beset to
one.
Contra
1
must
be
passed to either the load€d
program
or
to
the
debug
monitoT.
Cont~ol
cannot
be
retu~ned
to the
calling program.
Bit 7
is
mutually
exclusive with bits 4 and 5.
I
f
none
of
bits
0-2
a~e
set,
th en
contra
1
will
be
returned
to
the
calling
program after the program is loaded.
x
= The address or the DFT.
All calls
to
the . LOAD runction require
that
LUN
cDntains
the
logical unit
number
to
be
accessed
(ASCII
number
0-3,
$30-$33),
that
SBS
contains
the
starting
add~ess
of a
128
(decimal)
byte
sector
buffer,
and
that
SBE
contains the ending
address
of
the
sector
burrer.
If the sector buffer
is larger than one sector,
only
the
First
128
bytes
will
be used.
For
all cases but one (Bit 6 set
to
1),
the
OFT
must
also contain the
rile
name
and
suFfix in NAM
and
SUF.
For
th
e
Bit
6 case, NAM and ·SUF
are
not
required.
Instead,
the
physical
sector
number of the rile's RIB must
be placed into RIB.
A
is
indeterminate.
B
contains
the
return
status.
The
following return statuses
arg
defined
(only iF control is returned
to
the
calling program):
B = 0
indicates
that no
e~~o~s
occurred
<normal
~eturn).
B
=
1
indicates
that
B
contained
an
\
-"-'/
Page
27-22

Advertisement

loading

This manual is also suitable for:

Exordisk iii