Download Print this page

Motorola EXORdisk II User Manual page 426

Advertisement

APPENDIX
E.
Mini-Diagnostic Facility
A mini-diagnostic
~outine
is available in
the
EXORdisk
II
diskette
controlle~
rirmwa~e
(version numbers less than
1.2).
This routine
permit~
the user to execute any
diskette
controller
function
a
single
time
or
continuously.
The
parameters
required
by
the
mini-diagnostic
routines
are
similar
to
those
used
by
the
other
diskette controller
runctions (Appendix
D).
The
reader should
be
familiar
with
those
parameters
before
attempting
to
use
the
mini-diagnostics.
The following parameters and entry points
are
required
by
the mini-diagnostic
~outine:
Name
Address Definition
CURADR
$0006
LDADDR
$0020
EXADDR
$0022
ONECON
$0024
$0060-$0073
CLRTOP
SEB90
This parameter is automatically set up by
the mini-diagnostic routine
from
LDADDR
(see
.beloud before
each
execution of
t~e
specified function.
These two bVtes
contain
the
data
that
would
normally
be
placed
into CURADR.
The diagnostic routine will update CURADR
from
LDADDR
before
each
function
is
executed.
These two bytes must contain the
address
or
the
entry
point
or
the
function
(READSC,
WRTEST
I
etc.)
that
is
to
be
executed by the diagnostic routine.
This
byte
should
contain a zero if the
function is to be executed
continuously_
A
non-zero
value
in this location will
cause the function to
only
be
executed
once.
This area contains a two-byte counter
~or
each
Or
the possible states returned
by a
function
in
FDSTAT.
Locations
$60-61
contain a counter ror the status of
"0";
locations
$62-63
contain
a counter ror
the status
or
"l"i
.and so on.
This location is the entry point
to
the
mini-diagnostic
routine
that
initially
Page
E-Ol

Advertisement

loading

This manual is also suitable for:

Exordisk iii