annotate level1/cmds/grfo.asm @ 228:a7d1dd92b04f

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