EasyManua.ls Logo

Commodore 1581 - Vectoredjump Table

Commodore 1581
138 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
0160
REM
READ
THE
TRANSLATED
SIDE
VALUE
0170
PRINT#1,
"M-R"
+
CHR$(239)
+
CHR$(0)
+
CHR$(l)
0180
GET#1,A$
:
SIDE=ASC(A$)
0190
PRINT
"TRANSLATED
TRACK
=
";PT;"
SECTOR
=
";PS;"
SIDE
=
";SIDE
0200
PRINT
0210
REM
READ
THE
256
BYTES
OF
DATA
FROM
1581
JOB
QUEUE
BUFFER
INTO
CPU
RAM
0220
PRINT#1,
"M-R"
+
CHR$(0)
+
CHR$(3)
+
CHR$(0)
0230
REM
LIST
THE
SECTOR
DATA
0240
PRINT"
";
0245
PRINT"0
123456789ABCDEF"
0250
PRINT"
";
02
SS
PRTNT"
"
\J£*JJ
X
IVllN
J.
————————————————————
0260
FORX
=
0TO15
0270
PRINT
RIGHT$(HEX$(X),1);TAB(6);
0280
FORY=1TO16
0290
GET#1,A$
0300
PRINTUSING
"####";RIGHT$(HEX$(ASC(A$)),2);
0310
NEXTY
0320
PRINT
0330
NEXTX
Vectored
Jump
Table
Each
of
the
DOS
commands
that
can
be
sent
to
the
1581
via
the
serial
bus
are
vectored
through
indirect
jumps
in
the
ROM.
The
indirect
veaors
are
located
in
RAM,
so
the
user
can
change
these
veaors
for
the
purpose
of
providing
a
different
routine,
or
massaging
data
before
passing
control
to
the
original
routine.
Each
of
these
vectors
and
their
locations
are
listed
in
the
table
3
:
TABLE
3:
Indirect
Vector
Jump
Table
name
location
description
JIDLE
$FF00
Main
idle
loop.
When
a
Controller
command
is
completed
the
IDLE
routine
is
executed.
It
first
checks
to
see
if
there
are
any
more
jobs
pend
ing
in
the
Job Queue.
If
so,
it
executes
them.
If
not,
it
sits
in
the
idle
loop
waiting
for
some
thing
to
happen,
such
as
another
job
being
put
into
the
queue,
ATN
line
going
low,
disk
insert
ed
or
removed,
etc.
108

Table of Contents

Other manuals for Commodore 1581

Related product manuals