annotate level1/cmds/grfo.asm @ 924:c155aac72190

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