Instruction manual

SLOW
DIS
(K)*=0200
/J8
0200
A9,LDA
#4B
02P2
20 JSR
E97A
0205
A9
LDA
#2A
0207 20 JSR
E97A
020A
20
JSR
EAAE
020D
BO
BCS
0200
020F
20
JSR
E5D7
0212 20 JSR EBJ7
0215 20 JSR E785
0218 20 JSR
EA24
021B 20 JSR
F46c
021E
AD
LDA
A425
0;;21
)8
SEC
0222 65
ADC
EA
0224
8D
STA
A425
0227 90
BCC
022C
0229
EE
INC
A426
022C
20
JSR EA24
022F 20 JSR E907
02J2
20 JSR E790
02J5
FO
EEQ
02JD
02J7
20 JSR 0240
02JA
4C
JMP
021B
02JD
48
JMP
E1Al
0240
A9
LDA
#10
0242 85
STA
AC
0244
A9
LDA
#00
0246
8D
STA
AOOE
0249
A9
LDA
#FF
024B
8D
STA
A008
024E
8D
STA
A009
0251
A9
LDA
#20.
025J
2C
BIT
AOOD
0256
FO
BEQ
025J
0258
AD
LDA
A008
025B
C6
DEC
AC
0250
DO
BNE
0249
025F 60
RTS
ZERO
PAGE
LOCATIONS
USED:
OOAC
Timing Loops
OOEA
Length (Used
by
monitor
ROM)
The second difficulty is
an
an-
noyance with the speed at which
disassembly occurs when the printer is
not in operation. This mode of Qperation
19:38
is sometimes desirable to conserve
paper while debugging
or
while checking
f.QLjlDLrUc..Yla.r
part
of
a program. The
program left,
SLOW
DIS,
Introduces
aoout a
T second delay between steps
during disassembly
wlthouUhe
printer.
Location
0241
can
be
modified to
change the speed
as
desired. Execute
the program in the normal way using
(*)
=
0200,
RETURN,
"G",
RETURN.
The
display will indicate
"K*
=
".
Enter the
starting address
of
the material to
be
disassembled and the number of steps
as in -normal operation.
If
an
indefinite
number
of
steps was selected
by
"SPACE", then the program must
be
ter-
minated
.bY
..ESC.
One
of the major advantages
of
the
AIM-65
over the
KIM-1
and other similar
systems using 7-segment read-out
displays (limited to six digits), is the
relative ease
of
using meaningfully
prompted programs which eliminate the
need to record or remember the proper
addresses into which data must
be
entered to initiate the program. With
prompting, the required information
can
be
asked for, Inserted, and stored in
ap-
propriate locations under program con-
trol. Two utility programs,
CLEAR
and
MOVER,
included below,
are
of
the
prompted type.
MOVER
is a data
transfer program capable of moving any
amount
of
data either forward or
backward to a designated starting
ad-
dress. Execution of the progam results
in a prompting message of "OLD
FROM
="
to elicit the entry of the star-
ting address of the data to
be
moved.
After the address has
been
entered and
RETURN
activated, "TO = " calls for the
ending address
of
the data to
be
moved.
When
RETURN
is again used, theprompt
"NEW
FROM
="
appears to bring about
entry
of
the starting address at which
the moved data is to start. This time
RETURN
causes exe'cutlon
of
the move
process, completion
of
which is in-
dicated
by
a cleared display except for
the normal " " at the left side of the
display. Similarly,
CLEAR
uses promp-
ting messages, "CLR
FROM
="
and
"TO
="to obtain the limiting addresses
of the area into which zeros or any other
designated character may
be
entered.
The area can
be
of
any size.
A general breakdown
of
the
features
of
these two programs can
be
used to show the various sections and
their functions. In
CLEAR,
the program
from
0300
through
0314
provides the
pro-
mpt message generation;
0315
through
0330
contains the address input and
storage functions;
0331
through 0330
contains the calculation
of
the high and
low order bytes
of
the length of the area
involved; and the remainder
of
the pro-
gram performs the actual data storage
procedure. Location
0340
may
be
modified to any value with which it is
desired to load a selected memory area.
Locations
035F
-
0361
contain the "CLR"
message.
MICRO
--
The 6502 Journal
O:)*=OJOO
/46
OJOO
20 JSR EAIJ
OJOJ
AO
LDY
#00
0J05
B9
LDA
0J5F
OJ08 48
PHA
0J09
29
AND
#7F
OJOB
20
JSR
E97A
0J0E:
C8
INY
C
JO
r'
68
?LA
OJ10 10
3PL
0J05
OJ12
20
JSR
£8JE
OJ15
20
JSR ?7AJ
OJ18
AD
LDA
A41C
OJ1E 85
STA
00
OJ1D
AD
LDA
A41D
OJ20 85
STA
01
OJ22 20 JSR
E7A7
OJ25
EO
BCS
OJ22
0327
AD
LDA
A41C
°J2A 85
SI'A
02
OJ2C
AD
T\~
A41J
OJ2F
8)
STA
OJ
o
JJ1
JS
S::C
OJ]2
-:'.5
J~JA
02
OJJ4
~5
SEC
00
cJJ6
85 SI'A 04
OJJ8
A5
L.JA
OJ
OJJA £5
SBC
01
OJJC
FO
EE~
OJ4C
OJ)
S AA TAX
CJJ?
A9
LDA
#00
CJ!.;.l
AS
TAY
0)42
91
STA
(OO),Y
JJJ;~
:3
I~Y
OJ!';
5
)0
l3i'i:;
oJ42
~JL7
~6
II\C 01
0]1.:
SJ
C.; J
2X
Jjl--:::'
))
~:\:;
O:u2
,}J.J:
-:-::6
n;s
04
o;~::
.'
..
9 )JJA .'100
0J50
_~o
LDY
/100
0352
9~
STA
(OJ),Y
')J54
C8
INY
0J55
c4
CPY
04
0357
'JO
IN~
0J52
0J59
20
JSR SAIJ
0J5C
4C
J~P
SIAl
(j,i) =OJ5F
4J
~.:.:
D2
December, 1979