Download Print this page

Motorola EXORdisk II User Manual page 427

Advertisement

APPENDIX E
TOP
$EB98
Single Execution
Mini-Diagnostic Facility
zeroes the counters in
locations
$60-73
befo~e
executing the function.
This
location
is the
entr~
point to the
mini-diagnostic
routine that
will
leave
the
counters
at
locations
$60-73
unchanged
be~ore
executing the function.
In
order to execute·a diskette function a
single
time,
the
parameters
CURDRV,
STRSCTi
NUMSCT; LSCTLN, and LDADDR
should be configured as required for the
specific
function.
The
address
of
the
specific function should then be placed
into
EXADDR.
The location ONECON should be initialized
with
a non-zero value.
The
st~ck
register should
be
pointing
to a
valid area in memory (the EXbug stack is acceptable).
Thenl
the debug monitor command
EB98;G
will
give control
to
the mini-diagnostic routine causing the
PIA and SSDA to be initialized, CURDRV to
be
restored,
and
the
function
in
EXAODR
to be executed.a single time.
Upon
completion of the function,
the
lette~
"E"
fol~owed
by
a
digit
"0"
through
"9"
will be printed and contTol
r~turned
to
the debug monitor.
.The
displayed message will
indicate
the
completion status
o~
the function as
retu~ned
in
FDSTAT.
Continuous Execution
In
order
to
execute a diskette ¥unction continuously,
the parameters CURDRV,
STRSCT,
NUMSCT
LSCTLN,
and
LDADDR
should
be
configured
as
required ror the specific function.
The
ad~~ess
of the specific function should
then
be
placed
into
EXADDR.
The
location ONECON should be initialized to
the value of zero.
The the debug monitor command
EB98iG (to start at TOP)
or
EB90iG
(to
start at CLRTOP and zero counters)
will give control to the mini-diagnostic routine.
This
will
cause
the
PIA
and
SSDA
to
be
initialized, CURDRV to be
res~ored,
and
the
function
in
EXADDR
to
be
e~ecuted
continuously
until
one
of
the
two-byte
counters
is
incremented to
ze~o.
When
one
of
the
two-byte
counters
reaches
zero, an liE" -Followed by an error indication will be
printed at the console and
control
returned
to
the
debug
monitor.
The error indication following the letter "E" will

Advertisement

loading

This manual is also suitable for:

Exordisk iii