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