Last change
on this file since 4810254 was 7bf3856, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Added Alcyon C reference output.
|
-
Property mode
set to
100644
|
File size:
5.9 KB
|
Rev | Line | |
---|
[7bf3856] | 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 _ac_code
|
---|
| 38 | .globl _scname
|
---|
| 39 | .globl _se_chg
|
---|
| 40 | .globl _curscor
|
---|
| 41 | .globl _cursect
|
---|
| 42 | .globl _se1_cnt
|
---|
| 43 | .globl _se2_cnt
|
---|
| 44 | .globl _se3_cnt
|
---|
| 45 | .globl _spool
|
---|
| 46 | .globl _pspool
|
---|
| 47 | .globl _spcount
|
---|
| 48 | .globl _frags
|
---|
| 49 | .globl _t_bak
|
---|
| 50 | .globl _t_cur
|
---|
| 51 | .globl _t_ctr
|
---|
| 52 | .globl _t_fwd
|
---|
| 53 | .globl _size1
|
---|
| 54 | .globl _size2
|
---|
| 55 | .globl _size3
|
---|
| 56 | .globl _scores
|
---|
| 57 | .globl _scp
|
---|
| 58 | .globl _seclist
|
---|
| 59 | .globl _hplist
|
---|
| 60 | .globl _p_bak
|
---|
| 61 | .globl _p_cur
|
---|
| 62 | .globl _p_ctr
|
---|
| 63 | .globl _p_fwd
|
---|
| 64 | .globl _sd
|
---|
| 65 | .globl _se
|
---|
| 66 | .globl _gdstbc
|
---|
| 67 | .globl _gdstbn
|
---|
| 68 | .globl _gdstbp
|
---|
| 69 | .globl _chgsef
|
---|
| 70 | .text
|
---|
| 71 | _chgsef:
|
---|
| 72 | ~~chgsef:
|
---|
| 73 | link R14,#0
|
---|
| 74 | movem.l R6-R7/R13-R13,-(sp)
|
---|
| 75 | ~ep=R13
|
---|
| 76 | ~rt=R7
|
---|
| 77 | *line 41
|
---|
| 78 | clr _se
|
---|
| 79 | *line 43
|
---|
| 80 | move.l _p_cur,R13
|
---|
| 81 | *line 44
|
---|
| 82 | move.l _t_cur,R7
|
---|
| 83 | *line 46
|
---|
| 84 | *line 46
|
---|
| 85 | cmp.b #21,5(R13)
|
---|
| 86 | beq L2
|
---|
| 87 | *line 47
|
---|
| 88 | *line 48
|
---|
| 89 | move.l 12(R13),R13
|
---|
| 90 | *line 49
|
---|
| 91 | *line 50
|
---|
| 92 | bra L5
|
---|
| 93 | L4:
|
---|
| 94 | *line 51
|
---|
| 95 | *line 52
|
---|
| 96 | *line 53
|
---|
| 97 | cmp.b #21,5(R13)
|
---|
| 98 | beq L3
|
---|
| 99 | *line 54
|
---|
| 100 | *line 55
|
---|
| 101 | move _se,(sp)
|
---|
| 102 | move.l R13,-(sp)
|
---|
| 103 | jsr _se_exec
|
---|
| 104 | addq.l #4,sp
|
---|
| 105 | *line 56
|
---|
| 106 | move.l 12(R13),R13
|
---|
| 107 | L5:
|
---|
| 108 | *line 57
|
---|
| 109 | cmp.l (R13),R7
|
---|
| 110 | beq L4
|
---|
| 111 | L3:
|
---|
| 112 | *line 58
|
---|
| 113 | *line 59
|
---|
| 114 | move.l R13,_p_cur
|
---|
| 115 | *line 60
|
---|
| 116 | L2:L1:tst.l (sp)+
|
---|
| 117 | movem.l (sp)+,R7-R7/R13-R13
|
---|
| 118 | unlk R14
|
---|
| 119 | rts
|
---|
| 120 | .globl _chgseb
|
---|
| 121 | .text
|
---|
| 122 | _chgseb:
|
---|
| 123 | ~~chgseb:
|
---|
| 124 | link R14,#0
|
---|
| 125 | movem.l R6-R7/R13-R13,-(sp)
|
---|
| 126 | ~ep=R13
|
---|
| 127 | ~rt=R7
|
---|
| 128 | *line 74
|
---|
| 129 | move #1,_se
|
---|
| 130 | *line 76
|
---|
| 131 | move.l _p_cur,R13
|
---|
| 132 | *line 77
|
---|
| 133 | move.l _t_cur,R7
|
---|
| 134 | *line 79
|
---|
| 135 | *line 79
|
---|
| 136 | cmp.b #1,5(R13)
|
---|
| 137 | beq L7
|
---|
| 138 | *line 80
|
---|
| 139 | *line 81
|
---|
| 140 | move.l 8(R13),R13
|
---|
| 141 | *line 82
|
---|
| 142 | *line 83
|
---|
| 143 | bra L10
|
---|
| 144 | L9:
|
---|
| 145 | *line 84
|
---|
| 146 | *line 85
|
---|
| 147 | *line 86
|
---|
| 148 | cmp.b #1,5(R13)
|
---|
| 149 | beq L8
|
---|
| 150 | *line 87
|
---|
| 151 | *line 88
|
---|
| 152 | move _se,(sp)
|
---|
| 153 | move.l R13,-(sp)
|
---|
| 154 | jsr _se_exec
|
---|
| 155 | addq.l #4,sp
|
---|
| 156 | *line 89
|
---|
| 157 | move.l 8(R13),R13
|
---|
| 158 | L10:
|
---|
| 159 | *line 90
|
---|
| 160 | cmp.l (R13),R7
|
---|
| 161 | beq L9
|
---|
| 162 | L8:
|
---|
| 163 | *line 91
|
---|
| 164 | *line 92
|
---|
| 165 | move.l R13,_p_cur
|
---|
| 166 | *line 93
|
---|
| 167 | L7:L6:tst.l (sp)+
|
---|
| 168 | movem.l (sp)+,R7-R7/R13-R13
|
---|
| 169 | unlk R14
|
---|
| 170 | rts
|
---|
| 171 | .globl _chgsdf
|
---|
| 172 | .text
|
---|
| 173 | _chgsdf:
|
---|
| 174 | ~~chgsdf:
|
---|
| 175 | link R14,#0
|
---|
| 176 | movem.l R6-R7/R13-R13,-(sp)
|
---|
| 177 | ~ep=R13
|
---|
| 178 | ~rt=R7
|
---|
| 179 | *line 107
|
---|
| 180 | clr _sd
|
---|
| 181 | *line 109
|
---|
| 182 | move.l #_gdstbc,(sp)
|
---|
| 183 | jsr _rslice
|
---|
| 184 | *line 110
|
---|
| 185 | move.l #_gdstbn,(sp)
|
---|
| 186 | jsr _rslice
|
---|
| 187 | *line 111
|
---|
| 188 | move.l #_gdstbp,(sp)
|
---|
| 189 | jsr _rslice
|
---|
| 190 | *line 113
|
---|
| 191 | move.l _p_ctr,R13
|
---|
| 192 | *line 114
|
---|
| 193 | move.l _t_ctr,R7
|
---|
| 194 | *line 116
|
---|
| 195 | *line 116
|
---|
| 196 | cmp.b #21,5(R13)
|
---|
| 197 | beq L12
|
---|
| 198 | *line 117
|
---|
| 199 | *line 118
|
---|
| 200 | move.l 12(R13),R13
|
---|
| 201 | *line 119
|
---|
| 202 | *line 120
|
---|
| 203 | bra L15
|
---|
| 204 | L14:
|
---|
| 205 | *line 121
|
---|
| 206 | *line 122
|
---|
| 207 | *line 123
|
---|
| 208 | cmp.b #21,5(R13)
|
---|
| 209 | beq L13
|
---|
| 210 | *line 124
|
---|
| 211 | *line 125
|
---|
| 212 | move #1,(sp)
|
---|
| 213 | move.l #_gdstbc,-(sp)
|
---|
| 214 | clr -(sp)
|
---|
| 215 | move.l R13,-(sp)
|
---|
| 216 | jsr _se_disp
|
---|
| 217 | adda.l #10,sp
|
---|
| 218 | *line 126
|
---|
| 219 | move.l 12(R13),R13
|
---|
| 220 | L15:
|
---|
| 221 | *line 127
|
---|
| 222 | cmp.l (R13),R7
|
---|
| 223 | beq L14
|
---|
| 224 | L13:
|
---|
| 225 | *line 128
|
---|
| 226 | *line 129
|
---|
| 227 | move.l R13,_p_ctr
|
---|
| 228 | *line 130
|
---|
| 229 | *line 131
|
---|
| 230 | L12:
|
---|
| 231 | *line 132
|
---|
| 232 | move.l _p_bak,R13
|
---|
| 233 | *line 133
|
---|
| 234 | move.l _t_bak,R7
|
---|
| 235 | *line 135
|
---|
| 236 | *line 135
|
---|
| 237 | cmp.b #21,5(R13)
|
---|
| 238 | beq L16
|
---|
| 239 | *line 136
|
---|
| 240 | *line 137
|
---|
| 241 | move.l 12(R13),R13
|
---|
| 242 | *line 138
|
---|
| 243 | *line 139
|
---|
| 244 | bra L19
|
---|
| 245 | L18:
|
---|
| 246 | *line 140
|
---|
| 247 | *line 141
|
---|
| 248 | *line 142
|
---|
| 249 | cmp.b #21,5(R13)
|
---|
| 250 | beq L17
|
---|
| 251 | *line 143
|
---|
| 252 | *line 144
|
---|
| 253 | clr (sp)
|
---|
| 254 | move.l #_gdstbp,-(sp)
|
---|
| 255 | clr -(sp)
|
---|
| 256 | move.l R13,-(sp)
|
---|
| 257 | jsr _se_disp
|
---|
| 258 | adda.l #10,sp
|
---|
| 259 | *line 145
|
---|
| 260 | move.l 12(R13),R13
|
---|
| 261 | L19:
|
---|
| 262 | *line 146
|
---|
| 263 | cmp.l (R13),R7
|
---|
| 264 | beq L18
|
---|
| 265 | L17:
|
---|
| 266 | *line 147
|
---|
| 267 | *line 148
|
---|
| 268 | move.l R13,_p_bak
|
---|
| 269 | *line 149
|
---|
| 270 | *line 150
|
---|
| 271 | L16:
|
---|
| 272 | *line 151
|
---|
| 273 | move.l _p_fwd,R13
|
---|
| 274 | *line 152
|
---|
| 275 | move.l _t_fwd,R7
|
---|
| 276 | *line 154
|
---|
| 277 | *line 154
|
---|
| 278 | cmp.b #21,5(R13)
|
---|
| 279 | beq L20
|
---|
| 280 | *line 155
|
---|
| 281 | *line 156
|
---|
| 282 | move.l 12(R13),R13
|
---|
| 283 | *line 157
|
---|
| 284 | *line 158
|
---|
| 285 | bra L23
|
---|
| 286 | L22:
|
---|
| 287 | *line 159
|
---|
| 288 | *line 160
|
---|
| 289 | *line 161
|
---|
| 290 | cmp.b #21,5(R13)
|
---|
| 291 | beq L21
|
---|
| 292 | *line 162
|
---|
| 293 | *line 163
|
---|
| 294 | clr (sp)
|
---|
| 295 | move.l #_gdstbn,-(sp)
|
---|
| 296 | clr -(sp)
|
---|
| 297 | move.l R13,-(sp)
|
---|
| 298 | jsr _se_disp
|
---|
| 299 | adda.l #10,sp
|
---|
| 300 | *line 164
|
---|
| 301 | move.l 12(R13),R13
|
---|
| 302 | L23:
|
---|
| 303 | *line 165
|
---|
| 304 | cmp.l (R13),R7
|
---|
| 305 | beq L22
|
---|
| 306 | L21:
|
---|
| 307 | *line 166
|
---|
| 308 | *line 167
|
---|
| 309 | move.l R13,_p_fwd
|
---|
| 310 | *line 168
|
---|
| 311 | L20:L11:tst.l (sp)+
|
---|
| 312 | movem.l (sp)+,R7-R7/R13-R13
|
---|
| 313 | unlk R14
|
---|
| 314 | rts
|
---|
| 315 | .globl _chgsdb
|
---|
| 316 | .text
|
---|
| 317 | _chgsdb:
|
---|
| 318 | ~~chgsdb:
|
---|
| 319 | link R14,#0
|
---|
| 320 | movem.l R6-R7/R13-R13,-(sp)
|
---|
| 321 | ~ep=R13
|
---|
| 322 | ~rt=R7
|
---|
| 323 | *line 182
|
---|
| 324 | move #1,_sd
|
---|
| 325 | *line 184
|
---|
| 326 | move.l #_gdstbc,(sp)
|
---|
| 327 | jsr _rslice
|
---|
| 328 | *line 185
|
---|
| 329 | move.l #_gdstbn,(sp)
|
---|
| 330 | jsr _rslice
|
---|
| 331 | *line 186
|
---|
| 332 | move.l #_gdstbp,(sp)
|
---|
| 333 | jsr _rslice
|
---|
| 334 | *line 188
|
---|
| 335 | move.l _p_ctr,R13
|
---|
| 336 | *line 189
|
---|
| 337 | move.l _t_ctr,R7
|
---|
| 338 | *line 191
|
---|
| 339 | *line 191
|
---|
| 340 | cmp.b #1,5(R13)
|
---|
| 341 | beq L25
|
---|
| 342 | *line 192
|
---|
| 343 | *line 193
|
---|
| 344 | move.l 8(R13),R13
|
---|
| 345 | *line 194
|
---|
| 346 | *line 195
|
---|
| 347 | bra L28
|
---|
| 348 | L27:
|
---|
| 349 | *line 196
|
---|
| 350 | *line 197
|
---|
| 351 | *line 198
|
---|
| 352 | cmp.b #1,5(R13)
|
---|
| 353 | beq L26
|
---|
| 354 | *line 199
|
---|
| 355 | *line 200
|
---|
| 356 | move #1,(sp)
|
---|
| 357 | move.l #_gdstbc,-(sp)
|
---|
| 358 | move #1,-(sp)
|
---|
| 359 | move.l R13,-(sp)
|
---|
| 360 | jsr _se_disp
|
---|
| 361 | adda.l #10,sp
|
---|
| 362 | *line 201
|
---|
| 363 | move.l 8(R13),R13
|
---|
| 364 | L28:
|
---|
| 365 | *line 202
|
---|
| 366 | cmp.l (R13),R7
|
---|
| 367 | beq L27
|
---|
| 368 | L26:
|
---|
| 369 | *line 203
|
---|
| 370 | *line 204
|
---|
| 371 | move.l R13,_p_ctr
|
---|
| 372 | *line 205
|
---|
| 373 | *line 206
|
---|
| 374 | L25:
|
---|
| 375 | *line 207
|
---|
| 376 | move.l _p_bak,R13
|
---|
| 377 | *line 208
|
---|
| 378 | move.l _t_bak,R7
|
---|
| 379 | *line 210
|
---|
| 380 | *line 210
|
---|
| 381 | cmp.b #1,5(R13)
|
---|
| 382 | beq L29
|
---|
| 383 | *line 211
|
---|
| 384 | *line 212
|
---|
| 385 | move.l 8(R13),R13
|
---|
| 386 | *line 213
|
---|
| 387 | *line 214
|
---|
| 388 | bra L32
|
---|
| 389 | L31:
|
---|
| 390 | *line 215
|
---|
| 391 | *line 216
|
---|
| 392 | *line 217
|
---|
| 393 | cmp.b #1,5(R13)
|
---|
| 394 | beq L30
|
---|
| 395 | *line 218
|
---|
| 396 | *line 219
|
---|
| 397 | clr (sp)
|
---|
| 398 | move.l #_gdstbp,-(sp)
|
---|
| 399 | move #1,-(sp)
|
---|
| 400 | move.l R13,-(sp)
|
---|
| 401 | jsr _se_disp
|
---|
| 402 | adda.l #10,sp
|
---|
| 403 | *line 220
|
---|
| 404 | move.l 8(R13),R13
|
---|
| 405 | L32:
|
---|
| 406 | *line 221
|
---|
| 407 | cmp.l (R13),R7
|
---|
| 408 | beq L31
|
---|
| 409 | L30:
|
---|
| 410 | *line 222
|
---|
| 411 | *line 223
|
---|
| 412 | move.l R13,_p_bak
|
---|
| 413 | *line 224
|
---|
| 414 | *line 225
|
---|
| 415 | L29:
|
---|
| 416 | *line 226
|
---|
| 417 | move.l _p_fwd,R13
|
---|
| 418 | *line 227
|
---|
| 419 | move.l _t_fwd,R7
|
---|
| 420 | *line 229
|
---|
| 421 | *line 229
|
---|
| 422 | cmp.b #1,5(R13)
|
---|
| 423 | beq L33
|
---|
| 424 | *line 230
|
---|
| 425 | *line 231
|
---|
| 426 | move.l 8(R13),R13
|
---|
| 427 | *line 232
|
---|
| 428 | *line 233
|
---|
| 429 | bra L36
|
---|
| 430 | L35:
|
---|
| 431 | *line 234
|
---|
| 432 | *line 235
|
---|
| 433 | *line 236
|
---|
| 434 | cmp.b #1,5(R13)
|
---|
| 435 | beq L34
|
---|
| 436 | *line 237
|
---|
| 437 | *line 238
|
---|
| 438 | clr (sp)
|
---|
| 439 | move.l #_gdstbn,-(sp)
|
---|
| 440 | move #1,-(sp)
|
---|
| 441 | move.l R13,-(sp)
|
---|
| 442 | jsr _se_disp
|
---|
| 443 | adda.l #10,sp
|
---|
| 444 | *line 239
|
---|
| 445 | move.l 8(R13),R13
|
---|
| 446 | L36:
|
---|
| 447 | *line 240
|
---|
| 448 | cmp.l (R13),R7
|
---|
| 449 | beq L35
|
---|
| 450 | L34:
|
---|
| 451 | *line 241
|
---|
| 452 | *line 242
|
---|
| 453 | move.l R13,_p_fwd
|
---|
| 454 | *line 243
|
---|
| 455 | L33:L24:tst.l (sp)+
|
---|
| 456 | movem.l (sp)+,R7-R7/R13-R13
|
---|
| 457 | unlk R14
|
---|
| 458 | rts
|
---|
| 459 | .data
|
---|
Note:
See
TracBrowser
for help on using the repository browser.