annotate 3rdparty/drivers/s16550/s16550_large.asm @ 0:6641a883d6b0

Initial revision
author boisy
date Thu, 04 Apr 2002 16:34:12 +0000
parents
children be4e1a676e45
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 * s16550_large - 16550 serial driver
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 * ------------------------------------------------------------------
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
8 * 28 Patched by Bob Brose to fix IRQ poll table BOB ??/??/??
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
9 * duplication bug
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
11 nam s16550
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
12 ttl os9 device driver
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
13
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
14 * Disassembled 02/04/02 22:41:55 by Disasm v1.6 (C) 1988 by RML
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
15
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
16 ifp1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
17 use defsfile
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
18 use scfdefs
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
19 endc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
21 tylg set Drivr+Objct
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
22 atrv set ReEnt+rev
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
23 rev set $01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
24
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
25 mod eom,name,tylg,atrv,start,size
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
26
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
27 u0000 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
28 u0001 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
29 u0003 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
30 u0004 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
31 u0005 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
32 u0006 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
33 u0008 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
34 u0009 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
35 u000A rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
36 u000B rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
37 u000C rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
38 u000D rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
39 u000E rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
40 u000F rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
41 u0010 rmb 4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
42 u0014 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
43 u0016 rmb 3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
44 u0019 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
45 u001B rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
46 u001D rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
47 u001E rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
48 u001F rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
49 u0020 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
50 u0021 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
51 u0022 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
52 u0023 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
53 u0025 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
54 u0027 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
55 u0028 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
56 u0029 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
57 u002A rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
58 u002C rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
59 u002E rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
60 u0030 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
61 u0032 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
62 u0034 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
63 u0035 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
64 u0036 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
65 u0038 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
66 u003A rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
67 u003B rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
68 u003C rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
69 u003E rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
70 u0040 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
71 u0041 rmb 2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
72 u0043 rmb 1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
73 u0044 rmb 52
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
74 u0078 rmb 8
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
75 u0080 rmb 128
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
76 U0100 rmb 0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
77 size equ .
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
78
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
79 fcb $03
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
81 name fcs /s16550/
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
82 fcb 28
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
83
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
84 L0015 fcb $03
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
85
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
86 start lbra Init
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
87 lbra Read
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
88 lbra Write
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
89 lbra GetStat
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
90 lbra SetStat
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
91 lbra Term
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
92
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
93 Init clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
94 pshs dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
95 lbsr L05C3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
96 ldd <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
97 addd #$0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
98 pshs y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
99 leax >L07E0,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
100 leay >L05D7,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
101 os9 F$IRQ
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
102 puls y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
103 bcc L004A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
104 puls a,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
105 orcc #Carry
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
106 puls pc,dp
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
107 L004A lda <$11,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
108 cmpa #$1C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
109 bls L005F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
110 lda <$2E,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
111 anda #$10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
112 sta <u001F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
113 lda <$2E,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
114 anda #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
115 bne L0061
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
116 L005F lda #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
117 L0061 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
118 pshs u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
119 os9 F$SRqMem
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
120 tfr u,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
121 puls u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
122 bcc L0087
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
123 stb $01,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
124 ldx #$0000
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
125 ldd <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
126 addd #$0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
127 pshs y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
128 leay >L05D7,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
129 os9 F$IRQ
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
130 puls y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
131 puls dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
132 orcc #Carry
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
133 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
134 L0087 stx <u0032
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
135 stx <u002C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
136 stx <u002E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
137 std <u0036
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
138 leax d,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
139 stx <u0030
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
140 tfr a,b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
141 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
142 orb #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
143 andb #$0E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
144 lslb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
145 lslb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
146 lslb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
147 lslb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
148 tstb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
149 bpl L00A3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
150 ldb #$80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
151 L00A3 pshs b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
152 ldd <u0036
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
153 subd ,s++
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
154 std <u002A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
155 leax <u0044,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
156 stx <u003E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
157 stx <u0038
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
158 stx <u003A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
159 leax >u0100,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
160 stx <u003C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
161 ldd #$00BC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
162 std <u0041
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
163 clr <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
164 clr <u0035
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
165 clr <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
166 ldd <$26,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
167 std <u001D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
168 lbsr L0318
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
169 ldx <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
170 lda $05,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
171 lda ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
172 lda $05,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
173 lda $06,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
174 anda #$B0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
175 sta <u0020
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
176 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
177 bita #$10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
178 bne L00E2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
179 orb #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
180 L00E2 bita #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
181 bne L00E8
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
182 orb #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
183 L00E8 stb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
184 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
185 lda >L0015,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
186 bmi L00F5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
187 sta >$FF7F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
188 L00F5 lda >$FF23
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
189 anda #$FC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
190 sta >$FF23
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
191 lda >$FF22
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
192 lda >$0092
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
193 ora #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
194 sta >$0092
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
195 sta >$FF92
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
196 puls pc,dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
197 Write clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
198 pshs dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
199 lbsr L05C3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
200 ldx <u0038
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
201 sta ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
202 cmpx <u003C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
203 bcs L011D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
204 ldx <u003E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
205 L011D orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
206 cmpx <u003A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
207 bne L0138
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
208 pshs x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
209 lbsr L05AD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
210 puls x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
211 ldu >$0050
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
212 ldb <u0019,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
213 beq L0136
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
214 cmpb #$03
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
215 bls L013E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
216 L0136 bra L011D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
217 L0138 stx <u0038
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
218 inc <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
219 bsr L0140
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
220 L013E puls pc,dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
221 L0140 lda #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
222 bra L0146
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
223 lda #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
224 L0146 ldx <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
225 sta $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
226 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
227
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
228 Read clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
229 pshs dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
230 lbsr L05C3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
231 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
232 ldd <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
233 beq L0169
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
234 cmpd #$0010
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
235 lbne L018F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
236 andcc #^IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
237 bsr L01BD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
238 L0163 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
239 ldd <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
240 bne L018F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
241 L0169 lbsr L05AD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
242 ldx >$0050
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
243 ldb <$19,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
244 beq L0178
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
245 cmpb #$03
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
246 bls L018A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
247 L0178 ldb $0C,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
248 andb #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
249 bne L018A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
250 ldb <u000E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
251 bne L01A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
252 ldb <u0005
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
253 beq L0163
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
254 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
255 bra L0169
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
256 L018A puls dp,a,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
257 orcc #Carry
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
258 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
259 L018F subd #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
260 std <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
261 ldx <u002E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
262 lda ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
263 cmpx <u0030
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
264 bne L019E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
265 ldx <u0032
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
266 L019E stx <u002E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
267 andcc #^IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
268 ldb <u000E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
269 beq L01BB
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
270 L01A6 stb <$3A,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
271 clr <u000E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
272 puls dp,a,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
273 bitb #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
274 beq L01B6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
275 ldb #$F4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
276 orcc #Carry
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
277 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
278 L01B6 ldb #$DC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
279 orcc #Carry
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
280 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
281 L01BB puls pc,dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
282 L01BD pshs cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
283 ldx <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
284 ldb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
285 bitb #$70
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
286 beq L01D9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
287 bitb #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
288 beq L01DB
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
289 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
290 ldb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
291 andb #$DF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
292 stb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
293 lda $04,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
294 ora #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
295 sta $04,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
296 L01D9 puls pc,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
297 L01DB bitb #$10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
298 beq L01EF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
299 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
300 ldb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
301 andb #$EF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
302 stb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
303 lda $04,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
304 ora #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
305 sta $04,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
306 bra L01D9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
307 L01EF bitb #$40
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
308 beq L01D9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
309 ldb <u000F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
310 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
311 stb <u0043
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
312 lbsr L0140
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
313 ldb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
314 andb #$BF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
315 stb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
316 bra L01D9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
317
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
318 GetStat clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
319 pshs dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
320 lbsr L05C3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
321 cmpa #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
322 bne L0226
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
323 ldd <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
324 beq L021E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
325 tsta
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
326 beq L0217
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
327 ldb #$FF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
328 L0217 ldx $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
329 stb $02,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
330 lbra L0316
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
331 L021E puls b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
332 orcc #Carry
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
333 ldb #$F6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
334 puls pc,dp
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
335 L0226 cmpa #$28
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
336 bne L024E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
337 ldd <u001D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
338 tst <u001F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
339 beq L0236
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
340 bitb #$04
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
341 bne L0236
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
342 andb #$F7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
343 L0236 ldx $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
344 std $08,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
345 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
346 lda <u0020
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
347 bita #$80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
348 bne L0243
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
349 orb #$10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
350 L0243 bita #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
351 bne L0249
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
352 orb #$40
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
353 L0249 stb $02,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
354 lbra L0316
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
355 L024E cmpa #$06
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
356 bne L0256
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
357 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
358 lbra L0316
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
359 L0256 cmpa #$C1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
360 bne L026F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
361 ldx $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
362 ldd #$00BC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
363 std $06,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
364 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
365 ldb <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
366 std $08,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
367 ldb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
368 andb #$07
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
369 stb $02,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
370 lbra L0316
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
371 L026F cmpa #$D0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
372 bne L02DD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
373 ldb <u000E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
374 lbne L01A6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
375 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
376 ldd <u0030
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
377 subd <u002E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
378 cmpd <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
379 bcs L0288
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
380 ldd <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
381 beq L021E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
382 L0288 andcc #^IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
383 ldu $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
384 cmpd u0008,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
385 bls L0293
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
386 ldd u0008,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
387 L0293 std u0008,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
388 beq L02DB
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
389 pshs b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
390 pshs u,y,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
391 std $02,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
392 ldd <u002E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
393 std ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
394 ldd u0006,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
395 std $04,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
396 ldx >$0050
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
397 ldb $06,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
398 lda >$00D0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
399 puls u,y,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
400 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
401 os9 F$Move
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
402 ldd <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
403 subd ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
404 std <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
405 andcc #^IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
406 cmpd #$0010
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
407 bhi L02CD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
408 addd ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
409 cmpd #$0010
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
410 bls L02CD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
411 lbsr L01BD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
412 L02CD puls b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
413 ldx <u002E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
414 leax d,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
415 cmpx <u0030
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
416 bne L02D9
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
417 ldx <u0032
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
418 L02D9 stx <u002E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
419 L02DB bra L0316
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
420 L02DD cmpa #$D2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
421 bne L02F5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
422 ldd #$0B04
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
423 ldy $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
424 std $01,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
425 ldd #$0077
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
426 std $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
427 ldd #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
428 std $08,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
429 bra L0316
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
430 L02F5 cmpa #$26
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
431 bne L030E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
432 ldx $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
433 ldy $03,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
434 ldy $04,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
435 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
436 ldb <$2C,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
437 std $06,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
438 ldb <$2D,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
439 std $08,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
440 bra L0316
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
441 L030E puls b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
442 orcc #Carry
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
443 ldb #$D0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
444 puls pc,dp
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
445 L0316 puls pc,dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
446 L0318 pshs u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
447 tfr b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
448 leau >L07E3,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
449 ldx <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
450 andb #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
451 lslb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
452 lslb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
453 leau b,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
454 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
455 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
456 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
457 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
458 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
459 eora #$03
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
460 anda #$03
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
461 pshs a,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
462 lda <u001D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
463 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
464 lsra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
465 anda #$38
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
466 ora $01,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
467 sta $01,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
468 ora #$80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
469 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
470 sta $03,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
471 ldd ,u++
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
472 exg a,b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
473 std ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
474 lda $01,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
475 sta $03,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
476 ldd ,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
477 sta <u0021
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
478 ora #$06
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
479 sta $02,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
480 stb <u0029
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
481 puls pc,u,a,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
482
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
483 SetStat clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
484 pshs dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
485 lbsr L05C3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
486 cmpa #$D1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
487 lbne L03F5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
488 ldu $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
489 ldx u0006,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
490 ldd u0008,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
491 pshs x,b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
492 beq L03D3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
493 L036F ldd <u003A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
494 cmpd <u003E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
495 bne L037D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
496 ldd <u003C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
497 subd #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
498 bra L0387
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
499 L037D subd #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
500 cmpd <u0038
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
501 bcc L0387
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
502 ldd <u003C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
503 L0387 subd <u0038
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
504 beq L03D8
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
505 cmpd ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
506 bls L0392
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
507 ldd ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
508 L0392 pshs b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
509 ldx >$0050
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
510 lda $06,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
511 ldb >$00D0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
512 ldu <u0038
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
513 ldx $04,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
514 ldy ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
515 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
516 os9 F$Move
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
517 ldd ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
518 ldu <u0038
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
519 leau d,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
520 cmpu <u003C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
521 bcs L03B5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
522 ldu <u003E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
523 L03B5 stu <u0038
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
524 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
525 ldb <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
526 addd ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
527 stb <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
528 andcc #^IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
529 ldd ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
530 ldx $04,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
531 leax d,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
532 stx $04,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
533 ldd $02,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
534 subd ,s++
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
535 std ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
536 bne L036F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
537 lbsr L0140
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
538 L03D3 leas $04,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
539 lbra L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
540 L03D8 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
541 lbsr L0140
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
542 lbsr L05AD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
543 ldx >$0050
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
544 ldb <$19,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
545 beq L03EC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
546 cmpb #$03
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
547 bls L03D3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
548 L03EC ldb $0C,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
549 andb #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
550 bne L03D3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
551 lbra L036F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
552 L03F5 cmpa #$28
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
553 bne L0426
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
554 ldy $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
555 ldd $08,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
556 tst <u001F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
557 beq L0408
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
558 bitb #$04
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
559 bne L0408
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
560 orb #$08
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
561 L0408 std <u001D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
562 lbsr L0318
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
563 clr <u0022
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
564 tst <u000C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
565 bne L0423
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
566 tst <u000B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
567 bne L0423
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
568 tst <u000D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
569 bne L0423
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
570 ldb <u001D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
571 bitb #$04
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
572 bne L0423
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
573 inc <u0022
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
574 L0423 lbra L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
575 L0426 cmpa #$2B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
576 bne L0441
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
577 ldx <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
578 lda $04,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
579 pshs x,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
580 anda #$FE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
581 sta $04,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
582 ldx #$001E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
583 os9 F$Sleep
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
584 puls x,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
585 sta $04,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
586 lbra L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
587 L0441 cmpa #$1D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
588 bne L0491
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
589 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
590 ldx <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
591 lda <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
592 ora #$08
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
593 sta <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
594 lda #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
595 sta $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
596 clr <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
597 ldd <u003E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
598 std <u003A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
599 std <u0038
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
600 lda <u0021
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
601 ora #$04
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
602 sta $02,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
603 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
604 sta ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
605 L0464 lda $05,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
606 anda #$40
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
607 bne L0476
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
608 andcc #^IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
609 ldx #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
610 os9 F$Sleep
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
611 ldx <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
612 bra L0464
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
613 L0476 lda $03,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
614 ora #$40
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
615 sta $03,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
616 ldx #$001E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
617 os9 F$Sleep
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
618 ldx <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
619 anda #$BF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
620 sta $03,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
621 lda <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
622 anda #$F7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
623 sta <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
624 lbra L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
625 L0491 cmpa #$C2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
626 bne L04A7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
627 ldb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
628 andb #$F8
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
629 stb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
630 tst <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
631 lbeq L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
632 lbsr L0140
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
633 lbra L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
634 L04A7 cmpa #$1A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
635 bne L04C4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
636 lda $05,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
637 ldy $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
638 ldb $07,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
639 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
640 ldx <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
641 bne L04BD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
642 std <u0025
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
643 lbra L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
644 L04BD puls cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
645 os9 F$Send
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
646 puls pc,dp,b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
647 L04C4 cmpa #$1B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
648 bne L04D5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
649 lda $05,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
650 cmpa <u0025
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
651 bne L04D2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
652 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
653 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
654 std <u0025
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
655 L04D2 lbra L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
656 L04D5 cmpa #$9A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
657 bne L04E4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
658 lda $05,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
659 ldy $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
660 ldb $07,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
661 std <u0023
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
662 bra L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
663 L04E4 cmpa #$9B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
664 bne L04F6
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
665 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
666 lda $05,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
667 cmpa <u0023
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
668 bne L04F4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
669 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
670 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
671 std <u0023
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
672 L04F4 bra L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
673 L04F6 cmpa #$2A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
674 lbne L0511
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
675 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
676 lda $05,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
677 ldx #$0000
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
678 cmpa <u0025
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
679 bne L0509
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
680 stx <u0025
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
681 L0509 cmpa <u0023
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
682 bne L050F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
683 stx <u0023
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
684 L050F bra L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
685 L0511 cmpa #$C3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
686 bne L052B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
687 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
688 ldb #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
689 stb $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
690 ldd <u003E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
691 std <u0038
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
692 std <u003A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
693 clr <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
694 ldb <u0021
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
695 orb #$04
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
696 stb $02,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
697 bra L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
698 L052B cmpa #$29
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
699 bne L053B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
700 ldx <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
701 lda #$03
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
702 sta $04,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
703 ldb #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
704 stb $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
705 bra L0543
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
706 L053B puls b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
707 orcc #Carry
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
708 ldb #$D0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
709 puls pc,dp
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
710 L0543 puls pc,dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
711
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
712 Term clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
713 pshs dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
714 lbsr L05C3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
715 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
716 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
717 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
718 std <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
719 ldx <u0032
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
720 stx <u002C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
721 stx <u002E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
722 pshs x,b,a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
723 ldb $04,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
724 tfr b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
725 ldx >$0050
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
726 lda ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
727 sta <u0004
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
728 sta <u0003
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
729 L0566 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
730 tst <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
731 bne L0576
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
732 ldx <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
733 ldb $05,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
734 eorb #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
735 andb #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
736 beq L0585
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
737 L0576 orcc #IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
738 lbsr L05AD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
739 ldd $02,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
740 std <u002C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
741 ldd ,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
742 std <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
743 bra L0566
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
744 L0585 leas $04,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
745 clr $01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
746 clr $04,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
747 andcc #^IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
748 ldd <u0036
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
749 pshs u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
750 ldu <u0032
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
751 os9 F$SRtMem
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
752 puls u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
753 ldx #$0000
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
754 ldd <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
755 addd #$0002
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
756 pshs y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
757 leay >L05D7,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
758 os9 F$IRQ
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
759 puls y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
760 puls pc,dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
761 L05AD ldd >$0050
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
762 sta <u0005
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
763 tfr d,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
764 lda $0C,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
765 ora #$08
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
766 sta $0C,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
767 andcc #^IntMasks
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
768 ldx #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
769 os9 F$Sleep
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
770 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
771 L05C3 pshs u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
772 puls dp
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
773 leas $01,s
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
774 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
775
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
776 L05CA fdb $0160,$0115,$001b,$01bb,$0004,$0004,$002a
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
777
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
778 * IRQ Service Routine
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
779 L05D7 fcb $5f
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
780 L05D8 pshs dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
781 bsr L05C3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
782 clr <u0027
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
783 ldy <u0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
784 ldb $02,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
785 bitb #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
786 beq L05F4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
787 tfr a,b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
788 andb #$0E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
789 bne L05F4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
790 puls cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
791 orcc #Carry
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
792 puls pc,dp
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
793 L05F4 leax >L05CA,pcr
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
794 andb #$0E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
795 abx
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
796 tfr pc,d
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
797 addd ,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
798 tfr d,pc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
799 L0601 ldb $02,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
800 bitb #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
801 beq L05F4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
802 lda <u0005
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
803 beq L0616
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
804 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
805 stb <u0005
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
806 tfr d,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
807 lda $0C,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
808 anda #$F7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
809 sta $0C,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
810 L0616 puls pc,dp,b,cc
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
811 ldx <u002C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
812 lda $05,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
813 bmi L062B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
814 ldb <u0029
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
815 L0620 bsr L0651
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
816 decb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
817 bne L0620
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
818 bra L0629
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
819 ldx <u002C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
820 L0629 lda $05,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
821 L062B bita #$1E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
822 beq L0634
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
823 lbsr L07BF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
824 bra L0629
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
825 L0634 bita #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
826 beq L063C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
827 L0638 bsr L0651
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
828 bra L0629
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
829 L063C tst <u0027
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
830 bne L064D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
831 ldd <u0025
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
832 beq L064D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
833 stb <u0027
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
834 os9 F$Send
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
835 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
836 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
837 std <u0025
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
838 L064D stx <u002C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
839 bra L0601
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
840 L0651 lda ,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
841 beq L0679
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
842 tst <u0022
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
843 bne L0679
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
844 cmpa <u000C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
845 bne L0662
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
846 lda #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
847 lbra L06FD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
848 L0662 cmpa <u000B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
849 bne L066B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
850 lda #$03
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
851 lbra L06FD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
852 L066B cmpa <u000F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
853 beq L06E3
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
854 cmpa <u0010
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
855 beq L06F2
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
856 cmpa <u000D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
857 lbeq L070A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
858 L0679 pshs b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
859 sta ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
860 cmpx <u0030
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
861 bne L0683
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
862 ldx <u0032
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
863 L0683 cmpx <u002E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
864 bne L0697
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
865 ldb #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
866 orb <u000E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
867 stb <u000E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
868 cmpx <u0032
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
869 bne L0693
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
870 ldx <u0030
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
871 L0693 leax -$01,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
872 bra L06A5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
873 L0697 stx <u002C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
874 ldd <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
875 addd #$0001
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
876 std <u0034
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
877 cmpd <u002A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
878 beq L06A7
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
879 L06A5 puls pc,b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
880 L06A7 ldb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
881 bitb #$70
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
882 bne L06A5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
883 lda <u001D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
884 bita #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
885 beq L06BF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
886 orb #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
887 stb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
888 lda $04,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
889 anda #$FD
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
890 sta $04,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
891 bra L06A5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
892 L06BF bita #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
893 beq L06CF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
894 orb #$10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
895 stb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
896 lda $04,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
897 anda #$FE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
898 sta $04,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
899 bra L06A5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
900 L06CF bita #$08
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
901 beq L06A5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
902 orb #$40
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
903 stb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
904 lda <u0010
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
905 beq L06A5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
906 sta <u0043
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
907 ldb #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
908 stb $01,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
909 bra L06A5
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
910 L06E3 lda <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
911 anda #$FB
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
912 sta <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
913 tst <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
914 beq L06F1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
915 lda #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
916 sta $01,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
917 L06F1 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
918 L06F2 lda <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
919 ora #$04
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
920 sta <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
921 lda #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
922 sta $01,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
923 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
924 L06FD pshs b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
925 tfr a,b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
926 lda <u0003
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
927 stb <u0027
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
928 os9 F$Send
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
929 puls pc,b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
930 L070A ldu <u0009
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
931 beq L0711
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
932 sta <u0008,u
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
933 L0711 rts
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
934 ldx <u003A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
935 lda <u0043
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
936 ble L071E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
937 sta ,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
938 anda #$80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
939 sta <u0043
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
940 L071E tst <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
941 beq L0757
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
942 ldb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
943 bitb #$08
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
944 bne L0757
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
945 andb #$07
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
946 andb <u001D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
947 bne L0757
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
948 ldb <u003B
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
949 negb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
950 cmpb #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
951 bls L0737
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
952 ldb #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
953 L0737 cmpb <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
954 bls L073D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
955 ldb <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
956 L073D pshs b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
957 L073F lda ,x+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
958 sta ,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
959 decb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
960 bne L073F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
961 cmpx <u003C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
962 bcs L074C
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
963 ldx <u003E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
964 L074C stx <u003A
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
965 ldb <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
966 subb ,s+
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
967 stb <u0040
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
968 L0754 lbra L0601
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
969 L0757 lda #$0D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
970 sta $01,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
971 bra L0754
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
972 lda $06,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
973 tfr a,b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
974 andb #$B0
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
975 stb <u0020
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
976 ldb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
977 andb #$FC
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
978 bita #$10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
979 bne L076F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
980 orb #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
981 L076F bita #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
982 bne L0775
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
983 orb #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
984 L0775 bita #$08
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
985 beq L07AF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
986 bita #$80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
987 bne L0799
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
988 lda <u001D
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
989 bita #$10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
990 beq L0791
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
991 ldx <u0016
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
992 beq L0791
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
993 lda #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
994 L0789 sta <$3F,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
995 ldx <$3D,x
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
996 bne L0789
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
997 L0791 lda #$20
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
998 ora <u000E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
999 sta <u000E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1000 andb #$FB
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1001 L0799 tst <u0027
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1002 bne L07AF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1003 stb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1004 ldd <u0023
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1005 tstb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1006 beq L07B1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1007 os9 F$Send
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1008 stb <u0027
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1009 clra
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1010 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1011 std <u0023
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1012 bra L07B1
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1013 L07AF stb <u0028
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1014 L07B1 lda #$0F
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1015 sta $01,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1016 lbra L0601
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1017 lda $05,y
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1018 bsr L07BF
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1019 lbra L0601
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1020 L07BF pshs b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1021 clrb
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1022 bita #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1023 beq L07C8
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1024 orb #$04
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1025 L07C8 bita #$04
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1026 beq L07CE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1027 orb #$01
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1028 L07CE bita #$08
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1029 beq L07D4
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1030 orb #$02
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1031 L07D4 bita #$10
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1032 bne L07DE
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1033 orb #$08
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1034 orb <u000E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1035 stb <u000E
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1036 L07DE puls pc,b
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1037
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1038 * IRQ Flip/Mask/Priority Bytes
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1039 L07E0 fcb $01,$01,$80
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1040 L07E3 fcb $28
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1041 fdb $e901,$010f,$0001,$0107,$8041,$0403
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1042 fdb $c081,$0801,$e0c1,$0e00,$f0c1,$0e00,$78c1,$0e00
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1043 fdb $3c81,$0800,$1e81,$0800,$1481,$0800,$0f81,$0800
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1044 fdb $0a81,$0800,$0a81,$0800,$0a81,$0800,$0a81,$0800
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1045 fdb $2581
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1046 fcb $08
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1047
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1048 emod
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1049 eom equ *
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1050 end
6641a883d6b0 Initial revision
boisy
parents:
diff changeset
1051