annotate level1/modules/co80.asm @ 253:762792d92c57

Slight changes to source
author boisy
date Sat, 20 Jul 2002 04:43:05 +0000
parents 668388823050
children 10957d54bf16
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1 ********************************************************************
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
2 * CO80 - WordPak 80-RS co-driver for CCIO
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
3 *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
4 * $Id$
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
5 *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
6 * Ed. Comments Who YY/MM/DD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
7 * ------------------------------------------------------------------
201
668388823050 Fixed headers to be consistent
boisy
parents: 0
diff changeset
8 * 2 From Tandy OS-9 Level One VR 02.00.00
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10 nam CO80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 ttl WordPak 80-RS co-driver for CCIO
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13 * Disassembled 98/08/23 17:58:20 by Disasm v1.6 (C) 1988 by RML
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15 ifp1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 use defsfile
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 endc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 tylg set Systm+Objct
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20 atrv set ReEnt+rev
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 rev set $01
201
668388823050 Fixed headers to be consistent
boisy
parents: 0
diff changeset
22 edition set 2
0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24 mod eom,name,tylg,atrv,start,size
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26 u0000 rmb 0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 size equ .
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 fcb $06
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 name fcs /CO80/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 fcb edition
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 start lbra L0022
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 lbra L0083
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 lbra L0054
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 lbra L007F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 lbra L004A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 L0022 ldx #$FF78
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 lda #$06
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 sta $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 sta ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 lda #$08
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 sta $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 clr ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 lda #$0E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 sta $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 clr ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 lbsr L0152
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 lbsr L0229
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 ldd #$07D0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 lbsr L0189
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52 ldb <$70,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 orb #$04
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 bra L004F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55 L004A ldb <$70,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 andb #$FB
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 L004F stb <$70,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60 L0054 cmpa #$25
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 bne L007F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 ldy $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 ldb <$58,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 addb #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 std $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 ldb <$59,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 addb #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69 std $04,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 ldx #$FF78
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 lda #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72 sta $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 lbsr L0174
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
74 lda ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75 lbsr L0174
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76 lda ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
77 sta $01,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
78 L007D clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
79 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80 L007F ldb #E$UnkSvc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
81 coma
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
82 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
83 L0083 ldx #$FF78
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
84 cmpa #$0E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
85 bcs L00B6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
86 cmpa #$1E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
87 bcs L007D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
88 cmpa #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
89 lbcs L01F2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
90 cmpa #$7F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
91 bcs L0106
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
92 cmpa #$C0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
93 bls L00A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
94 anda #$1F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
95 suba #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
96 cmpa #$19
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
97 bhi L00B2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
98 bra L0106
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
99 L00A6 cmpa #$AA
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
100 bcs L00B2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
101 ora #$10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
102 anda #$1F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
103 cmpa #$1A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
104 bcc L0106
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
105 L00B2 lda #$7F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
106 bra L0106
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
107 L00B6 leax >L00C5,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
108 lsla
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
109 ldd a,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
110 leax d,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
111 pshs x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
112 ldx #$FF78
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
113 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
114 L00C5 fcb $ff,$b8,$00,$8d,$00,$dd,$00,$b4,$00,$b6,$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
115 fcb $4c,$00,$50,$ff,$b8,$00,$1c,$00,$2e,$00,$5c
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
116 fcb $00,$c1,$00,$bf,$00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
117 fcb $3c,$ec,$c8,$58,$26,$02,$5f,$39
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
118 L00E8 decb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
119 bge L00EE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
120 ldb #$4F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
121 deca
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
122 L00EE std <$58,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
123 bra L014F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
124 lda <$58,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
125 beq L00FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
126 deca
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
127 sta <$58,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
128 lbra L01CC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
129 L00FF clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
130 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
131 L0101 clr <$59,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
132 bra L014C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
133 L0106 ora <$5A,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
134 pshs a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
135 bsr L0174
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
136 puls a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
137 ldb #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
138 stb $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
139 sta ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
140 inc <$59,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
141 lda <$59,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
142 cmpa #$4F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
143 ble L014C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
144 bsr L0101
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
145 lda <$58,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
146 cmpa #$17
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
147 bge L012E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
148 inca
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
149 sta <$58,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
150 bra L014F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
151 L012E ldd <$54,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
152 lbsr L01DC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
153 ldd <$54,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
154 addd #$0050
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
155 bsr L0161
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
156 std <$54,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
157 bsr L018E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
158 ldd <$54,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
159 bsr L016B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
160 lda #$08
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
161 sta $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
162 stb ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
163 L014C lda <$58,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
164 L014F lbra L01CC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
165 L0152 clr <$58,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
166 clr <$59,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
167 ldd <$54,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
168 std <$56,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
169 lbra L01DC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
170 L0161 cmpd #$07D0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
171 blt L016A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
172 subd #$07D0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
173 L016A rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
174 L016B lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
175 rorb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
176 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
177 rorb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
178 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
179 rorb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
180 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
181 rorb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
182 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
183 L0174 lda $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
184 bpl L0174
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
185 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
186 bsr L0101
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
187 lda <$58,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
188 inca
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
189 ldb #$50
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
190 mul
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
191 bra L0189
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
192 bsr L0152
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
193 ldd #$0780
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
194 L0189 addd <$54,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
195 bsr L0161
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
196 L018E bsr L016B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
197 bsr L0174
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
198 lda #$0B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
199 sta $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
200 stb ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
201 lda #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
202 sta $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
203 lda #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
204 sta ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
205 L01A0 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
206 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
207 leax >L01B0,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
208 ldb #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
209 L01A8 stx <$26,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
210 stb <$25,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
211 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
212 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
213 L01B0 ldx #$FF78
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
214 lda <$29,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
215 ldb <$28,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
216 subb #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
217 blt L01A0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
218 cmpb #$4F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
219 bgt L01A0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
220 suba #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
221 blt L01A0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
222 cmpa #$17
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
223 bgt L01A0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
224 std <$58,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
225 L01CC ldb #$50
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
226 mul
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
227 addb <$59,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
228 adca #$00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
229 addd <$54,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
230 bsr L0161
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
231 std <$56,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
232 L01DC pshs b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
233 bsr L0174
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
234 lda #$0A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
235 sta $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
236 lda ,s+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
237 sta ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
238 lda #$09
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
239 sta $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
240 lda ,s+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
241 sta ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
242 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
243 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
244 L01F2 cmpa #$1F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
245 bne L0201
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
246 lda <$29,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
247 cmpa #$21
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
248 beq L0205
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
249 cmpa #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
250 beq L020C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
251 L0201 comb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
252 ldb #E$Write
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
253 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
254 L0205 lda #$80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
255 sta <$5A,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
256 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
257 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
258 L020C clr <$5A,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
259 L020F clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
260 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
261 leax >L0219,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
262 ldb #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
263 bra L01A8
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
264 L0219 ldx #$FF78
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
265 lda <$29,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
266 cmpa #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
267 blt L0201
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
268 beq L022D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
269 cmpa #$2A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
270 bgt L020F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
271 L0229 lda #$05
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
272 bra L022F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
273 L022D lda #$45
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
274 L022F ldb #$0C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
275 stb $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
276 sta ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
277 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
278 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
279
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
280 emod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
281 eom equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
282 end
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
283