annotate level1/cmds/grfo.asm @ 1325:84ea83668304

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