Last change
on this file since 4b63bf3 was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
File size:
4.1 KB
|
Line | |
---|
1 | .globl _io_time
|
---|
2 | .globl _io_lcd
|
---|
3 | .globl _io_ser
|
---|
4 | .globl _io_midi
|
---|
5 | .globl _io_disk
|
---|
6 | .globl _io_tone
|
---|
7 | .globl _io_leds
|
---|
8 | .globl _io_kbrd
|
---|
9 | .globl _lcd_a0
|
---|
10 | .globl _lcd_a1
|
---|
11 | .globl _io_vreg
|
---|
12 | .globl _io_vraw
|
---|
13 | .globl _io_vram
|
---|
14 | .globl _io_fpu
|
---|
15 | .globl _v_regs
|
---|
16 | .globl _v_odtab
|
---|
17 | .globl _v_actab
|
---|
18 | .globl _v_ct0
|
---|
19 | .globl _v_gt1
|
---|
20 | .globl _v_score
|
---|
21 | .globl _v_cgtab
|
---|
22 | .globl _v_curs0
|
---|
23 | .globl _v_curs1
|
---|
24 | .globl _v_curs2
|
---|
25 | .globl _v_curs3
|
---|
26 | .globl _v_curs4
|
---|
27 | .globl _v_curs5
|
---|
28 | .globl _v_curs6
|
---|
29 | .globl _v_curs7
|
---|
30 | .globl _v_tcur
|
---|
31 | .globl _v_kbobj
|
---|
32 | .globl _v_lnobj
|
---|
33 | .globl _v_win0
|
---|
34 | .globl _v_cur
|
---|
35 | .globl _fc_sw
|
---|
36 | .globl _fc_val
|
---|
37 | .globl _ebflag
|
---|
38 | .globl _ebuf
|
---|
39 | .globl _curfet
|
---|
40 | .globl _cfetp
|
---|
41 | .globl _infetp
|
---|
42 | .globl _scopec
|
---|
43 | .comm _scopec,2
|
---|
44 | .globl _scopef
|
---|
45 | .comm _scopef,2
|
---|
46 | .globl _scoper
|
---|
47 | .comm _scoper,2
|
---|
48 | .globl _scopev
|
---|
49 | .comm _scopev,2
|
---|
50 | .globl _scopeob
|
---|
51 | .comm _scopeob,4
|
---|
52 | .globl _scopebf
|
---|
53 | .comm _scopebf,66
|
---|
54 | .globl _astat
|
---|
55 | .globl _ndisp
|
---|
56 | .globl _scorpal
|
---|
57 | .globl _crate1
|
---|
58 | .globl _dt_flds
|
---|
59 | .data
|
---|
60 | _dt_flds:
|
---|
61 | *line 48
|
---|
62 | .dc.l _nokey
|
---|
63 | *line 49
|
---|
64 | .dc.l _nokey
|
---|
65 | *line 50
|
---|
66 | .dc.l _nokey
|
---|
67 | *line 51
|
---|
68 | .dc.l _nokey
|
---|
69 | *line 52
|
---|
70 | .dc.l _nokey
|
---|
71 | *line 53
|
---|
72 | .dc.l _nokey
|
---|
73 | *line 54
|
---|
74 | .dc.l _nokey
|
---|
75 | *line 55
|
---|
76 | .dc.l _nokey
|
---|
77 | *line 56
|
---|
78 | .dc.l _nokey
|
---|
79 | *line 57
|
---|
80 | .dc.l _nokey
|
---|
81 | *line 58
|
---|
82 | .dc.l _scptogl
|
---|
83 | *line 59
|
---|
84 | .dc.l _stdmkey
|
---|
85 | *line 60
|
---|
86 | .dc.l _nokey
|
---|
87 | *line 61
|
---|
88 | .dc.l _nokey
|
---|
89 | .dc.l $0
|
---|
90 | .dc.l $0
|
---|
91 | *line 64
|
---|
92 | .dc.l _crate1
|
---|
93 | *line 65
|
---|
94 | .dc.l _crate1
|
---|
95 | .dc.w $0
|
---|
96 | .dc.w $0
|
---|
97 | .dc.w $0
|
---|
98 | .globl _scope
|
---|
99 | .text
|
---|
100 | _scope:
|
---|
101 | ~~scope:
|
---|
102 | ~val=R7
|
---|
103 | link R14,#0
|
---|
104 | movem.l R5-R7/R13-R13,-(sp)
|
---|
105 | ~i=R6
|
---|
106 | ~bp=R13
|
---|
107 | *line 84
|
---|
108 | move.l #_scopebf,R13
|
---|
109 | *line 86
|
---|
110 | move 8(R14),R7
|
---|
111 | *line 86
|
---|
112 | *line 87
|
---|
113 | cmp #11,_ndisp
|
---|
114 | bne L1
|
---|
115 | tst _scopef
|
---|
116 | beq L1
|
---|
117 | *line 88
|
---|
118 | *line 89
|
---|
119 | move #20,(sp)
|
---|
120 | move.l #_scopebf,-(sp)
|
---|
121 | move _scopec,-(sp)
|
---|
122 | move _scoper,-(sp)
|
---|
123 | move.l _scopeob,-(sp)
|
---|
124 | jsr _vputs
|
---|
125 | adda.l #12,sp
|
---|
126 | add #1,_scoper
|
---|
127 | *line 91
|
---|
128 | move.b #32,(R13)+
|
---|
129 | *line 93
|
---|
130 | *line 93
|
---|
131 | cmp #24,_scoper
|
---|
132 | ble L2
|
---|
133 | *line 94
|
---|
134 | *line 95
|
---|
135 | clr _scoper
|
---|
136 | *line 96
|
---|
137 | add #12,_scopec
|
---|
138 | *line 97
|
---|
139 | *line 98
|
---|
140 | *line 99
|
---|
141 | cmp #60,_scopec
|
---|
142 | blt L3
|
---|
143 | *line 99
|
---|
144 | clr _scopec
|
---|
145 | L3:
|
---|
146 | *line 100
|
---|
147 | *line 101
|
---|
148 | L2:
|
---|
149 | *line 102
|
---|
150 | move R7,_scopev
|
---|
151 | *line 104
|
---|
152 | clr R6
|
---|
153 | bra L6
|
---|
154 | L7:
|
---|
155 | *line 105
|
---|
156 | *line 106
|
---|
157 | clr R0
|
---|
158 | move R7,R0
|
---|
159 | move #128,R1
|
---|
160 | move R6,R2
|
---|
161 | asr R2,R1
|
---|
162 | and R1,R0
|
---|
163 | beq L8
|
---|
164 | *line 106
|
---|
165 | move.b #49,(R13)+
|
---|
166 | *line 107
|
---|
167 | bra L9
|
---|
168 | L8:
|
---|
169 | *line 108
|
---|
170 | move.b #48,(R13)+
|
---|
171 | L9:L5:
|
---|
172 | *line 104
|
---|
173 | add #1,R6
|
---|
174 | L6:
|
---|
175 | *line 104
|
---|
176 | cmp #4,R6
|
---|
177 | blt L7
|
---|
178 | L4:
|
---|
179 | *line 110
|
---|
180 | move.b #32,(R13)+
|
---|
181 | *line 112
|
---|
182 | move #4,R6
|
---|
183 | bra L12
|
---|
184 | L13:
|
---|
185 | *line 113
|
---|
186 | *line 114
|
---|
187 | clr R0
|
---|
188 | move R7,R0
|
---|
189 | move #128,R1
|
---|
190 | move R6,R2
|
---|
191 | asr R2,R1
|
---|
192 | and R1,R0
|
---|
193 | beq L14
|
---|
194 | *line 114
|
---|
195 | move.b #49,(R13)+
|
---|
196 | *line 115
|
---|
197 | bra L15
|
---|
198 | L14:
|
---|
199 | *line 116
|
---|
200 | move.b #48,(R13)+
|
---|
201 | L15:L11:
|
---|
202 | *line 112
|
---|
203 | add #1,R6
|
---|
204 | L12:
|
---|
205 | *line 112
|
---|
206 | cmp #8,R6
|
---|
207 | blt L13
|
---|
208 | L10:
|
---|
209 | *line 118
|
---|
210 | move.b #32,(R13)+
|
---|
211 | *line 119
|
---|
212 | clr.b (R13)
|
---|
213 | *line 121
|
---|
214 | move #84,(sp)
|
---|
215 | move.l #_scopebf,-(sp)
|
---|
216 | move _scopec,-(sp)
|
---|
217 | move _scoper,-(sp)
|
---|
218 | move.l _scopeob,-(sp)
|
---|
219 | jsr _vputs
|
---|
220 | adda.l #12,sp
|
---|
221 | L1:tst.l (sp)+
|
---|
222 | movem.l (sp)+,R6-R7/R13-R13
|
---|
223 | unlk R14
|
---|
224 | rts
|
---|
225 | .globl _scptogl
|
---|
226 | .text
|
---|
227 | _scptogl:
|
---|
228 | ~~scptogl:
|
---|
229 | link R14,#-4
|
---|
230 | *line 135
|
---|
231 | *line 136
|
---|
232 | tst _astat
|
---|
233 | beq L16
|
---|
234 | *line 137
|
---|
235 | *line 138
|
---|
236 | tst _scopef
|
---|
237 | beq L10000
|
---|
238 | clr R0
|
---|
239 | bra L10001
|
---|
240 | L10000:move #1,R0
|
---|
241 | L10001:move R0,_scopef
|
---|
242 | L16:unlk R14
|
---|
243 | rts
|
---|
244 | .globl _scopeon
|
---|
245 | .text
|
---|
246 | _scopeon:
|
---|
247 | ~~scopeon:
|
---|
248 | link R14,#-4
|
---|
249 | *line 152
|
---|
250 | move.l #_v_score,_scopeob
|
---|
251 | *line 154
|
---|
252 | move.l #_dt_flds,(sp)
|
---|
253 | jsr _curset
|
---|
254 | *line 156
|
---|
255 | clr _scopec
|
---|
256 | *line 157
|
---|
257 | move #1,_scopef
|
---|
258 | *line 158
|
---|
259 | clr _scoper
|
---|
260 | *line 159
|
---|
261 | clr _scopev
|
---|
262 | *line 161
|
---|
263 | move.l #L18,(sp)
|
---|
264 | move.l #_scopebf,-(sp)
|
---|
265 | jsr _strcpy
|
---|
266 | addq.l #4,sp
|
---|
267 | *line 163
|
---|
268 | jsr _dswap
|
---|
269 | *line 165
|
---|
270 | clr (sp)
|
---|
271 | jsr _vbank
|
---|
272 | *line 167
|
---|
273 | move #32767,(sp)
|
---|
274 | clr -(sp)
|
---|
275 | move.l _scopeob,-(sp)
|
---|
276 | jsr _memsetw
|
---|
277 | addq.l #6,sp
|
---|
278 | *line 168
|
---|
279 | move #12033,(sp)
|
---|
280 | clr -(sp)
|
---|
281 | move.l _scopeob,R0
|
---|
282 | add.l #$fffe,R0
|
---|
283 | move.l R0,-(sp)
|
---|
284 | jsr _memsetw
|
---|
285 | addq.l #6,sp
|
---|
286 | *line 170
|
---|
287 | move #-1,(sp)
|
---|
288 | move #72,-(sp)
|
---|
289 | clr -(sp)
|
---|
290 | clr -(sp)
|
---|
291 | move #350,-(sp)
|
---|
292 | move #512,-(sp)
|
---|
293 | move.l _scopeob,-(sp)
|
---|
294 | clr -(sp)
|
---|
295 | move #1,-(sp)
|
---|
296 | clr -(sp)
|
---|
297 | jsr _SetObj
|
---|
298 | adda.l #20,sp
|
---|
299 | *line 171
|
---|
300 | move.l #_scorpal,(sp)
|
---|
301 | jsr _vsndpal
|
---|
302 | *line 173
|
---|
303 | move #15,(sp)
|
---|
304 | clr -(sp)
|
---|
305 | jsr _SetPri
|
---|
306 | addq.l #2,sp
|
---|
307 | L17:unlk R14
|
---|
308 | rts
|
---|
309 | .data
|
---|
310 | L18:.dc.b $20,$3F,$3F,$3F,$3F,$20,$3F,$3F,$3F,$3F,$20,$0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.