annotate level1/cmds/grfo.asm @ 21:6b140c61492c

Modified dump.asm slightly for better commenting Added newly disassembled grfo.asm, changed makefile
author boisy
date Sat, 06 Apr 2002 06:09:47 +0000
parents
children 33ae014c4b25
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
1 nam GRFO
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
2 ttl Graphics module
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
3
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
4 * Disassembled 02/04/05 23:44:21 by Disasm v1.6 (C) 1988 by RML
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
5
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
6 ifp1
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
7 use defsfile
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
8 endc
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
9
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
10 tylg set Systm+Objct
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
11 atrv set ReEnt+rev
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
12 rev set $01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
13
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
14 mod eom,name,tylg,atrv,start,size
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
15
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
16 u0000 rmb 0
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
17 size equ .
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
18
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
19 fcb $07
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
20 name fcs /GRFO/
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
21 fcb $01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
22
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
23 start lbra L006A
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
24 lbra L002C
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
25 lbra L0026
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
26 lbra L0026
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
27 lbra L006A
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
28
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
29 L0022 fdb $0055
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
30 L0024 fdb $aaff
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
31 L0026 fdb $53c6
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
32 L002A fdb $d039
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
33 L002C fdb $8015,$308c,$0548
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
34 fdb $ec86,$6e8b,$0029,$005f,$005c,$003b,$0038,$0121
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
35 fdb $0036,$011e,$0204,$0036
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
36 fdb $0036
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
37 L004A fdb $ecc8,$28c1,$c025
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
38 fdb $02c6
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
39 fcb $bf
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
40 L0053 tst <$24,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
41 bmi L0059
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
42 lsra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
43 L0059 std <$28,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
44 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
45 leax <L0065,pcr
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
46 L0060 ldb #$02
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
47 lbra L015A
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
48 L0065 bsr L004A
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
49 std <$45,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
50 L006A clrb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
51 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
52 clr <$47,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
53 leax <L0074,pcr
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
54 bra L0060
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
55 L0074 bsr L004A
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
56 std <$45,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
57 bsr L007E
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
58 lbra L014A
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
59 L007E jsr [<$5D,u]
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
60 L0081 tfr a,b
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
61 comb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
62 andb ,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
63 stb ,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
64 anda <$47,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
65 ora ,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
66 sta ,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
67 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
68 clr <$47,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
69 leax <L0098,pcr
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
70 bra L0060
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
71 L0098 bsr L004A
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
72 leas -$0E,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
73 std $0C,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
74 jsr [<$5D,u]
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
75 stx $02,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
76 sta $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
77 ldd <$45,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
78 jsr [<$5D,u]
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
79 sta ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
80 clra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
81 clrb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
82 std $04,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
83 lda #$BF
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
84 suba <$46,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
85 sta <$46,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
86 lda #$BF
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
87 suba <$29,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
88 sta <$29,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
89 lda #$FF
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
90 sta $06,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
91 clra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
92 ldb <$45,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
93 subb <$28,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
94 sbca #$00
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
95 bpl L00D6
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
96 nega
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
97 negb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
98 sbca #$00
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
99 neg $06,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
100 L00D6 std $08,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
101 bne L00DF
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
102 ldd #$FFFF
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
103 std $04,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
104 L00DF lda #$E0
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
105 sta $07,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
106 clra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
107 ldb <$46,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
108 subb <$29,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
109 sbca #$00
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
110 bpl L00F4
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
111 nega
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
112 negb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
113 sbca #$00
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
114 neg $07,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
115 L00F4 std $0A,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
116 bra L0100
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
117 L00F8 sta ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
118 ldd $04,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
119 subd $0A,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
120 std $04,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
121 L0100 lda ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
122 lbsr L0081
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
123 cmpx $02,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
124 bne L010F
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
125 lda ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
126 cmpa $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
127 beq L0143
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
128 L010F ldd $04,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
129 bpl L011D
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
130 addd $08,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
131 std $04,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
132 lda $07,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
133 leax a,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
134 bra L0100
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
135 L011D lda ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
136 ldb $06,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
137 bpl L0133
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
138 lsla
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
139 ldb <$24,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
140 bmi L012A
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
141 lsla
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
142 L012A bcc L00F8
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
143 lda <$4A,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
144 leax -$01,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
145 bra L00F8
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
146 L0133 lsra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
147 ldb <$24,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
148 bmi L013A
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
149 lsra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
150 L013A bcc L00F8
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
151 lda <$49,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
152 leax $01,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
153 bra L00F8
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
154 L0143 ldd $0C,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
155 std <$45,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
156 leas $0E,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
157 L014A lda <$48,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
158 sta <$47,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
159 clrb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
160 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
161 clr <$47,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
162 leax <L0162,pcr
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
163 ldb #$01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
164 L015A stb <$25,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
165 stx <$26,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
166 clrb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
167 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
168 L0162 leas -$04,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
169 ldb <$29,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
170 stb $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
171 clra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
172 sta ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
173 addb $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
174 adca #$00
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
175 nega
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
176 negb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
177 sbca #$00
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
178 addd #$0003
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
179 std $02,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
180 L0179 lda ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
181 cmpa $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
182 bcc L01AB
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
183 ldb $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
184 bsr L01B9
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
185 clra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
186 ldb $02,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
187 bpl L0193
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
188 ldb ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
189 lslb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
190 rola
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
191 lslb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
192 rola
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
193 addd #$0006
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
194 bra L01A3
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
195 L0193 dec $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
196 clra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
197 ldb ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
198 subb $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
199 sbca #$00
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
200 lslb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
201 rola
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
202 lslb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
203 rola
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
204 addd #$000A
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
205 L01A3 addd $02,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
206 std $02,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
207 inc ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
208 bra L0179
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
209 L01AB lda ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
210 cmpa $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
211 bne L01B5
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
212 ldb $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
213 bsr L01B9
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
214 L01B5 leas $04,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
215 bra L014A
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
216 L01B9 leas -$08,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
217 sta ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
218 clra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
219 std $02,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
220 nega
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
221 negb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
222 sbca #$00
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
223 std $06,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
224 ldb ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
225 clra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
226 std ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
227 nega
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
228 negb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
229 sbca #$00
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
230 std $04,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
231 ldx $06,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
232 bsr L0202
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
233 ldd $04,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
234 ldx $02,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
235 bsr L0202
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
236 ldd ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
237 ldx $02,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
238 bsr L0202
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
239 ldd ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
240 ldx $06,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
241 bsr L0202
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
242 ldd $02,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
243 ldx ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
244 bsr L0202
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
245 ldd $02,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
246 ldx $04,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
247 bsr L0202
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
248 ldd $06,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
249 ldx $04,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
250 bsr L0202
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
251 ldd $06,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
252 ldx ,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
253 bsr L0202
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
254 leas $08,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
255 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
256 L0202 pshs b,a
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
257 ldb <$46,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
258 clra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
259 leax d,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
260 cmpx #$0000
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
261 bmi L0214
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
262 cmpx #$00BF
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
263 ble L0216
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
264 L0214 puls pc,b,a
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
265 L0216 ldb <$45,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
266 clra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
267 tst <$24,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
268 bmi L0221
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
269 lslb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
270 rola
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
271 L0221 addd ,s++
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
272 tsta
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
273 beq L0227
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
274 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
275 L0227 pshs b
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
276 tfr x,d
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
277 puls a
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
278 tst <$24,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
279 lbmi L007E
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
280 lsra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
281 lbra L007E
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
282 clr <$41,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
283 leas -$07,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
284 lbsr L03AB
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
285 lbcs L0346
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
286 lda #$FF
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
287 sta <$4F,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
288 ldd <$45,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
289 lbsr L0351
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
290 lda <$4C,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
291 sta <$4D,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
292 tst <$24,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
293 bpl L0261
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
294 tsta
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
295 beq L0267
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
296 lda #$FF
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
297 bra L0267
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
298 L0261 leax >L0022,pcr
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
299 lda a,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
300 L0267 sta <$4E,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
301 cmpa <$47,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
302 lbeq L0346
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
303 ldd <$45,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
304 L0274 suba #$01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
305 bcs L027F
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
306 lbsr L0351
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
307 bcs L027F
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
308 beq L0274
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
309 L027F inca
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
310 std $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
311 L0282 lbsr L0384
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
312 adda #$01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
313 bcs L0290
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
314 lbsr L0351
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
315 bcs L0290
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
316 beq L0282
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
317 L0290 deca
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
318 ldx $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
319 lbsr L03D3
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
320 neg <$4F,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
321 lbsr L03D3
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
322 L029C lbsr L03F9
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
323 lbcs L0346
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
324 tst <$4F,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
325 bpl L02B3
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
326 subb #$01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
327 bcs L029C
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
328 std $03,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
329 tfr x,d
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
330 decb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
331 bra L02BD
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
332 L02B3 incb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
333 cmpb #$BF
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
334 bhi L029C
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
335 std $03,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
336 tfr x,d
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
337 incb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
338 L02BD std $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
339 lbsr L0351
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
340 bcs L029C
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
341 L02C4 bne L02D2
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
342 suba #$01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
343 bcc L02CD
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
344 inca
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
345 bra L02D6
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
346 L02CD lbsr L0351
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
347 bcc L02C4
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
348 L02D2 adda #$01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
349 bcs L029C
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
350 L02D6 cmpd $03,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
351 bhi L029C
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
352 bsr L0351
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
353 bcs L029C
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
354 bne L02D2
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
355 std $05,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
356 cmpd $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
357 bcc L02FB
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
358 ldd $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
359 decb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
360 cmpd $05,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
361 beq L02FB
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
362 neg <$4F,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
363 ldx $05,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
364 lbsr L03D3
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
365 neg <$4F,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
366 L02FB ldd $05,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
367 L02FD std $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
368 L02FF bsr L0351
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
369 bcs L030B
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
370 bne L030B
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
371 bsr L0384
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
372 adda #$01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
373 bcc L02FF
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
374 L030B deca
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
375 ldx $01,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
376 lbsr L03D3
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
377 std $05,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
378 adda #$01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
379 bcs L0326
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
380 L0317 cmpd $03,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
381 bcc L0326
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
382 adda #$01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
383 bsr L0351
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
384 bcs L0326
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
385 bne L0317
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
386 bra L02FD
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
387 L0326 inc $03,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
388 inc $03,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
389 ldd $03,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
390 cmpa #$02
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
391 lbcs L029C
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
392 ldd $05,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
393 cmpd $03,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
394 lbcs L029C
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
395 neg <$4F,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
396 ldx $03,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
397 lbsr L03D3
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
398 lbra L029C
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
399 L0346 leas $07,s
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
400 clrb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
401 ldb <$41,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
402 beq L0350
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
403 L034E orcc #$01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
404 L0350 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
405 L0351 pshs b,a
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
406 cmpb #$BF
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
407 bhi L0380
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
408 tst <$24,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
409 bmi L0360
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
410 cmpa #$7F
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
411 bhi L0380
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
412 L0360 jsr [<$5D,u]
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
413 tfr a,b
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
414 andb ,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
415 L0367 bita #$01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
416 bne L0376
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
417 lsra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
418 lsrb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
419 tst <$24,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
420 bmi L0367
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
421 lsra
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
422 lsrb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
423 bra L0367
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
424 L0376 stb <$4C,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
425 cmpb <$4D,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
426 andcc #$FE
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
427 puls pc,b,a
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
428 L0380 orcc #$01
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
429 puls pc,b,a
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
430 L0384 pshs b,a
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
431 jsr [<$5D,u]
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
432 bita #$80
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
433 beq L03A6
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
434 ldb <$4E,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
435 cmpb ,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
436 bne L03A6
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
437 ldb <$47,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
438 stb ,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
439 puls b,a
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
440 tst <$24,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
441 bmi L03A3
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
442 adda #$03
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
443 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
444 L03A3 adda #$07
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
445 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
446 L03A6 lbsr L0081
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
447 puls pc,b,a
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
448 L03AB ldx <$3F,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
449 beq L03B5
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
450 stx <$3D,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
451 L03B3 clrb
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
452 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
453 L03B5 pshs u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
454 ldd #$0200
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
455 os9 F$SRqMem
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
456 bcc L03C1
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
457 puls pc,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
458 L03C1 tfr u,d
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
459 puls u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
460 std <$3B,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
461 addd #$0200
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
462 std <$3F,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
463 std <$3D,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
464 bra L03B3
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
465 L03D3 pshs b,a
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
466 ldd <$3D,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
467 subd #$0004
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
468 cmpd <$3B,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
469 bcs L03F2
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
470 std <$3D,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
471 tfr d,y
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
472 lda <$4F,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
473 sta ,y
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
474 stx $01,y
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
475 puls b,a
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
476 sta $03,y
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
477 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
478 L03F2 ldb #$F5
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
479 stb <$41,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
480 puls pc,b,a
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
481 L03F9 ldd <$3D,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
482 cmpd <$3F,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
483 lbcc L034E
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
484 tfr d,y
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
485 addd #$0004
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
486 std <$3D,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
487 lda ,y
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
488 sta <$4F,u
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
489 ldd $01,y
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
490 tfr d,x
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
491 lda $03,y
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
492 andcc #$FE
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
493 rts
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
494
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
495 emod
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
496 eom equ *
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
497 end
6b140c61492c Modified dump.asm slightly for better commenting
boisy
parents:
diff changeset
498