annotate level1/cmds/debug.asm @ 556:28a203bbd2cc

findstr and signal finished.
author roug
date Tue, 22 Oct 2002 19:09:04 +0000
parents e9ce43cc215e
children 3e08691aa71f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1 ********************************************************************
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
2 * debug - 6809 debugger
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
3 *
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
4 * $Id$
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
5 *
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
6 * Ed. Comments Who YY/MM/DD
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
7 * ------------------------------------------------------------------
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 116
diff changeset
8 * 6 From Tandy OS-9 Level One VR 02.00.00
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
9
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
10 nam debug
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
11 ttl 6809 debugger
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
12
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
13 * Disassembled 02/07/06 13:05:58 by Disasm v1.6 (C) 1988 by RML
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
14
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
15 ifp1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
16 use defsfile
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
17 endc
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
18
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
19 tylg set Prgrm+Objct
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
20 atrv set ReEnt+rev
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
21 rev set $01
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 116
diff changeset
22 edition set 6
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
23
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
24 L0000 mod eom,name,tylg,atrv,start,size
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
25
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
26 u0000 rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
27 u0001 rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
28 u0002 rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
29 u0003 rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
30 u0004 rmb 2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
31 u0006 rmb 2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
32 u0008 rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
33 u0009 rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
34 u000A rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
35 u000B rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
36 u000C rmb 4
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
37 u0010 rmb 14
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
38 u001E rmb 2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
39 u0020 rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
40 u0021 rmb 19
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
41 u0034 rmb 4
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
42 u0038 rmb 9
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
43 u0041 rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
44 u0042 rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
45 u0043 rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
46 u0044 rmb 3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
47 u0047 rmb 4
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
48 u004B rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
49 u004C rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
50 u004D rmb 4
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
51 u0051 rmb 2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
52 u0053 rmb 2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
53 u0055 rmb 3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
54 u0058 rmb 1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
55 u0059 rmb 6
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
56 u005F rmb 39
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
57 u0086 rmb 20
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
58 u009A rmb 4
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
59 u009E rmb 9
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
60 u00A7 rmb 18
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
61 u00B9 rmb 67
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
62 u00FC rmb 260
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
63 size equ .
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
64
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
65 name fcs /debug/
200
e9ce43cc215e Made major changes to headers for consistency and identification
boisy
parents: 116
diff changeset
66 fcb edition
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
67
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
68 L0013 bsr L0021
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
69 bra L0019
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
70 L0017 bsr L0027
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
71 L0019 pshs a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
72 lda #$20
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
73 sta ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
74 puls pc,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
75 L0021 exg a,b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
76 bsr L0027
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
77 tfr a,b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
78 L0027 pshs b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
79 andb #$F0
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
80 lsrb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
81 lsrb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
82 lsrb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
83 lsrb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
84 bsr L0035
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
85 puls b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
86 andb #$0F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
87 L0035 cmpb #$09
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
88 bls L003B
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
89 addb #$07
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
90 L003B addb #$30
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
91 stb ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
92 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
93 L0040 pshs u,y,b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
94 leau <L0065,pcr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
95 ldy #$0005
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
96 L0049 clr ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
97 L004B subd ,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
98 bcs L0053
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
99 inc ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
100 bra L004B
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
101 L0053 addd ,u++
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
102 pshs b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
103 ldb $01,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
104 addb #$30
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
105 stb ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
106 puls b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
107 leay -$01,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
108 bne L0049
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
109 puls pc,u,y,b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
110
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
111 L0065 fcb $27,$10,$03,$e8,$00,$64,$00,$0a,$00,$01
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
112
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
113 L006F lbsr L0127
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
114 leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
115 cmpa #$23
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
116 beq L00BA
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
117 cmpa #$25
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
118 beq L00E0
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
119 cmpa #$24
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
120 beq L0082
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
121 leax -$01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
122 L0082 leas -$04,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
123 bsr L00F7
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
124 L0086 bsr L00FE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
125 bcc L00A0
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
126 cmpb #$41
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
127 lbcs L0110
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
128 cmpb #$46
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
129 bls L009E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
130 cmpb #$61
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
131 bcs L0110
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
132 cmpb #$66
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
133 bhi L0110
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
134 subb #$20
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
135 L009E subb #$37
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
136 L00A0 stb ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
137 ldd $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
138 bita #$F0
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
139 bne L0123
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
140 lslb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
141 rola
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
142 lslb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
143 rola
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
144 lslb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
145 rola
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
146 lslb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
147 rola
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
148 addb ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
149 adca #$00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
150 std $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
151 inc $01,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
152 bra L0086
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
153 L00BA leas -$04,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
154 bsr L00F7
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
155 L00BE bsr L00FE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
156 bcs L0110
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
157 stb ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
158 ldd $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
159 lslb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
160 rola
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
161 std $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
162 lslb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
163 rola
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
164 lslb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
165 rola
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
166 bcs L0123
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
167 addd $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
168 bcs L0123
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
169 addb ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
170 adca #$00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
171 bcs L0123
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
172 std $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
173 inc $01,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
174 bra L00BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
175 L00E0 leas -$04,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
176 bsr L00F7
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
177 L00E4 ldb ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
178 subb #$30
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
179 bcs L0110
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
180 lsrb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
181 bne L0110
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
182 rol $03,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
183 rol $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
184 bcs L0123
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
185 inc $01,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
186 bra L00E4
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
187 L00F7 clra
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
188 clrb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
189 std $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
190 std $04,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
191 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
192 L00FE ldb ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
193 cmpb #$30
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
194 bcs L0108
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
195 cmpb #$39
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
196 bls L010B
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
197 L0108 orcc #Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
198 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
199 L010B subb #$30
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
200 andcc #^Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
201 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
202 L0110 leax -$01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
203 tst $01,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
204 beq L011C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
205 ldd $02,s
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
206 andcc #^Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
207 bra L0120
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
208 L011C orcc #Zero
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
209 L011E orcc #Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
210 L0120 leas $04,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
211 rts
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
212 L0123 andcc #^Zero
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
213 bra L011E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
214 L0127 lda ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
215 cmpa #$20
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
216 beq L0127
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
217 leax -$01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
218 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
219 L0130 pshs x,b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
220 lda $03,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
221 mul
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
222 pshs b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
223 lda $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
224 ldb $04,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
225 mul
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
226 pshs b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
227 lda $04,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
228 ldb $07,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
229 bsr L0157
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
230 lda $05,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
231 ldb $06,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
232 bsr L0157
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
233 andcc #^Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
234 ldd $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
235 ldx ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
236 beq L0154
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
237 orcc #Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
238 L0154 leas $08,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
239 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
240 L0157 mul
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
241 addd $03,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
242 std $03,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
243 bcc L0160
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
244 inc $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
245 L0160 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
246 L0161 pshs y,x,b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
247 ldd ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
248 bne L016B
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
249 orcc #Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
250 bra L018B
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
251 L016B ldd #$0010
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
252 stb $04,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
253 clrb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
254 L0171 lsl $03,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
255 rol $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
256 rolb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
257 rola
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
258 subd ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
259 bmi L017F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
260 inc $03,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
261 bra L0181
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
262 L017F addd ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
263 L0181 dec $04,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
264 bne L0171
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
265 tfr d,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
266 ldd $02,s
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
267 andcc #^Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
268 L018B leas $06,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
269 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
270 L018E sta ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
271 L0190 lda ,y+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
272 bne L018E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
273 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
274 L0195 pshs u,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
275 tfr s,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
276 bsr L01A7
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
277 andcc #^Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
278 puls pc,u,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
279 L019F tfr u,s
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
280 orcc #Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
281 puls pc,u,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
282 L01A5 leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
283 L01A7 bsr L01C9
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
284 pshs b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
285 L01AB bsr L021D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
286 cmpa #$2D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
287 bne L01B9
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
288 bsr L01C7
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
289 nega
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
290 negb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
291 sbca #$00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
292 bra L01BF
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
293 L01B9 cmpa #$2B
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
294 bne L01C5
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
295 bsr L01C7
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
296 L01BF addd ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
297 std ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
298 bra L01AB
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
299 L01C5 puls pc,b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
300 L01C7 leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
301 L01C9 bsr L01FD
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
302 pshs b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
303 L01CD bsr L021D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
304 cmpa #$2A
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
305 bne L01E2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
306 bsr L01FB
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
307 pshs x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
308 ldx $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
309 lbsr L0130
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
310 bcc L01F5
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
311 ldb #$02
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
312 bra L019F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
313 L01E2 cmpa #$2F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
314 bne L01C5
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
315 bsr L01FB
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
316 pshs x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
317 ldx $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
318 lbsr L0161
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
319 bcc L01F5
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
320 ldb #$01
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
321 bra L019F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
322 L01F5 puls x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
323 std ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
324 bra L01CD
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
325 L01FB leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
326 L01FD bsr L0222
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
327 pshs b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
328 L0201 bsr L021D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
329 cmpa #$26
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
330 bne L020F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
331 bsr L0220
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
332 andb $01,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
333 anda ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
334 bra L0219
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
335 L020F cmpa #$21
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
336 bne L01C5
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
337 bsr L0220
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
338 orb $01,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
339 ora ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
340 L0219 std ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
341 bra L0201
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
342 L021D lbra L0127
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
343 L0220 leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
344 L0222 bsr L021D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
345 cmpa #$5E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
346 bne L022E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
347 bsr L0239
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
348 comb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
349 coma
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
350 bra L0238
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
351 L022E cmpa #$2D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
352 bne L023B
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
353 bsr L0239
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
354 nega
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
355 negb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
356 sbca #$00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
357 L0238 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
358 L0239 leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
359 L023B bsr L021D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
360 cmpa #$28
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
361 bne L0250
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
362 lbsr L01A5
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
363 pshs b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
364 bsr L021D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
365 cmpa #$29
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
366 beq L0282
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
367 ldb <u0004
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
368 bra L0265
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
369 L0250 cmpa #$5B
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
370 bne L026A
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
371 lbsr L01A5
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
372 tfr d,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
373 ldd ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
374 pshs b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
375 bsr L021D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
376 cmpa #$5D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
377 beq L0282
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
378 ldb #$05
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
379 L0265 leas $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
380 L0267 lbra L019F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
381 L026A cmpa #$3C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
382 bne L0286
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
383 lbsr L01A5
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
384 tfr d,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
385 clra
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
386 ldb ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
387 pshs b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
388 bsr L021D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
389 cmpa #$3E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
390 beq L0282
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
391 ldb #$06
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
392 bra L0265
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
393 L0282 leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
394 puls pc,b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
395 L0286 cmpa #$2E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
396 bne L028F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
397 ldd <u0000
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
398 leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
399 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
400 L028F cmpa #$27
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
401 bne L0297
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
402 ldd ,x++
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
403 clra
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
404 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
405 L0297 cmpa #$22
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
406 bne L02A0
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
407 leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
408 ldd ,x++
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
409 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
410 L02A0 cmpa #$3A
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
411 bne L02B4
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
412 leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
413 bsr L02C3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
414 bcs L0267
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
415 tsta
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
416 bmi L02B1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
417 clra
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
418 ldb ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
419 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
420 L02B1 ldd ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
421 L02B3 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
422 L02B4 lbsr L006F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
423 bcc L02B3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
424 beq L02BF
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
425 ldb #$03
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
426 bra L0267
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
427 L02BF ldb #$00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
428 bra L0267
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
429 L02C3 ldb #$09
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
430 pshs b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
431 ldd ,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
432 cmpd #$7370
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
433 beq L02D5
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
434 cmpd #$5350
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
435 bne L02E2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
436 L02D5 leax $02,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
437 ldd #$0002
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
438 tfr dp,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
439 tfr d,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
440 lda #$80
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
441 bra L0314
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
442 L02E2 leay >L0322,pcr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
443 L02E6 lda ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
444 ldb $01,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
445 bne L02F8
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
446 cmpa ,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
447 beq L0307
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
448 adda #$20
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
449 cmpa ,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
450 beq L0307
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
451 bra L0318
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
452 L02F8 cmpd ,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
453 beq L0305
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
454 addd #$2020
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
455 cmpd ,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
456 bne L0318
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
457 L0305 leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
458 L0307 leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
459 lda $02,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
460 tfr a,b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
461 andb #$0F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
462 ldy <u0002
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
463 leay b,y
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
464 L0314 andcc #^Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
465 puls pc,b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
466 L0318 leay $03,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
467 dec ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
468 bne L02E6
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
469 orcc #Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
470 puls pc,b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
471 L0322 fcc "CC"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
472 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
473 fcc "DP"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
474 fcb $03
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
475 fcc "PC"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
476 fcb $8a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
477 fcc "A"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
478 fcb $00,$01
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
479 fcc "B"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
480 fcb $00,$02
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
481 fcc "D"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
482 fcb $00,$81
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
483 fcc "X"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
484 fcb $00,$84
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
485 fcc "Y"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
486 fcb $00,$86
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
487 fcc "U"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
488 fcb $00,$88
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
489
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
490 start leas >size,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
491 leas -$0C,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
492 sts <u0002
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
493 sts <u0004
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
494 leay >L0765,pcr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
495 sty $0A,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
496 lda #$80
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
497 sta ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
498 tfr s,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
499 leax >-$0145,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
500 stx <u0006
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
501 leax <-$50,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
502 stx <u0008
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
503 leax <-$24,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
504 stx <u000C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
505 clr <u0000
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
506 clr <u0001
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
507 L036A clr ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
508 cmpx <u0006
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
509 bcs L036A
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
510 leax >L0652,pcr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
511 lda #$01
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
512 os9 F$SSWi
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
513 os9 F$Icpt
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
514 lbsr L07E1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
515 ldx <u0006
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
516 leay >L0766,pcr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
517 bsr L03C2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
518 lbsr L07E3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
519 L038A leay >L077B,pcr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
520 lbsr L07EF
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
521 lbsr L0807
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
522 leay >L07AD,pcr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
523 lda ,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
524 cmpa #$61
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
525 bcs L03A2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
526 suba #$20
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
527 sta ,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
528 L03A2 leay $03,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
529 lda ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
530 beq L03B8
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
531 cmpa ,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
532 bne L03A2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
533 leax $01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
534 ldd $01,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
535 leau >L0000,pcr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
536 jsr d,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
537 bra L038A
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
538 L03B8 ldb #$09
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
539 bsr L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
540 bra L038A
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
541 L03BE os9 F$PErr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
542 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
543 L03C2 lbra L0190
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
544 lda ,x
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
545 cmpa #C$PERD
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
546 bne L03CF
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
547 ldd <u000A
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
548 bra L03DC
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
549 L03CF cmpa #C$CR
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
550 bne L03D7
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
551 L03D3 ldd <u0000
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
552 bra L03DC
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
553 L03D7 lbsr L0195
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
554 bcs L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
555 L03DC ldx <u0000
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
556 stx <u000A
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
557 std <u0000
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
558 pshs b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
559 bsr L0415
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
560 ldd ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
561 lbsr L0013
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
562 puls y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
563 ldb ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
564 lbsr L0027
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
565 lbra L07E3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
566 ldd <u0000
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
567 subd #$0001
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
568 bra L03DC
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
569 bsr L043F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
570 bcs L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
571 ldx <u0000
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
572 stb ,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
573 cmpb ,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
574 beq L040E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
575 ldb #$0A
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
576 bsr L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
577 bra L03D3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
578 L040E ldd <u0000
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
579 addd #$0001
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
580 bra L03DC
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
581 L0415 ldx <u0006
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
582 pshs b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
583 leay >L0780,pcr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
584 bsr L03C2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
585 puls pc,b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
586 lbsr L0195
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
587 bcs L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
588 bsr L0415
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
589 pshs b,a
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
590 lda #'$
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
591 sta ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
592 lda ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
593 lbsr L0013
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
594 lda #'#
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
595 sta ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
596 puls b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
597 lbsr L0040
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
598 lbra L07E3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
599 L043F lbsr L0195
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
600 bcs L044B
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
601 tsta
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
602 beq L044B
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
603 ldb #$08
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
604 orcc #Carry
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
605 L044B rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
606 lbsr L0512
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
607 beq L04AF
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
608 lbsr L02C3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
609 lbcs L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
610 pshs y,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
611 lbsr L0512
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
612 bne L0475
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
613 bsr L0415
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
614 puls y,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
615 tsta
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
616 bpl L046D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
617 ldd ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
618 lbsr L0021
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
619 bra L0472
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
620 L046D ldb ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
621 lbsr L0027
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
622 L0472 lbra L07E3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
623 L0475 lda ,s+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
624 bpl L0485
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
625 lbsr L0195
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
626 puls y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
627 lbcs L054E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
628 std ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
629 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
630 L0485 bsr L043F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
631 puls y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
632 lbcs L054E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
633 stb ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
634 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
635 L0490 fcc "PC="
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
636 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
637 fcc "A="
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
638 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
639 fcc "B="
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
640 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
641 fcc "CC="
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
642 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
643 fcc "DP="
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
644 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
645 fcc "SP="
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
646 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
647 fcc "X="
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
648 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
649 fcc "Y="
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
650 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
651 fcc "U="
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
652 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
653
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
654 L04AF pshs u
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
655 ldx <u0006
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
656 leay <L0490,pcr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
657 ldu <u0002
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
658 lbsr L03C2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
659 ldd u000A,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
660 bsr L0505
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
661 lbsr L03C2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
662 ldb u0001,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
663 bsr L050F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
664 lbsr L03C2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
665 ldb u0002,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
666 bsr L050F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
667 lbsr L03C2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
668 ldb ,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
669 bsr L050F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
670 lbsr L03C2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
671 ldb u0003,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
672 bsr L050F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
673 pshs y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
674 lbsr L07E3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
675 puls y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
676 lbsr L03C2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
677 tfr u,d
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
678 bsr L0505
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
679 lbsr L03C2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
680 ldd u0004,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
681 bsr L0505
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
682 lbsr L03C2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
683 ldd u0006,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
684 bsr L0505
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
685 lbsr L03C2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
686 ldd u0008,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
687 bsr L0505
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
688 lbsr L07E3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
689 puls pc,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
690 ldd ,y++
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
691 L0505 lbra L0013
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
692 L0508 ldd ,y++
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
693 lbra L0021
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
694 ldb ,y+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
695 L050F lbra L0017
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
696 L0512 lbsr L0127
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
697 cmpa #$0D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
698 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
699 bsr L0512
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
700 bne L0538
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
701 lbsr L0415
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
702 ldy <u000C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
703 ldb #$0C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
704 pshs b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
705 L0526 ldd ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
706 beq L052D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
707 lbsr L0013
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
708 L052D leay $03,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
709 dec ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
710 bne L0526
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
711 leas $01,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
712 lbra L07E3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
713 L0538 lbsr L0195
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
714 bcs L054E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
715 pshs b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
716 bsr L0556
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
717 beq L0551
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
718 ldd #$0000
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
719 bsr L0556
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
720 beq L0551
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
721 ldb #$0B
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
722 leas $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
723 L054E lbra L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
724 L0551 puls b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
725 std ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
726 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
727 L0556 pshs u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
728 tfr d,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
729 ldb #$0C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
730 ldy <u000C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
731 L055F cmpu ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
732 beq L056D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
733 leay $03,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
734 decb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
735 bne L055F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
736 ldb <u000C
116
6c363f0afba7 Made more changes
boisy
parents: 115
diff changeset
737 andcc #^Zero
115
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
738 L056D puls pc,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
739 bsr L0512
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
740 beq L0581
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
741 lbsr L0195
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
742 bcs L054E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
743 bsr L0556
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
744 bne L054E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
745 clra
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
746 clrb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
747 std ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
748 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
749 L0581 ldy <u000C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
750 ldb #$24
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
751 L0586 clr ,y+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
752 decb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
753 bne L0586
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
754 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
755 bsr L0512
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
756 beq L059A
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
757 lbsr L0195
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
758 bcs L054E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
759 ldy <u0002
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
760 std $0A,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
761 L059A ldy <u000C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
762 ldb #$0C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
763 ldx <u0002
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
764 ldx $0A,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
765 L05A3 ldu ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
766 beq L05B3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
767 lda ,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
768 sta $02,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
769 cmpx ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
770 beq L05B3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
771 lda #$3F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
772 sta ,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
773 L05B3 leay $03,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
774 decb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
775 bne L05A3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
776 lds <u0002
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
777 rti
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
778 bsr L0613
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
779 bcs L054E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
780 orb #$07
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
781 exg d,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
782 andb #$F8
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
783 pshs u,b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
784 cmpd $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
785 bcc L05D9
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
786 L05CD ldy ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
787 leay -$01,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
788 cmpy $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
789 leay $01,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
790 bcs L05DB
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
791 L05D9 puls pc,u,b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
792 L05DB ldx <u0006
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
793 tfr y,d
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
794 lbsr L0013
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
795 ldb #$04
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
796 pshs b
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
797 L05E6 lbsr L0508
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
798 dec ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
799 bne L05E6
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
800 lbsr L0019
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
801 ldb #$08
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
802 stb ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
803 ldy $01,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
804 L05F7 lda ,y+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
805 cmpa #$7E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
806 bhi L0601
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
807 cmpa #$20
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
808 bcc L0603
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
809 L0601 lda #$2E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
810 L0603 sta ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
811 dec ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
812 bne L05F7
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
813 leas $01,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
814 sty ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
815 lbsr L07E3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
816 bra L05CD
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
817 L0613 lbsr L0195
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
818 bcs L061D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
819 tfr d,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
820 lbsr L0195
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
821 L061D rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
822 bsr L0613
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
823 lbcs L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
824 pshs b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
825 L0626 cmpu ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
826 bls L062D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
827 puls pc,b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
828 L062D ldd #$8008
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
829 sta ,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
830 L0632 cmpa ,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
831 bne L063E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
832 lsra
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
833 lsr ,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
834 decb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
835 bne L0632
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
836 bra L064E
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
837 L063E lbsr L0415
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
838 ldd #$2D20
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
839 std ,x++
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
840 tfr u,d
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
841 lbsr L0021
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
842 lbsr L07E3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
843 L064E leau u0001,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
844 bra L0626
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
845 L0652 clra
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
846 tfr a,dp
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
847 ldx <u004B
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
848 lda $07,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
849 tfr a,dp
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
850 sts <u0002
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
851 ldd $0A,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
852 subd #$0001
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
853 std $0A,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
854 lds <u0004
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
855 lbsr L0556
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
856 beq L0672
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
857 ldb #$0D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
858 lbsr L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
859 L0672 ldy <u000C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
860 ldb #$0C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
861 L0677 ldx ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
862 beq L067F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
863 lda $02,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
864 sta ,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
865 L067F leay $03,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
866 decb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
867 bne L0677
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
868 lbsr L07E1
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
869 lbsr L0415
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
870 leay >L07A9,pcr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
871 lbsr L03C2
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
872 lbsr L07E3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
873 lbsr L04AF
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
874 lbra L038A
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
875 bsr L06B0
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
876 lbcs L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
877 ldx <u0006
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
878 tfr u,d
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
879 pshs u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
880 lbsr L03DC
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
881 lbsr L07E3
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
882 puls u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
883 bra L06CC
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
884 L06B0 lbsr L0127
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
885 lda #$00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
886 os9 F$Link
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
887 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
888 bsr L06B0
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
889 lbcs L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
890 ldd u000B,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
891 addd #$0200
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
892 os9 F$Mem
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
893 bcc L06D0
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
894 lbsr L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
895 L06CC os9 F$UnLink
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
896 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
897 L06D0 os9 F$UnLink
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
898 pshs u,y,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
899 L06D5 lda ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
900 cmpa #$0D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
901 bne L06D5
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
902 clrb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
903 L06DC lda ,-x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
904 sta ,-y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
905 incb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
906 cmpx ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
907 bhi L06DC
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
908 sty -$08,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
909 leay -$0C,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
910 sty <u0002
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
911 clra
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
912 std $01,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
913 puls u,x,b,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
914 stx $06,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
915 ldd u0009,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
916 leax d,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
917 stx $0A,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
918 tfr cc,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
919 ora #$80
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
920 sta ,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
921 tfr dp,a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
922 adda #$02
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
923 clrb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
924 std $08,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
925 sta $03,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
926 lbra L04AF
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
927 lbsr L0127
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
928 clra
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
929 clrb
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
930 tfr x,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
931 tfr d,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
932 L0715 leay $01,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
933 lda ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
934 cmpa #$0D
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
935 bne L0715
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
936 clra
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
937 leax <L072E,pcr
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
938 os9 F$Fork
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
939 bcs L0729
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
940 os9 F$Wait
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
941 L0729 lbcs L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
942 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
943 L072E com >$6865
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
944 inc $0C,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
945 neg <u005F
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
946 os9 F$Exit
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
947 lbsr L0613
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
948 lbcs L03BE
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
949 pshs u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
950 ldx <u0000
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
951 tsta
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
952 bne L0750
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
953 L0746 cmpb ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
954 beq L075C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
955 cmpx ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
956 bne L0746
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
957 puls pc,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
958 L0750 cmpd ,x+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
959 beq L075C
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
960 cmps ,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
961 bne L0750
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
962 puls pc,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
963 L075C leax -$01,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
964 tfr x,d
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
965 leas $02,s
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
966 lbra L03DC
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
967 L0765 fcc "?"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
968 L0766 fcc "Interactive Debugger"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
969 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
970 L077B fcc "DB: "
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
971 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
972 L0780 fcc " "
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
973 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
974 fcc " SP CC A B DP X Y U PC"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
975 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
976 L07A9 fcc "BKPT"
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
977 L07AD fcc ": "
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
978 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
979 fdb $2e03,$c53d,$03fc,$0d04,$0e20
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
980 fcb $04
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
981 fcb $21
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
982 fdb $2d03,$f53a
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
983 fdb $044c,$4b05,$6f4d,$05bc,$4306,$1e42,$0518,$4705
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
984 fdb $8c4c,$069a,$4506,$b924,$070c,$5107,$3453,$0738
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
985 fcb $00
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
986 L07E1 fcb $9e,$06
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
987 L07E3 fcb $86
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
988 fdb $0da7,$809e,$0610,$8e00,$5120
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
989 fcb $10
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
990
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
991 L07EF tfr y,x
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
992 tfr y,u
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
993 ldy #$0000
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
994 L07F7 ldb ,u+
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
995 beq L07FF
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
996 leay $01,y
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
997 bra L07F7
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
998 L07FF lda #$01
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
999 os9 I$WritLn
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1000 ldx <u0006
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1001 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1002 L0807 ldx <u0006
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1003 ldy #$0050
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1004 clra
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1005 os9 I$ReadLn
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1006 ldx <u0006
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1007 rts
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1008
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1009 emod
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1010 eom equ *
a32b730f4c71 Added debug.asm
boisy
parents:
diff changeset
1011 end