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:
20.1 KB
|
Rev | Line | |
---|
[7bf3856] | 1 | .globl _ebflag
|
---|
| 2 | .globl _ebuf
|
---|
| 3 | .globl _curfet
|
---|
| 4 | .globl _cfetp
|
---|
| 5 | .globl _infetp
|
---|
| 6 | .globl _io_time
|
---|
| 7 | .globl _io_lcd
|
---|
| 8 | .globl _io_ser
|
---|
| 9 | .globl _io_midi
|
---|
| 10 | .globl _io_disk
|
---|
| 11 | .globl _io_tone
|
---|
| 12 | .globl _io_leds
|
---|
| 13 | .globl _io_kbrd
|
---|
| 14 | .globl _lcd_a0
|
---|
| 15 | .globl _lcd_a1
|
---|
| 16 | .globl _io_vreg
|
---|
| 17 | .globl _io_vraw
|
---|
| 18 | .globl _io_vram
|
---|
| 19 | .globl _io_fpu
|
---|
| 20 | .globl _v_regs
|
---|
| 21 | .globl _v_odtab
|
---|
| 22 | .globl _v_actab
|
---|
| 23 | .globl _v_ct0
|
---|
| 24 | .globl _v_gt1
|
---|
| 25 | .globl _v_score
|
---|
| 26 | .globl _v_cgtab
|
---|
| 27 | .globl _v_curs0
|
---|
| 28 | .globl _v_curs1
|
---|
| 29 | .globl _v_curs2
|
---|
| 30 | .globl _v_curs3
|
---|
| 31 | .globl _v_curs4
|
---|
| 32 | .globl _v_curs5
|
---|
| 33 | .globl _v_curs6
|
---|
| 34 | .globl _v_curs7
|
---|
| 35 | .globl _v_tcur
|
---|
| 36 | .globl _v_kbobj
|
---|
| 37 | .globl _v_lnobj
|
---|
| 38 | .globl _v_win0
|
---|
| 39 | .globl _v_cur
|
---|
| 40 | .globl _fc_sw
|
---|
| 41 | .globl _fc_val
|
---|
| 42 | .globl _itxput
|
---|
| 43 | .globl _cursbox
|
---|
| 44 | .globl _cxval
|
---|
| 45 | .globl _cyval
|
---|
| 46 | .globl _curvce
|
---|
| 47 | .globl _curfunc
|
---|
| 48 | .globl _curpnt
|
---|
| 49 | .globl _hitbox
|
---|
| 50 | .globl _hitcx
|
---|
| 51 | .globl _hitcy
|
---|
| 52 | .globl _idnamsw
|
---|
| 53 | .globl _idimsw
|
---|
| 54 | .globl _idtdat
|
---|
| 55 | .globl _pntsv
|
---|
| 56 | .globl _pecase
|
---|
| 57 | .globl _stccol
|
---|
| 58 | .globl _subj
|
---|
| 59 | .globl _submenu
|
---|
| 60 | .globl _temin
|
---|
| 61 | .globl _temax
|
---|
| 62 | .globl _csbp
|
---|
| 63 | .globl _curboxp
|
---|
| 64 | .globl _vbufs
|
---|
| 65 | .globl _idefs
|
---|
| 66 | .globl _pntptr
|
---|
| 67 | .globl _idbox
|
---|
| 68 | .globl _instmod
|
---|
| 69 | .globl _vtdeptr
|
---|
| 70 | .globl _idbxlbl
|
---|
| 71 | .globl _idhlbl
|
---|
| 72 | .globl _bfs
|
---|
| 73 | .globl _instob
|
---|
| 74 | .globl _idboxes
|
---|
| 75 | .data
|
---|
| 76 | _idboxes:
|
---|
| 77 | .dc.w $1
|
---|
| 78 | .dc.w $1
|
---|
| 79 | .dc.w $54
|
---|
| 80 | .dc.w $1A
|
---|
| 81 | .dc.w $0
|
---|
| 82 | *line 62
|
---|
| 83 | .dc.l _idfnbox
|
---|
| 84 | .dc.w $56
|
---|
| 85 | .dc.w $1
|
---|
| 86 | .dc.w $A9
|
---|
| 87 | .dc.w $1A
|
---|
| 88 | .dc.w $1
|
---|
| 89 | *line 63
|
---|
| 90 | .dc.l _idfnbox
|
---|
| 91 | .dc.w $AB
|
---|
| 92 | .dc.w $1
|
---|
| 93 | .dc.w $FE
|
---|
| 94 | .dc.w $1A
|
---|
| 95 | .dc.w $2
|
---|
| 96 | *line 64
|
---|
| 97 | .dc.l _idfnbox
|
---|
| 98 | .dc.w $100
|
---|
| 99 | .dc.w $1
|
---|
| 100 | .dc.w $153
|
---|
| 101 | .dc.w $1A
|
---|
| 102 | .dc.w $3
|
---|
| 103 | *line 65
|
---|
| 104 | .dc.l _idfnbox
|
---|
| 105 | .dc.w $155
|
---|
| 106 | .dc.w $1
|
---|
| 107 | .dc.w $1A8
|
---|
| 108 | .dc.w $1A
|
---|
| 109 | .dc.w $4
|
---|
| 110 | *line 66
|
---|
| 111 | .dc.l _idfnbox
|
---|
| 112 | .dc.w $1AA
|
---|
| 113 | .dc.w $1
|
---|
| 114 | .dc.w $1FD
|
---|
| 115 | .dc.w $1A
|
---|
| 116 | .dc.w $5
|
---|
| 117 | *line 67
|
---|
| 118 | .dc.l _idfnbox
|
---|
| 119 | .dc.w $1
|
---|
| 120 | .dc.w $1C
|
---|
| 121 | .dc.w $54
|
---|
| 122 | .dc.w $36
|
---|
| 123 | .dc.w $6
|
---|
| 124 | *line 69
|
---|
| 125 | .dc.l _idfnbox
|
---|
| 126 | .dc.w $56
|
---|
| 127 | .dc.w $1C
|
---|
| 128 | .dc.w $A9
|
---|
| 129 | .dc.w $36
|
---|
| 130 | .dc.w $7
|
---|
| 131 | *line 70
|
---|
| 132 | .dc.l _idfnbox
|
---|
| 133 | .dc.w $AB
|
---|
| 134 | .dc.w $1C
|
---|
| 135 | .dc.w $FE
|
---|
| 136 | .dc.w $36
|
---|
| 137 | .dc.w $8
|
---|
| 138 | *line 71
|
---|
| 139 | .dc.l _idfnbox
|
---|
| 140 | .dc.w $100
|
---|
| 141 | .dc.w $1C
|
---|
| 142 | .dc.w $153
|
---|
| 143 | .dc.w $36
|
---|
| 144 | .dc.w $9
|
---|
| 145 | *line 72
|
---|
| 146 | .dc.l _idfnbox
|
---|
| 147 | .dc.w $155
|
---|
| 148 | .dc.w $1C
|
---|
| 149 | .dc.w $1A8
|
---|
| 150 | .dc.w $36
|
---|
| 151 | .dc.w $A
|
---|
| 152 | *line 73
|
---|
| 153 | .dc.l _idfnbox
|
---|
| 154 | .dc.w $1AA
|
---|
| 155 | .dc.w $1C
|
---|
| 156 | .dc.w $1FD
|
---|
| 157 | .dc.w $36
|
---|
| 158 | .dc.w $B
|
---|
| 159 | *line 74
|
---|
| 160 | .dc.l _idfnbox
|
---|
| 161 | .dc.w $1
|
---|
| 162 | .dc.w $38
|
---|
| 163 | .dc.w $1FD
|
---|
| 164 | .dc.w $D0
|
---|
| 165 | .dc.w $C
|
---|
| 166 | *line 76
|
---|
| 167 | .dc.l _idfnbox
|
---|
| 168 | .dc.w $1
|
---|
| 169 | .dc.w $D2
|
---|
| 170 | .dc.w $6E
|
---|
| 171 | .dc.w $EC
|
---|
| 172 | .dc.w $0
|
---|
| 173 | *line 78
|
---|
| 174 | .dc.l _enterit
|
---|
| 175 | .dc.w $70
|
---|
| 176 | .dc.w $D2
|
---|
| 177 | .dc.w $8E
|
---|
| 178 | .dc.w $EC
|
---|
| 179 | .dc.w $0
|
---|
| 180 | *line 79
|
---|
| 181 | .dc.l _enterit
|
---|
| 182 | .dc.w $90
|
---|
| 183 | .dc.w $D2
|
---|
| 184 | .dc.w $CE
|
---|
| 185 | .dc.w $EC
|
---|
| 186 | .dc.w $0
|
---|
| 187 | *line 80
|
---|
| 188 | .dc.l _enterit
|
---|
| 189 | .dc.w $D0
|
---|
| 190 | .dc.w $D2
|
---|
| 191 | .dc.w $16E
|
---|
| 192 | .dc.w $EC
|
---|
| 193 | .dc.w $0
|
---|
| 194 | *line 81
|
---|
| 195 | .dc.l _enterit
|
---|
| 196 | .dc.w $170
|
---|
| 197 | .dc.w $D2
|
---|
| 198 | .dc.w $1FD
|
---|
| 199 | .dc.w $EC
|
---|
| 200 | .dc.w $0
|
---|
| 201 | *line 82
|
---|
| 202 | .dc.l _enterit
|
---|
| 203 | .dc.w $1
|
---|
| 204 | .dc.w $EE
|
---|
| 205 | .dc.w $83
|
---|
| 206 | .dc.w $15C
|
---|
| 207 | .dc.w $0
|
---|
| 208 | *line 84
|
---|
| 209 | .dc.l _idfnbox
|
---|
| 210 | .dc.w $85
|
---|
| 211 | .dc.w $EE
|
---|
| 212 | .dc.w $10B
|
---|
| 213 | .dc.w $FB
|
---|
| 214 | .dc.w $0
|
---|
| 215 | *line 85
|
---|
| 216 | .dc.l _idfnbox
|
---|
| 217 | .dc.w $10D
|
---|
| 218 | .dc.w $EE
|
---|
| 219 | .dc.w $17B
|
---|
| 220 | .dc.w $132
|
---|
| 221 | .dc.w $0
|
---|
| 222 | *line 86
|
---|
| 223 | .dc.l _enterit
|
---|
| 224 | .dc.w $17D
|
---|
| 225 | .dc.w $EE
|
---|
| 226 | .dc.w $1FD
|
---|
| 227 | .dc.w $15C
|
---|
| 228 | .dc.w $0
|
---|
| 229 | *line 87
|
---|
| 230 | .dc.l _idfnbox
|
---|
| 231 | .dc.w $85
|
---|
| 232 | .dc.w $134
|
---|
| 233 | .dc.w $17B
|
---|
| 234 | .dc.w $15C
|
---|
| 235 | .dc.w $0
|
---|
| 236 | *line 89
|
---|
| 237 | .dc.l _enterit
|
---|
| 238 | .dc.w $85
|
---|
| 239 | .dc.w $FC
|
---|
| 240 | .dc.w $10B
|
---|
| 241 | .dc.w $132
|
---|
| 242 | .dc.w $13
|
---|
| 243 | *line 91
|
---|
| 244 | .dc.l _idfnbox
|
---|
| 245 | .dc.w $0
|
---|
| 246 | .dc.w $0
|
---|
| 247 | .dc.w $0
|
---|
| 248 | .dc.w $0
|
---|
| 249 | .dc.w $0
|
---|
| 250 | .dc.l $0
|
---|
| 251 | .globl _idtxput
|
---|
| 252 | .text
|
---|
| 253 | _idtxput:
|
---|
| 254 | ~~idtxput:
|
---|
| 255 | ~row=8
|
---|
| 256 | ~col=10
|
---|
| 257 | ~txt=12
|
---|
| 258 | ~tag=16
|
---|
| 259 | link R14,#-4
|
---|
| 260 | *line 110
|
---|
| 261 | *line 111
|
---|
| 262 | clr R0
|
---|
| 263 | move 10+_v_regs,R0
|
---|
| 264 | and #384,R0
|
---|
| 265 | beq L2
|
---|
| 266 | *line 111
|
---|
| 267 | clr (sp)
|
---|
| 268 | jsr _vbank
|
---|
| 269 | *line 112
|
---|
| 270 | L2:
|
---|
| 271 | *line 113
|
---|
| 272 | move #14,(sp)
|
---|
| 273 | move.l 12(R14),-(sp)
|
---|
| 274 | move 10(R14),-(sp)
|
---|
| 275 | move 8(R14),-(sp)
|
---|
| 276 | move #11,-(sp)
|
---|
| 277 | move #64,-(sp)
|
---|
| 278 | move.l _instob,-(sp)
|
---|
| 279 | jsr _tsplot4
|
---|
| 280 | adda.l #16,sp
|
---|
| 281 | L1:unlk R14
|
---|
| 282 | rts
|
---|
| 283 | .globl _showim
|
---|
| 284 | .text
|
---|
| 285 | _showim:
|
---|
| 286 | ~~showim:
|
---|
| 287 | link R14,#0
|
---|
| 288 | movem.l R4-R7,-(sp)
|
---|
| 289 | ~row=R7
|
---|
| 290 | ~col=R6
|
---|
| 291 | ~ins=R5
|
---|
| 292 | *line 126
|
---|
| 293 | clr R5
|
---|
| 294 | *line 128
|
---|
| 295 | move #1,R6
|
---|
| 296 | bra L6
|
---|
| 297 | L7:
|
---|
| 298 | *line 129
|
---|
| 299 | *line 130
|
---|
| 300 | clr -(sp)
|
---|
| 301 | move.l #L8,-(sp)
|
---|
| 302 | move R6,-(sp)
|
---|
| 303 | clr -(sp)
|
---|
| 304 | move.l _itxput,R8
|
---|
| 305 | jsr (R8)
|
---|
| 306 | adda.l #10,sp
|
---|
| 307 | *line 131
|
---|
| 308 | *line 132
|
---|
| 309 | move #1,R7
|
---|
| 310 | bra L11
|
---|
| 311 | L12:
|
---|
| 312 | *line 133
|
---|
| 313 | *line 134
|
---|
| 314 | *line 135
|
---|
| 315 | cmp #41,R5
|
---|
| 316 | bge L9
|
---|
| 317 | *line 136
|
---|
| 318 | *line 137
|
---|
| 319 | move R5,R0
|
---|
| 320 | muls #3938,R0
|
---|
| 321 | add.l #_idefs,R0
|
---|
| 322 | move.l R0,(sp)
|
---|
| 323 | add.l #2,(sp)
|
---|
| 324 | move R5,-(sp)
|
---|
| 325 | move.l #L13,-(sp)
|
---|
| 326 | move.l #_bfs,-(sp)
|
---|
| 327 | jsr _sprintf
|
---|
| 328 | adda.l #10,sp
|
---|
| 329 | *line 138
|
---|
| 330 | move #1,-(sp)
|
---|
| 331 | move.l #_bfs,-(sp)
|
---|
| 332 | move R6,-(sp)
|
---|
| 333 | move R7,-(sp)
|
---|
| 334 | move.l _itxput,R8
|
---|
| 335 | jsr (R8)
|
---|
| 336 | adda.l #10,sp
|
---|
| 337 | *line 139
|
---|
| 338 | add #1,R5
|
---|
| 339 | L10:
|
---|
| 340 | *line 132
|
---|
| 341 | add #1,R7
|
---|
| 342 | L11:
|
---|
| 343 | *line 132
|
---|
| 344 | cmp #15,R7
|
---|
| 345 | blt L12
|
---|
| 346 | L9:
|
---|
| 347 | *line 140
|
---|
| 348 | L5:
|
---|
| 349 | *line 128
|
---|
| 350 | add #22,R6
|
---|
| 351 | L6:
|
---|
| 352 | *line 128
|
---|
| 353 | cmp #46,R6
|
---|
| 354 | blt L7
|
---|
| 355 | L4:L3:tst.l (sp)+
|
---|
| 356 | movem.l (sp)+,R5-R7
|
---|
| 357 | unlk R14
|
---|
| 358 | rts
|
---|
| 359 | .globl _cdnicur
|
---|
| 360 | .text
|
---|
| 361 | _cdnicur:
|
---|
| 362 | ~~cdnicur:
|
---|
| 363 | link R14,#0
|
---|
| 364 | movem.l R7-R7/R13-R13,-(sp)
|
---|
| 365 | ~ip=R13
|
---|
| 366 | *line 157
|
---|
| 367 | move _curvce,R0
|
---|
| 368 | muls #3938,R0
|
---|
| 369 | move.l R0,R13
|
---|
| 370 | add.l #_vbufs,R13
|
---|
| 371 | *line 159
|
---|
| 372 | move _idtdat,R0
|
---|
| 373 | bra L16
|
---|
| 374 | *line 160
|
---|
| 375 | L17:
|
---|
| 376 | *line 161
|
---|
| 377 | *line 162
|
---|
| 378 | move #1,_idtdat
|
---|
| 379 | *line 163
|
---|
| 380 | lea 19(R13),R8
|
---|
| 381 | move.l R8,_vtdeptr
|
---|
| 382 | *line 164
|
---|
| 383 | move _stccol,(sp)
|
---|
| 384 | move #19,-(sp)
|
---|
| 385 | jsr _settc
|
---|
| 386 | addq.l #2,sp
|
---|
| 387 | bra L14
|
---|
| 388 | *line 165
|
---|
| 389 | *line 166
|
---|
| 390 | L18:
|
---|
| 391 | *line 167
|
---|
| 392 | *line 168
|
---|
| 393 | move #2,_idtdat
|
---|
| 394 | *line 169
|
---|
| 395 | lea 36(R13),R8
|
---|
| 396 | move.l R8,_vtdeptr
|
---|
| 397 | *line 170
|
---|
| 398 | move _stccol,(sp)
|
---|
| 399 | move #20,-(sp)
|
---|
| 400 | jsr _settc
|
---|
| 401 | addq.l #2,sp
|
---|
| 402 | bra L14
|
---|
| 403 | *line 171
|
---|
| 404 | *line 172
|
---|
| 405 | L19:
|
---|
| 406 | *line 173
|
---|
| 407 | *line 174
|
---|
| 408 | move #3,_idtdat
|
---|
| 409 | *line 175
|
---|
| 410 | lea 53(R13),R8
|
---|
| 411 | move.l R8,_vtdeptr
|
---|
| 412 | *line 176
|
---|
| 413 | move _stccol,(sp)
|
---|
| 414 | move #21,-(sp)
|
---|
| 415 | jsr _settc
|
---|
| 416 | addq.l #2,sp
|
---|
| 417 | bra L14
|
---|
| 418 | *line 177
|
---|
| 419 | *line 178
|
---|
| 420 | L20:
|
---|
| 421 | *line 179
|
---|
| 422 | *line 180
|
---|
| 423 | clr _idtdat
|
---|
| 424 | *line 181
|
---|
| 425 | lea 2(R13),R8
|
---|
| 426 | move.l R8,_vtdeptr
|
---|
| 427 | *line 182
|
---|
| 428 | move _stccol,(sp)
|
---|
| 429 | move #18,-(sp)
|
---|
| 430 | jsr _settc
|
---|
| 431 | addq.l #2,sp
|
---|
| 432 | bra L14
|
---|
| 433 | *line 183
|
---|
| 434 | bra L15
|
---|
| 435 | L16:tst R0
|
---|
| 436 | beq L17
|
---|
| 437 | cmp #1,R0
|
---|
| 438 | beq L18
|
---|
| 439 | cmp #2,R0
|
---|
| 440 | beq L19
|
---|
| 441 | cmp #3,R0
|
---|
| 442 | beq L20
|
---|
| 443 | bra L15
|
---|
| 444 | L15:L14:tst.l (sp)+
|
---|
| 445 | movem.l (sp)+,R13-R13
|
---|
| 446 | unlk R14
|
---|
| 447 | rts
|
---|
| 448 | .globl _cupicur
|
---|
| 449 | .text
|
---|
| 450 | _cupicur:
|
---|
| 451 | ~~cupicur:
|
---|
| 452 | link R14,#0
|
---|
| 453 | movem.l R7-R7/R13-R13,-(sp)
|
---|
| 454 | ~ip=R13
|
---|
| 455 | *line 200
|
---|
| 456 | move _curvce,R0
|
---|
| 457 | muls #3938,R0
|
---|
| 458 | move.l R0,R13
|
---|
| 459 | add.l #_vbufs,R13
|
---|
| 460 | *line 202
|
---|
| 461 | move _idtdat,R0
|
---|
| 462 | bra L23
|
---|
| 463 | *line 203
|
---|
| 464 | L24:
|
---|
| 465 | *line 204
|
---|
| 466 | *line 205
|
---|
| 467 | move #3,_idtdat
|
---|
| 468 | *line 206
|
---|
| 469 | lea 53(R13),R8
|
---|
| 470 | move.l R8,_vtdeptr
|
---|
| 471 | *line 207
|
---|
| 472 | move _stccol,(sp)
|
---|
| 473 | move #21,-(sp)
|
---|
| 474 | jsr _settc
|
---|
| 475 | addq.l #2,sp
|
---|
| 476 | bra L21
|
---|
| 477 | *line 208
|
---|
| 478 | *line 209
|
---|
| 479 | L25:
|
---|
| 480 | *line 210
|
---|
| 481 | *line 211
|
---|
| 482 | clr _idtdat
|
---|
| 483 | *line 212
|
---|
| 484 | lea 2(R13),R8
|
---|
| 485 | move.l R8,_vtdeptr
|
---|
| 486 | *line 213
|
---|
| 487 | move _stccol,(sp)
|
---|
| 488 | move #18,-(sp)
|
---|
| 489 | jsr _settc
|
---|
| 490 | addq.l #2,sp
|
---|
| 491 | bra L21
|
---|
| 492 | *line 214
|
---|
| 493 | *line 215
|
---|
| 494 | L26:
|
---|
| 495 | *line 216
|
---|
| 496 | *line 217
|
---|
| 497 | move #1,_idtdat
|
---|
| 498 | *line 218
|
---|
| 499 | lea 19(R13),R8
|
---|
| 500 | move.l R8,_vtdeptr
|
---|
| 501 | *line 219
|
---|
| 502 | move _stccol,(sp)
|
---|
| 503 | move #19,-(sp)
|
---|
| 504 | jsr _settc
|
---|
| 505 | addq.l #2,sp
|
---|
| 506 | bra L21
|
---|
| 507 | *line 220
|
---|
| 508 | *line 221
|
---|
| 509 | L27:
|
---|
| 510 | *line 222
|
---|
| 511 | *line 223
|
---|
| 512 | move #2,_idtdat
|
---|
| 513 | *line 224
|
---|
| 514 | lea 36(R13),R8
|
---|
| 515 | move.l R8,_vtdeptr
|
---|
| 516 | *line 225
|
---|
| 517 | move _stccol,(sp)
|
---|
| 518 | move #20,-(sp)
|
---|
| 519 | jsr _settc
|
---|
| 520 | addq.l #2,sp
|
---|
| 521 | bra L21
|
---|
| 522 | *line 226
|
---|
| 523 | bra L22
|
---|
| 524 | L23:tst R0
|
---|
| 525 | beq L24
|
---|
| 526 | cmp #1,R0
|
---|
| 527 | beq L25
|
---|
| 528 | cmp #2,R0
|
---|
| 529 | beq L26
|
---|
| 530 | cmp #3,R0
|
---|
| 531 | beq L27
|
---|
| 532 | bra L22
|
---|
| 533 | L22:L21:tst.l (sp)+
|
---|
| 534 | movem.l (sp)+,R13-R13
|
---|
| 535 | unlk R14
|
---|
| 536 | rts
|
---|
| 537 | .globl _edfunc
|
---|
| 538 | .text
|
---|
| 539 | _edfunc:
|
---|
| 540 | ~~edfunc:
|
---|
| 541 | ~n=8
|
---|
| 542 | link R14,#0
|
---|
| 543 | movem.l R6-R7/R13-R13,-(sp)
|
---|
| 544 | ~cx=R7
|
---|
| 545 | ~ip=R13
|
---|
| 546 | *line 246
|
---|
| 547 | move _curvce,R0
|
---|
| 548 | muls #3938,R0
|
---|
| 549 | move.l R0,R13
|
---|
| 550 | add.l #_vbufs,R13
|
---|
| 551 | *line 250
|
---|
| 552 | move #6,(sp)
|
---|
| 553 | jsr _exp_c
|
---|
| 554 | move R0,R7
|
---|
| 555 | *line 252
|
---|
| 556 | clr (sp)
|
---|
| 557 | jsr _vbank
|
---|
| 558 | *line 253
|
---|
| 559 | *line 254
|
---|
| 560 | move R7,(sp)
|
---|
| 561 | move 8(R14),R0
|
---|
| 562 | asl #4,R0
|
---|
| 563 | ext.l R0
|
---|
| 564 | move.l R0,R8
|
---|
| 565 | move.l #_idbox,R9
|
---|
| 566 | move 6(R8,R9.l),-(sp)
|
---|
| 567 | move 8(R14),R0
|
---|
| 568 | asl #4,R0
|
---|
| 569 | ext.l R0
|
---|
| 570 | move.l R0,R8
|
---|
| 571 | move.l #_idbox,R9
|
---|
| 572 | move 4(R8,R9.l),-(sp)
|
---|
| 573 | move 8(R14),R0
|
---|
| 574 | asl #4,R0
|
---|
| 575 | ext.l R0
|
---|
| 576 | move.l R0,R8
|
---|
| 577 | move.l #_idbox,R9
|
---|
| 578 | move 2(R8,R9.l),-(sp)
|
---|
| 579 | move 8(R14),R0
|
---|
| 580 | asl #4,R0
|
---|
| 581 | ext.l R0
|
---|
| 582 | move.l R0,R8
|
---|
| 583 | move.l #_idbox,R9
|
---|
| 584 | move 0(R8,R9.l),-(sp)
|
---|
| 585 | move #128,-(sp)
|
---|
| 586 | move.l _instob,-(sp)
|
---|
| 587 | jsr _vbfill4
|
---|
| 588 | adda.l #14,sp
|
---|
| 589 | *line 256
|
---|
| 590 | *line 257
|
---|
| 591 | *line 258
|
---|
| 592 | move #14,(sp)
|
---|
| 593 | move.l 48+_idbxlbl,-(sp)
|
---|
| 594 | move 8(R14),R0
|
---|
| 595 | asl #4,R0
|
---|
| 596 | ext.l R0
|
---|
| 597 | move.l R0,R8
|
---|
| 598 | move.l #_idbox,R9
|
---|
| 599 | move 14(R8,R9.l),-(sp)
|
---|
| 600 | move 8(R14),R0
|
---|
| 601 | asl #4,R0
|
---|
| 602 | ext.l R0
|
---|
| 603 | move.l R0,R8
|
---|
| 604 | move.l #_idbox,R9
|
---|
| 605 | move 12(R8,R9.l),-(sp)
|
---|
| 606 | btst #0,237(R13)
|
---|
| 607 | beq L10000
|
---|
| 608 | move 8(R14),R0
|
---|
| 609 | asl #4,R0
|
---|
| 610 | ext.l R0
|
---|
| 611 | move.l R0,R8
|
---|
| 612 | move.l #_idbox,R9
|
---|
| 613 | move 8(R8,R9.l),-(sp)
|
---|
| 614 | bra L10002
|
---|
| 615 | L10000:move #2,-(sp)
|
---|
| 616 | L10002:move #64,-(sp)
|
---|
| 617 | move.l _instob,-(sp)
|
---|
| 618 | jsr _tsplot4
|
---|
| 619 | adda.l #16,sp
|
---|
| 620 | *line 260
|
---|
| 621 | *line 261
|
---|
| 622 | cmp #12,8(R14)
|
---|
| 623 | beq L29
|
---|
| 624 | *line 261
|
---|
| 625 | move 8(R14),(sp)
|
---|
| 626 | move #2,-(sp)
|
---|
| 627 | clr -(sp)
|
---|
| 628 | move #12,-(sp)
|
---|
| 629 | jsr _drawfn
|
---|
| 630 | addq.l #6,sp
|
---|
| 631 | *line 262
|
---|
| 632 | *line 263
|
---|
| 633 | *line 264
|
---|
| 634 | *line 265
|
---|
| 635 | *line 266
|
---|
| 636 | L29:
|
---|
| 637 | *line 267
|
---|
| 638 | clr (sp)
|
---|
| 639 | jsr _vbank
|
---|
| 640 | *line 268
|
---|
| 641 | *line 269
|
---|
| 642 | move R7,(sp)
|
---|
| 643 | move 198+_idbox,-(sp)
|
---|
| 644 | move 196+_idbox,-(sp)
|
---|
| 645 | move 194+_idbox,-(sp)
|
---|
| 646 | move 192+_idbox,-(sp)
|
---|
| 647 | move #128,-(sp)
|
---|
| 648 | move.l _instob,-(sp)
|
---|
| 649 | jsr _vbfill4
|
---|
| 650 | adda.l #14,sp
|
---|
| 651 | *line 273
|
---|
| 652 | *line 274
|
---|
| 653 | *line 275
|
---|
| 654 | move #14,(sp)
|
---|
| 655 | move 8(R14),R8
|
---|
| 656 | add.l R8,R8
|
---|
| 657 | add.l R8,R8
|
---|
| 658 | move.l #_idbxlbl,R9
|
---|
| 659 | move.l 0(R8,R9.l),-(sp)
|
---|
| 660 | move 206+_idbox,-(sp)
|
---|
| 661 | move 204+_idbox,-(sp)
|
---|
| 662 | move.l R13,R8
|
---|
| 663 | move 8(R14),R1
|
---|
| 664 | muls #12,R1
|
---|
| 665 | add.l R1,R8
|
---|
| 666 | btst #0,93(R8)
|
---|
| 667 | beq L10003
|
---|
| 668 | move 8(R14),R0
|
---|
| 669 | asl #4,R0
|
---|
| 670 | ext.l R0
|
---|
| 671 | move.l R0,R8
|
---|
| 672 | move.l #_idbox,R9
|
---|
| 673 | move 8(R8,R9.l),-(sp)
|
---|
| 674 | bra L10005
|
---|
| 675 | L10003:move #2,-(sp)
|
---|
| 676 | L10005:move #64,-(sp)
|
---|
| 677 | move.l _instob,-(sp)
|
---|
| 678 | jsr _tsplot4
|
---|
| 679 | adda.l #16,sp
|
---|
| 680 | *line 279
|
---|
| 681 | move #14,(sp)
|
---|
| 682 | move.l #_idhlbl,-(sp)
|
---|
| 683 | clr -(sp)
|
---|
| 684 | move #14,-(sp)
|
---|
| 685 | move #2,-(sp)
|
---|
| 686 | move #64,-(sp)
|
---|
| 687 | move.l _instob,-(sp)
|
---|
| 688 | jsr _tsplot4
|
---|
| 689 | adda.l #16,sp
|
---|
| 690 | *line 283
|
---|
| 691 | move #14,(sp)
|
---|
| 692 | move.l #L30,-(sp)
|
---|
| 693 | clr -(sp)
|
---|
| 694 | move #14,-(sp)
|
---|
| 695 | move #2,-(sp)
|
---|
| 696 | move #64,-(sp)
|
---|
| 697 | move.l _instob,-(sp)
|
---|
| 698 | jsr _tsplot4
|
---|
| 699 | adda.l #16,sp
|
---|
| 700 | *line 284
|
---|
| 701 | move #14,(sp)
|
---|
| 702 | move.l #L31,-(sp)
|
---|
| 703 | clr -(sp)
|
---|
| 704 | move #12,-(sp)
|
---|
| 705 | move #2,-(sp)
|
---|
| 706 | move #64,-(sp)
|
---|
| 707 | move.l _instob,-(sp)
|
---|
| 708 | jsr _tsplot4
|
---|
| 709 | adda.l #16,sp
|
---|
| 710 | *line 285
|
---|
| 711 | move #14,(sp)
|
---|
| 712 | move.l #L32,-(sp)
|
---|
| 713 | clr -(sp)
|
---|
| 714 | move #10,-(sp)
|
---|
| 715 | move #2,-(sp)
|
---|
| 716 | move #64,-(sp)
|
---|
| 717 | move.l _instob,-(sp)
|
---|
| 718 | jsr _tsplot4
|
---|
| 719 | adda.l #16,sp
|
---|
| 720 | *line 286
|
---|
| 721 | move #14,(sp)
|
---|
| 722 | move.l #L33,-(sp)
|
---|
| 723 | clr -(sp)
|
---|
| 724 | move #8,-(sp)
|
---|
| 725 | move #2,-(sp)
|
---|
| 726 | move #64,-(sp)
|
---|
| 727 | move.l _instob,-(sp)
|
---|
| 728 | jsr _tsplot4
|
---|
| 729 | adda.l #16,sp
|
---|
| 730 | *line 287
|
---|
| 731 | move #14,(sp)
|
---|
| 732 | move.l #L34,-(sp)
|
---|
| 733 | clr -(sp)
|
---|
| 734 | move #6,-(sp)
|
---|
| 735 | move #2,-(sp)
|
---|
| 736 | move #64,-(sp)
|
---|
| 737 | move.l _instob,-(sp)
|
---|
| 738 | jsr _tsplot4
|
---|
| 739 | adda.l #16,sp
|
---|
| 740 | *line 288
|
---|
| 741 | move #14,(sp)
|
---|
| 742 | move.l #L35,-(sp)
|
---|
| 743 | clr -(sp)
|
---|
| 744 | move #4,-(sp)
|
---|
| 745 | move #2,-(sp)
|
---|
| 746 | move #64,-(sp)
|
---|
| 747 | move.l _instob,-(sp)
|
---|
| 748 | jsr _tsplot4
|
---|
| 749 | adda.l #16,sp
|
---|
| 750 | *line 290
|
---|
| 751 | clr (sp)
|
---|
| 752 | move #196,-(sp)
|
---|
| 753 | move #7,-(sp)
|
---|
| 754 | move #56,-(sp)
|
---|
| 755 | move #7,-(sp)
|
---|
| 756 | jsr _lseg
|
---|
| 757 | addq.l #8,sp
|
---|
| 758 | *line 291
|
---|
| 759 | clr (sp)
|
---|
| 760 | move #196,-(sp)
|
---|
| 761 | move #509,-(sp)
|
---|
| 762 | move #196,-(sp)
|
---|
| 763 | move #7,-(sp)
|
---|
| 764 | jsr _lseg
|
---|
| 765 | addq.l #8,sp
|
---|
| 766 | *line 295
|
---|
| 767 | *line 296
|
---|
| 768 | cmp #12,8(R14)
|
---|
| 769 | beq L36
|
---|
| 770 | *line 296
|
---|
| 771 | move #12,(sp)
|
---|
| 772 | move #2,-(sp)
|
---|
| 773 | clr -(sp)
|
---|
| 774 | move #12,-(sp)
|
---|
| 775 | jsr _drawfn
|
---|
| 776 | addq.l #6,sp
|
---|
| 777 | *line 297
|
---|
| 778 | L36:
|
---|
| 779 | *line 298
|
---|
| 780 | move #12,(sp)
|
---|
| 781 | move #14,-(sp)
|
---|
| 782 | move _pntsv,-(sp)
|
---|
| 783 | move 8(R14),-(sp)
|
---|
| 784 | jsr _drawfn
|
---|
| 785 | addq.l #6,sp
|
---|
| 786 | *line 300
|
---|
| 787 | move 8(R14),_curfunc
|
---|
| 788 | *line 302
|
---|
| 789 | *line 302
|
---|
| 790 | cmp #4,_curfunc
|
---|
| 791 | bne L37
|
---|
| 792 | *line 303
|
---|
| 793 | *line 304
|
---|
| 794 | *line 305
|
---|
| 795 | *line 306
|
---|
| 796 | *line 307
|
---|
| 797 | move #14,(sp)
|
---|
| 798 | move.l #L38,-(sp)
|
---|
| 799 | move 206+_idbox,-(sp)
|
---|
| 800 | add #4,(sp)
|
---|
| 801 | move 204+_idbox,-(sp)
|
---|
| 802 | add #1,(sp)
|
---|
| 803 | move.l R13,R8
|
---|
| 804 | move 8(R14),R1
|
---|
| 805 | muls #12,R1
|
---|
| 806 | add.l R1,R8
|
---|
| 807 | btst #0,93(R8)
|
---|
| 808 | beq L10006
|
---|
| 809 | move 200+_idbox,-(sp)
|
---|
| 810 | bra L10008
|
---|
| 811 | L10006:move #2,-(sp)
|
---|
| 812 | L10008:move #64,-(sp)
|
---|
| 813 | move.l _instob,-(sp)
|
---|
| 814 | jsr _tsplot4
|
---|
| 815 | adda.l #16,sp
|
---|
| 816 | *line 308
|
---|
| 817 | *line 309
|
---|
| 818 | move #12,(sp)
|
---|
| 819 | jsr _rd_ires
|
---|
| 820 | *line 310
|
---|
| 821 | *line 311
|
---|
| 822 | L37:
|
---|
| 823 | *line 312
|
---|
| 824 | move #1,R0
|
---|
| 825 | bra L28
|
---|
| 826 | L28:tst.l (sp)+
|
---|
| 827 | movem.l (sp)+,R7-R7/R13-R13
|
---|
| 828 | unlk R14
|
---|
| 829 | rts
|
---|
| 830 | .globl _showpt
|
---|
| 831 | .text
|
---|
| 832 | _showpt:
|
---|
| 833 | ~~showpt:
|
---|
| 834 | ~q=8
|
---|
| 835 | link R14,#-2
|
---|
| 836 | movem.l R2-R7/R13-R13,-(sp)
|
---|
| 837 | ~ptx=R7
|
---|
| 838 | ~pty=R6
|
---|
| 839 | ~i=R5
|
---|
| 840 | ~j=R4
|
---|
| 841 | ~k=R3
|
---|
| 842 | ~ip=R13
|
---|
| 843 | ~ptc=-2
|
---|
| 844 | *line 331
|
---|
| 845 | *line 332
|
---|
| 846 | tst 8(R14)
|
---|
| 847 | beq L40
|
---|
| 848 | *line 332
|
---|
| 849 | move #14,(sp)
|
---|
| 850 | jsr _dswin
|
---|
| 851 | *line 333
|
---|
| 852 | L40:
|
---|
| 853 | *line 334
|
---|
| 854 | move #15,(sp)
|
---|
| 855 | jsr _dswin
|
---|
| 856 | *line 335
|
---|
| 857 | move #16,(sp)
|
---|
| 858 | jsr _dswin
|
---|
| 859 | *line 336
|
---|
| 860 | move #17,(sp)
|
---|
| 861 | jsr _dswin
|
---|
| 862 | *line 338
|
---|
| 863 | move _curvce,R0
|
---|
| 864 | muls #3938,R0
|
---|
| 865 | move.l R0,R13
|
---|
| 866 | add.l #_vbufs,R13
|
---|
| 867 | *line 339
|
---|
| 868 | move _curfunc,R0
|
---|
| 869 | muls #12,R0
|
---|
| 870 | move.b 91(R13,R0.l),R0
|
---|
| 871 | ext.w R0
|
---|
| 872 | move R0,R4
|
---|
| 873 | *line 340
|
---|
| 874 | move _curfunc,R0
|
---|
| 875 | muls #12,R0
|
---|
| 876 | move.b 92(R13,R0.l),R0
|
---|
| 877 | ext.w R0
|
---|
| 878 | move R0,R3
|
---|
| 879 | *line 342
|
---|
| 880 | clr R5
|
---|
| 881 | bra L43
|
---|
| 882 | L44:
|
---|
| 883 | *line 343
|
---|
| 884 | *line 344
|
---|
| 885 | move #12,(sp)
|
---|
| 886 | move R5,-(sp)
|
---|
| 887 | move _curfunc,-(sp)
|
---|
| 888 | jsr _timeto
|
---|
| 889 | addq.l #4,sp
|
---|
| 890 | move R0,-(sp)
|
---|
| 891 | jsr _ttox
|
---|
| 892 | addq.l #2,sp
|
---|
| 893 | move R0,R7
|
---|
| 894 | *line 345
|
---|
| 895 | move #12,(sp)
|
---|
| 896 | move.l R13,R8
|
---|
| 897 | move R3,R1
|
---|
| 898 | add R5,R1
|
---|
| 899 | muls #12,R1
|
---|
| 900 | add.l R1,R8
|
---|
| 901 | move 244(R8),R0
|
---|
| 902 | asr #5,R0
|
---|
| 903 | move R0,-(sp)
|
---|
| 904 | jsr _vtoy
|
---|
| 905 | addq.l #2,sp
|
---|
| 906 | move R0,R6
|
---|
| 907 | *line 346
|
---|
| 908 | *line 347
|
---|
| 909 | move.l R13,R8
|
---|
| 910 | move R3,R1
|
---|
| 911 | add R5,R1
|
---|
| 912 | muls #12,R1
|
---|
| 913 | add.l R1,R8
|
---|
| 914 | tst.b 248(R8)
|
---|
| 915 | bne L10010
|
---|
| 916 | move.l R13,R8
|
---|
| 917 | move R3,R1
|
---|
| 918 | add R5,R1
|
---|
| 919 | muls #12,R1
|
---|
| 920 | add.l R1,R8
|
---|
| 921 | tst.b 249(R8)
|
---|
| 922 | beq L10009
|
---|
| 923 | L10010:move #15,R0
|
---|
| 924 | bra L10012
|
---|
| 925 | L10009:move #11,R0
|
---|
| 926 | L10012:move R0,-2(R14)
|
---|
| 927 | *line 348
|
---|
| 928 | *line 349
|
---|
| 929 | move -2(R14),(sp)
|
---|
| 930 | move R6,-(sp)
|
---|
| 931 | move R7,-(sp)
|
---|
| 932 | jsr _drawpt
|
---|
| 933 | addq.l #4,sp
|
---|
| 934 | L42:
|
---|
| 935 | *line 342
|
---|
| 936 | add #1,R5
|
---|
| 937 | L43:
|
---|
| 938 | *line 342
|
---|
| 939 | cmp R4,R5
|
---|
| 940 | blt L44
|
---|
| 941 | L41:
|
---|
| 942 | *line 352
|
---|
| 943 | move #12,(sp)
|
---|
| 944 | move _subj,-(sp)
|
---|
| 945 | move _curfunc,-(sp)
|
---|
| 946 | jsr _timeto
|
---|
| 947 | addq.l #4,sp
|
---|
| 948 | move R0,-(sp)
|
---|
| 949 | jsr _ttox
|
---|
| 950 | addq.l #2,sp
|
---|
| 951 | move R0,R7
|
---|
| 952 | *line 353
|
---|
| 953 | move #12,(sp)
|
---|
| 954 | move.l R13,R8
|
---|
| 955 | move R3,R1
|
---|
| 956 | add _subj,R1
|
---|
| 957 | muls #12,R1
|
---|
| 958 | add.l R1,R8
|
---|
| 959 | move 244(R8),R0
|
---|
| 960 | asr #5,R0
|
---|
| 961 | move R0,-(sp)
|
---|
| 962 | jsr _vtoy
|
---|
| 963 | addq.l #2,sp
|
---|
| 964 | move R0,R6
|
---|
| 965 | *line 354
|
---|
| 966 | move #3,(sp)
|
---|
| 967 | move R6,-(sp)
|
---|
| 968 | move R7,-(sp)
|
---|
| 969 | jsr _drawpt
|
---|
| 970 | addq.l #4,sp
|
---|
| 971 | L39:tst.l (sp)+
|
---|
| 972 | movem.l (sp)+,R3-R7/R13-R13
|
---|
| 973 | unlk R14
|
---|
| 974 | rts
|
---|
| 975 | .globl _endityp
|
---|
| 976 | .text
|
---|
| 977 | _endityp:
|
---|
| 978 | ~~endityp:
|
---|
| 979 | link R14,#-4
|
---|
| 980 | *line 368
|
---|
| 981 | clr _idnamsw
|
---|
| 982 | *line 369
|
---|
| 983 | clr _submenu
|
---|
| 984 | *line 370
|
---|
| 985 | jsr _idvlblc
|
---|
| 986 | *line 371
|
---|
| 987 | move #19,(sp)
|
---|
| 988 | jsr _dswin
|
---|
| 989 | *line 372
|
---|
| 990 | move #22,(sp)
|
---|
| 991 | jsr _dswin
|
---|
| 992 | L45:unlk R14
|
---|
| 993 | rts
|
---|
| 994 | .globl _showfn
|
---|
| 995 | .text
|
---|
| 996 | _showfn:
|
---|
| 997 | ~~showfn:
|
---|
| 998 | link R14,#-4
|
---|
| 999 | *line 383
|
---|
| 1000 | move #13,(sp)
|
---|
| 1001 | jsr _dswin
|
---|
| 1002 | *line 384
|
---|
| 1003 | move #1,(sp)
|
---|
| 1004 | jsr _showpt
|
---|
| 1005 | L46:unlk R14
|
---|
| 1006 | rts
|
---|
| 1007 | .globl _bx_null
|
---|
| 1008 | .text
|
---|
| 1009 | _bx_null:
|
---|
| 1010 | ~~bx_null:
|
---|
| 1011 | link R14,#-4
|
---|
| 1012 | *line 396
|
---|
| 1013 | move #1,R0
|
---|
| 1014 | bra L47
|
---|
| 1015 | L47:unlk R14
|
---|
| 1016 | rts
|
---|
| 1017 | .globl _iclrwin
|
---|
| 1018 | .text
|
---|
| 1019 | _iclrwin:
|
---|
| 1020 | ~~iclrwin:
|
---|
| 1021 | ~n=R7
|
---|
| 1022 | link R14,#0
|
---|
| 1023 | movem.l R6-R7,-(sp)
|
---|
| 1024 | *line 408
|
---|
| 1025 | move 8(R14),R7
|
---|
| 1026 | *line 408
|
---|
| 1027 | *line 409
|
---|
| 1028 | clr R0
|
---|
| 1029 | move 10+_v_regs,R0
|
---|
| 1030 | and #384,R0
|
---|
| 1031 | beq L49
|
---|
| 1032 | *line 409
|
---|
| 1033 | clr (sp)
|
---|
| 1034 | jsr _vbank
|
---|
| 1035 | *line 410
|
---|
| 1036 | L49:
|
---|
| 1037 | *line 411
|
---|
| 1038 | *line 412
|
---|
| 1039 | move R7,R0
|
---|
| 1040 | asl #4,R0
|
---|
| 1041 | ext.l R0
|
---|
| 1042 | move.l R0,R8
|
---|
| 1043 | move.l #_idbox,R9
|
---|
| 1044 | move 10(R8,R9.l),(sp)
|
---|
| 1045 | jsr _exp_c
|
---|
| 1046 | move R0,(sp)
|
---|
| 1047 | move R7,R0
|
---|
| 1048 | asl #4,R0
|
---|
| 1049 | ext.l R0
|
---|
| 1050 | move.l R0,R8
|
---|
| 1051 | move.l #_idbox,R9
|
---|
| 1052 | move 6(R8,R9.l),-(sp)
|
---|
| 1053 | move R7,R0
|
---|
| 1054 | asl #4,R0
|
---|
| 1055 | ext.l R0
|
---|
| 1056 | move.l R0,R8
|
---|
| 1057 | move.l #_idbox,R9
|
---|
| 1058 | move 4(R8,R9.l),-(sp)
|
---|
| 1059 | move R7,R0
|
---|
| 1060 | asl #4,R0
|
---|
| 1061 | ext.l R0
|
---|
| 1062 | move.l R0,R8
|
---|
| 1063 | move.l #_idbox,R9
|
---|
| 1064 | move 2(R8,R9.l),-(sp)
|
---|
| 1065 | move R7,R0
|
---|
| 1066 | asl #4,R0
|
---|
| 1067 | ext.l R0
|
---|
| 1068 | move.l R0,R8
|
---|
| 1069 | move.l #_idbox,R9
|
---|
| 1070 | move 0(R8,R9.l),-(sp)
|
---|
| 1071 | move #128,-(sp)
|
---|
| 1072 | move.l _instob,-(sp)
|
---|
| 1073 | jsr _vbfill4
|
---|
| 1074 | adda.l #14,sp
|
---|
| 1075 | L48:tst.l (sp)+
|
---|
| 1076 | movem.l (sp)+,R7-R7
|
---|
| 1077 | unlk R14
|
---|
| 1078 | rts
|
---|
| 1079 | .globl _idfnbox
|
---|
| 1080 | .text
|
---|
| 1081 | _idfnbox:
|
---|
| 1082 | ~~idfnbox:
|
---|
| 1083 | ~n=8
|
---|
| 1084 | link R14,#0
|
---|
| 1085 | movem.l R4-R7/R12-R13,-(sp)
|
---|
| 1086 | ~col=R7
|
---|
| 1087 | ~i=R6
|
---|
| 1088 | ~row=R5
|
---|
| 1089 | ~ip=R13
|
---|
| 1090 | ~ivtdptr=R12
|
---|
| 1091 | *line 432
|
---|
| 1092 | move _curvce,R0
|
---|
| 1093 | muls #3938,R0
|
---|
| 1094 | move.l R0,R13
|
---|
| 1095 | add.l #_vbufs,R13
|
---|
| 1096 | *line 434
|
---|
| 1097 | move _hitcy,R5
|
---|
| 1098 | ext.l R5
|
---|
| 1099 | divs #14,R5
|
---|
| 1100 | *line 435
|
---|
| 1101 | move _hitcx,R7
|
---|
| 1102 | asr #3,R7
|
---|
| 1103 | *line 439
|
---|
| 1104 | *line 439
|
---|
| 1105 | cmp #12,_hitbox
|
---|
| 1106 | bne L51
|
---|
| 1107 | *line 440
|
---|
| 1108 | *line 441
|
---|
| 1109 | *line 442
|
---|
| 1110 | *line 443
|
---|
| 1111 | *line 444
|
---|
| 1112 | cmp #4,_curfunc
|
---|
| 1113 | bne L52
|
---|
| 1114 | cmp #5,R5
|
---|
| 1115 | bne L52
|
---|
| 1116 | cmp #62,R7
|
---|
| 1117 | bne L52
|
---|
| 1118 | *line 444
|
---|
| 1119 | jsr _enterit
|
---|
| 1120 | bra L50
|
---|
| 1121 | *line 445
|
---|
| 1122 | L52:
|
---|
| 1123 | *line 446
|
---|
| 1124 | move _pntsv,R0
|
---|
| 1125 | bra L54
|
---|
| 1126 | *line 447
|
---|
| 1127 | L55:
|
---|
| 1128 | *line 448
|
---|
| 1129 | *line 449
|
---|
| 1130 | *line 450
|
---|
| 1131 | jsr _selpnt
|
---|
| 1132 | move R0,_subj
|
---|
| 1133 | *line 451
|
---|
| 1134 | jsr _pntsel
|
---|
| 1135 | *line 452
|
---|
| 1136 | move #1,_pntsv
|
---|
| 1137 | *line 453
|
---|
| 1138 | *line 454
|
---|
| 1139 | move _curfunc,(sp)
|
---|
| 1140 | jsr _edfunc
|
---|
| 1141 | *line 455
|
---|
| 1142 | move #1,(sp)
|
---|
| 1143 | jsr _showpt
|
---|
| 1144 | *line 456
|
---|
| 1145 | *line 457
|
---|
| 1146 | *line 458
|
---|
| 1147 | *line 459
|
---|
| 1148 | move #12,(sp)
|
---|
| 1149 | move _subj,-(sp)
|
---|
| 1150 | move _curfunc,-(sp)
|
---|
| 1151 | jsr _timeto
|
---|
| 1152 | addq.l #4,sp
|
---|
| 1153 | move R0,-(sp)
|
---|
| 1154 | jsr _ttox
|
---|
| 1155 | addq.l #2,sp
|
---|
| 1156 | move R0,_cxval
|
---|
| 1157 | *line 460
|
---|
| 1158 | move #12,(sp)
|
---|
| 1159 | move.l _pntptr,R8
|
---|
| 1160 | move 2(R8),R0
|
---|
| 1161 | asr #5,R0
|
---|
| 1162 | move R0,-(sp)
|
---|
| 1163 | jsr _vtoy
|
---|
| 1164 | addq.l #2,sp
|
---|
| 1165 | move R0,_cyval
|
---|
| 1166 | *line 461
|
---|
| 1167 | move #3,(sp)
|
---|
| 1168 | jsr _arcurs
|
---|
| 1169 | *line 462
|
---|
| 1170 | move _cyval,(sp)
|
---|
| 1171 | move _cxval,-(sp)
|
---|
| 1172 | jsr _gcurpos
|
---|
| 1173 | addq.l #2,sp
|
---|
| 1174 | bra L53
|
---|
| 1175 | *line 463
|
---|
| 1176 | *line 464
|
---|
| 1177 | L56:
|
---|
| 1178 | *line 465
|
---|
| 1179 | *line 466
|
---|
| 1180 | *line 467
|
---|
| 1181 | clr _pntsv
|
---|
| 1182 | *line 468
|
---|
| 1183 | move _curfunc,(sp)
|
---|
| 1184 | jsr _edfunc
|
---|
| 1185 | *line 469
|
---|
| 1186 | move #1,(sp)
|
---|
| 1187 | jsr _arcurs
|
---|
| 1188 | *line 470
|
---|
| 1189 | move _cyval,(sp)
|
---|
| 1190 | move _cxval,-(sp)
|
---|
| 1191 | jsr _gcurpos
|
---|
| 1192 | addq.l #2,sp
|
---|
| 1193 | bra L53
|
---|
| 1194 | *line 471
|
---|
| 1195 | bra L53
|
---|
| 1196 | L54:tst R0
|
---|
| 1197 | beq L55
|
---|
| 1198 | cmp #1,R0
|
---|
| 1199 | beq L56
|
---|
| 1200 | bra L53
|
---|
| 1201 | L53:
|
---|
| 1202 | *line 472
|
---|
| 1203 | *line 473
|
---|
| 1204 | *line 474
|
---|
| 1205 | move #1,R0
|
---|
| 1206 | bra L50
|
---|
| 1207 | *line 475
|
---|
| 1208 | bra L57
|
---|
| 1209 | L51:
|
---|
| 1210 | *line 476
|
---|
| 1211 | *line 476
|
---|
| 1212 | cmp #18,_hitbox
|
---|
| 1213 | bne L58
|
---|
| 1214 | *line 477
|
---|
| 1215 | *line 478
|
---|
| 1216 | *line 478
|
---|
| 1217 | cmp #17,R5
|
---|
| 1218 | bne L59
|
---|
| 1219 | cmp #4,R7
|
---|
| 1220 | blt L59
|
---|
| 1221 | cmp #9,R7
|
---|
| 1222 | bgt L59
|
---|
| 1223 | *line 479
|
---|
| 1224 | *line 480
|
---|
| 1225 | clr (sp)
|
---|
| 1226 | jsr _wcmenu
|
---|
| 1227 | *line 481
|
---|
| 1228 | move #1,R0
|
---|
| 1229 | bra L50
|
---|
| 1230 | *line 482
|
---|
| 1231 | bra L60
|
---|
| 1232 | L59:
|
---|
| 1233 | *line 483
|
---|
| 1234 | *line 484
|
---|
| 1235 | *line 485
|
---|
| 1236 | jsr _enterit
|
---|
| 1237 | bra L50
|
---|
| 1238 | L60:
|
---|
| 1239 | *line 486
|
---|
| 1240 | *line 487
|
---|
| 1241 | *line 488
|
---|
| 1242 | bra L61
|
---|
| 1243 | L58:
|
---|
| 1244 | *line 489
|
---|
| 1245 | *line 489
|
---|
| 1246 | cmp #19,_hitbox
|
---|
| 1247 | bne L62
|
---|
| 1248 | *line 490
|
---|
| 1249 | *line 491
|
---|
| 1250 | *line 491
|
---|
| 1251 | cmp #26,R7
|
---|
| 1252 | blt L63
|
---|
| 1253 | cmp #29,R7
|
---|
| 1254 | bgt L63
|
---|
| 1255 | cmp #17,R5
|
---|
| 1256 | bne L63
|
---|
| 1257 | *line 492
|
---|
| 1258 | *line 493
|
---|
| 1259 | *line 493
|
---|
| 1260 | tst _idimsw
|
---|
| 1261 | beq L64
|
---|
| 1262 | *line 494
|
---|
| 1263 | *line 495
|
---|
| 1264 | clr _idimsw
|
---|
| 1265 | *line 496
|
---|
| 1266 | *line 497
|
---|
| 1267 | *line 498
|
---|
| 1268 | clr R0
|
---|
| 1269 | move 10+_v_regs,R0
|
---|
| 1270 | and #384,R0
|
---|
| 1271 | beq L65
|
---|
| 1272 | *line 498
|
---|
| 1273 | clr (sp)
|
---|
| 1274 | jsr _vbank
|
---|
| 1275 | *line 499
|
---|
| 1276 | L65:
|
---|
| 1277 | *line 500
|
---|
| 1278 | jsr _idbord
|
---|
| 1279 | *line 501
|
---|
| 1280 | jsr _allwins
|
---|
| 1281 | *line 502
|
---|
| 1282 | bra L66
|
---|
| 1283 | L64:
|
---|
| 1284 | *line 503
|
---|
| 1285 | *line 504
|
---|
| 1286 | *line 505
|
---|
| 1287 | move #1,_idimsw
|
---|
| 1288 | *line 506
|
---|
| 1289 | move.l #_idtxput,_itxput
|
---|
| 1290 | *line 507
|
---|
| 1291 | *line 508
|
---|
| 1292 | *line 509
|
---|
| 1293 | clr R0
|
---|
| 1294 | move 10+_v_regs,R0
|
---|
| 1295 | and #384,R0
|
---|
| 1296 | beq L67
|
---|
| 1297 | *line 509
|
---|
| 1298 | clr (sp)
|
---|
| 1299 | jsr _vbank
|
---|
| 1300 | *line 510
|
---|
| 1301 | L67:
|
---|
| 1302 | *line 511
|
---|
| 1303 | *line 512
|
---|
| 1304 | move 314+_idbox,(sp)
|
---|
| 1305 | jsr _exp_c
|
---|
| 1306 | move R0,(sp)
|
---|
| 1307 | move #208,-(sp)
|
---|
| 1308 | move #510,-(sp)
|
---|
| 1309 | move #1,-(sp)
|
---|
| 1310 | move #1,-(sp)
|
---|
| 1311 | move #128,-(sp)
|
---|
| 1312 | move.l _instob,-(sp)
|
---|
| 1313 | jsr _vbfill4
|
---|
| 1314 | adda.l #14,sp
|
---|
| 1315 | *line 513
|
---|
| 1316 | *line 514
|
---|
| 1317 | move #13,R6
|
---|
| 1318 | bra L70
|
---|
| 1319 | L71:
|
---|
| 1320 | *line 515
|
---|
| 1321 | move R6,(sp)
|
---|
| 1322 | jsr _iclrwin
|
---|
| 1323 | L69:
|
---|
| 1324 | *line 514
|
---|
| 1325 | add #1,R6
|
---|
| 1326 | L70:
|
---|
| 1327 | *line 514
|
---|
| 1328 | cmp #18,R6
|
---|
| 1329 | ble L71
|
---|
| 1330 | L68:
|
---|
| 1331 | *line 515
|
---|
| 1332 | *line 516
|
---|
| 1333 | *line 517
|
---|
| 1334 | move #20,R6
|
---|
| 1335 | bra L74
|
---|
| 1336 | L75:
|
---|
| 1337 | *line 518
|
---|
| 1338 | move R6,(sp)
|
---|
| 1339 | jsr _iclrwin
|
---|
| 1340 | L73:
|
---|
| 1341 | *line 517
|
---|
| 1342 | add #1,R6
|
---|
| 1343 | L74:
|
---|
| 1344 | *line 517
|
---|
| 1345 | cmp #22,R6
|
---|
| 1346 | ble L75
|
---|
| 1347 | L72:
|
---|
| 1348 | *line 518
|
---|
| 1349 | *line 519
|
---|
| 1350 | *line 520
|
---|
| 1351 | jsr _showim
|
---|
| 1352 | L66:
|
---|
| 1353 | *line 521
|
---|
| 1354 | *line 522
|
---|
| 1355 | *line 523
|
---|
| 1356 | clr R0
|
---|
| 1357 | bra L50
|
---|
| 1358 | *line 524
|
---|
| 1359 | bra L76
|
---|
| 1360 | L63:
|
---|
| 1361 | *line 525
|
---|
| 1362 | *line 526
|
---|
| 1363 | *line 527
|
---|
| 1364 | jsr _enterit
|
---|
| 1365 | bra L50
|
---|
| 1366 | L76:
|
---|
| 1367 | *line 528
|
---|
| 1368 | *line 529
|
---|
| 1369 | *line 530
|
---|
| 1370 | bra L77
|
---|
| 1371 | L62:
|
---|
| 1372 | *line 531
|
---|
| 1373 | *line 531
|
---|
| 1374 | cmp #21,_hitbox
|
---|
| 1375 | bne L78
|
---|
| 1376 | *line 532
|
---|
| 1377 | *line 533
|
---|
| 1378 | *line 533
|
---|
| 1379 | cmp #17,R5
|
---|
| 1380 | bne L79
|
---|
| 1381 | cmp #48,R7
|
---|
| 1382 | blt L79
|
---|
| 1383 | cmp #54,R7
|
---|
| 1384 | bgt L79
|
---|
| 1385 | *line 534
|
---|
| 1386 | *line 535
|
---|
| 1387 | move #1,(sp)
|
---|
| 1388 | jsr _wcmenu
|
---|
| 1389 | *line 536
|
---|
| 1390 | move #1,R0
|
---|
| 1391 | bra L50
|
---|
| 1392 | *line 537
|
---|
| 1393 | bra L80
|
---|
| 1394 | L79:
|
---|
| 1395 | *line 538
|
---|
| 1396 | *line 539
|
---|
| 1397 | *line 540
|
---|
| 1398 | jsr _enterit
|
---|
| 1399 | bra L50
|
---|
| 1400 | L80:
|
---|
| 1401 | *line 541
|
---|
| 1402 | *line 542
|
---|
| 1403 | bra L81
|
---|
| 1404 | L78:
|
---|
| 1405 | *line 543
|
---|
| 1406 | *line 543
|
---|
| 1407 | cmp #23,_hitbox
|
---|
| 1408 | bne L82
|
---|
| 1409 | *line 544
|
---|
| 1410 | *line 545
|
---|
| 1411 | *line 545
|
---|
| 1412 | tst _idnamsw
|
---|
| 1413 | beq L83
|
---|
| 1414 | *line 546
|
---|
| 1415 | *line 547
|
---|
| 1416 | jsr _vtyper
|
---|
| 1417 | *line 548
|
---|
| 1418 | move _curvce,R8
|
---|
| 1419 | add.l R8,R8
|
---|
| 1420 | add.l #_instmod,R8
|
---|
| 1421 | move #1,(R8)
|
---|
| 1422 | *line 549
|
---|
| 1423 | bra L84
|
---|
| 1424 | L83:
|
---|
| 1425 | *line 550
|
---|
| 1426 | *line 551
|
---|
| 1427 | *line 552
|
---|
| 1428 | *line 553
|
---|
| 1429 | *line 554
|
---|
| 1430 | *line 555
|
---|
| 1431 | cmp #18,R5
|
---|
| 1432 | bne L85
|
---|
| 1433 | *line 555
|
---|
| 1434 | lea 2(R13),R12
|
---|
| 1435 | bra L86
|
---|
| 1436 | L85:
|
---|
| 1437 | *line 556
|
---|
| 1438 | *line 557
|
---|
| 1439 | cmp #19,R5
|
---|
| 1440 | bne L87
|
---|
| 1441 | *line 557
|
---|
| 1442 | lea 19(R13),R12
|
---|
| 1443 | bra L88
|
---|
| 1444 | L87:
|
---|
| 1445 | *line 558
|
---|
| 1446 | *line 559
|
---|
| 1447 | cmp #20,R5
|
---|
| 1448 | bne L89
|
---|
| 1449 | *line 559
|
---|
| 1450 | lea 36(R13),R12
|
---|
| 1451 | *line 560
|
---|
| 1452 | bra L90
|
---|
| 1453 | L89:
|
---|
| 1454 | *line 561
|
---|
| 1455 | lea 53(R13),R12
|
---|
| 1456 | L90:L88:L86:
|
---|
| 1457 | *line 562
|
---|
| 1458 | *line 563
|
---|
| 1459 | move R5,R0
|
---|
| 1460 | add #-18,R0
|
---|
| 1461 | move R0,_idtdat
|
---|
| 1462 | *line 564
|
---|
| 1463 | *line 565
|
---|
| 1464 | jsr _idvtyp
|
---|
| 1465 | *line 566
|
---|
| 1466 | move #22,(sp)
|
---|
| 1467 | jsr _dswin
|
---|
| 1468 | *line 567
|
---|
| 1469 | move #1,_idnamsw
|
---|
| 1470 | *line 568
|
---|
| 1471 | move #1,_submenu
|
---|
| 1472 | *line 569
|
---|
| 1473 | *line 570
|
---|
| 1474 | *line 571
|
---|
| 1475 | *line 572
|
---|
| 1476 | move 314+_idbox,(sp)
|
---|
| 1477 | move 312+_idbox,-(sp)
|
---|
| 1478 | move.l #_endityp,-(sp)
|
---|
| 1479 | move.l #_cdnicur,-(sp)
|
---|
| 1480 | move.l #_cupicur,-(sp)
|
---|
| 1481 | move.l #_bspicur,-(sp)
|
---|
| 1482 | move.l #_advicur,-(sp)
|
---|
| 1483 | move #17,-(sp)
|
---|
| 1484 | move #22,-(sp)
|
---|
| 1485 | move.l R12,-(sp)
|
---|
| 1486 | move #17,-(sp)
|
---|
| 1487 | move.l #_vtdisp,-(sp)
|
---|
| 1488 | move.l _instob,-(sp)
|
---|
| 1489 | jsr _vtsetup
|
---|
| 1490 | adda.l #40,sp
|
---|
| 1491 | L84:
|
---|
| 1492 | *line 573
|
---|
| 1493 | *line 574
|
---|
| 1494 | *line 575
|
---|
| 1495 | move #1,R0
|
---|
| 1496 | bra L50
|
---|
| 1497 | *line 576
|
---|
| 1498 | *line 577
|
---|
| 1499 | bra L91
|
---|
| 1500 | L82:
|
---|
| 1501 | *line 578
|
---|
| 1502 | *line 578
|
---|
| 1503 | cmp #12,_hitbox
|
---|
| 1504 | bge L92
|
---|
| 1505 | *line 579
|
---|
| 1506 | *line 580
|
---|
| 1507 | clr _pntsv
|
---|
| 1508 | *line 581
|
---|
| 1509 | *line 582
|
---|
| 1510 | move #1,(sp)
|
---|
| 1511 | jsr _arcurs
|
---|
| 1512 | *line 583
|
---|
| 1513 | move _cyval,(sp)
|
---|
| 1514 | move _cxval,-(sp)
|
---|
| 1515 | jsr _gcurpos
|
---|
| 1516 | addq.l #2,sp
|
---|
| 1517 | *line 584
|
---|
| 1518 | *line 585
|
---|
| 1519 | *line 585
|
---|
| 1520 | move 8(R14),R0
|
---|
| 1521 | cmp _curfunc,R0
|
---|
| 1522 | beq L93
|
---|
| 1523 | *line 586
|
---|
| 1524 | *line 587
|
---|
| 1525 | *line 588
|
---|
| 1526 | cmp #12,_curfunc
|
---|
| 1527 | beq L94
|
---|
| 1528 | *line 588
|
---|
| 1529 | move _curfunc,(sp)
|
---|
| 1530 | jsr _dswin
|
---|
| 1531 | *line 589
|
---|
| 1532 | L94:
|
---|
| 1533 | *line 590
|
---|
| 1534 | move 8(R14),(sp)
|
---|
| 1535 | jsr _edfunc
|
---|
| 1536 | *line 591
|
---|
| 1537 | bra L95
|
---|
| 1538 | L93:
|
---|
| 1539 | *line 592
|
---|
| 1540 | *line 593
|
---|
| 1541 | *line 594
|
---|
| 1542 | move _curfunc,(sp)
|
---|
| 1543 | jsr _dswin
|
---|
| 1544 | *line 595
|
---|
| 1545 | move #12,(sp)
|
---|
| 1546 | jsr _edfunc
|
---|
| 1547 | L95:
|
---|
| 1548 | *line 596
|
---|
| 1549 | *line 597
|
---|
| 1550 | *line 598
|
---|
| 1551 | clr _subj
|
---|
| 1552 | *line 599
|
---|
| 1553 | jsr _pntsel
|
---|
| 1554 | *line 600
|
---|
| 1555 | *line 601
|
---|
| 1556 | jsr _showfn
|
---|
| 1557 | *line 602
|
---|
| 1558 | *line 603
|
---|
| 1559 | move #175,(sp)
|
---|
| 1560 | move #256,-(sp)
|
---|
| 1561 | jsr _setgc
|
---|
| 1562 | addq.l #2,sp
|
---|
| 1563 | *line 604
|
---|
| 1564 | move #1,R0
|
---|
| 1565 | bra L50
|
---|
| 1566 | *line 605
|
---|
| 1567 | *line 606
|
---|
| 1568 | L92:L91:L81:L77:L61:L57:
|
---|
| 1569 | *line 607
|
---|
| 1570 | clr R0
|
---|
| 1571 | bra L50
|
---|
| 1572 | L50:tst.l (sp)+
|
---|
| 1573 | movem.l (sp)+,R5-R7/R12-R13
|
---|
| 1574 | unlk R14
|
---|
| 1575 | rts
|
---|
| 1576 | .data
|
---|
| 1577 | L8:.dc.b $4E,$6F,$20,$49,$6E,$73,$74,$72,$75,$6D,$65,$6E,$74,$0
|
---|
| 1578 | L13:.dc.b $25,$30,$32,$64,$20,$25,$2D,$31,$36,$2E,$31,$36,$73,$0
|
---|
| 1579 | L30:.dc.b $C0,$0
|
---|
| 1580 | L31:.dc.b $C2,$0
|
---|
| 1581 | L32:.dc.b $C4,$0
|
---|
| 1582 | L33:.dc.b $C6,$0
|
---|
| 1583 | L34:.dc.b $C8,$0
|
---|
| 1584 | L35:.dc.b $CA,$0
|
---|
| 1585 | L38:.dc.b $52,$65,$73,$0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.