annotate level1/cmds/grfo.asm @ 26:33ae014c4b25

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