home *** CD-ROM | disk | FTP | other *** search
- org $6a000
- load $6a000
-
- LOCATE: equ $c83be4
- STtrk: equ 70
- nr: equ 9
-
- j: move.w #$7fff,$dff09a
- bsr Dload
- move.w #$e02c,$dff09a
- rts
-
- Dload: LEA $DFF000,A6
- LEA $BFD100,A4
- LEA $BFE001,A5
- MOVE.W #$4000,$24(A6)
- MOVE.W #$7FFF,$9E(A6)
- MOVE.W #$D500,$9E(A6)
- MOVE.W #$4489,$7E(A6)
- MOVE.B #$7F,D1
- MOVE.B D1,(A4)
- MOVE.W #0,D0
- BEQ.S C070
- BCLR #2,D1
- C070: BCLR #3,D1
- MOVE.B D1,(A4)
- C076: BTST #5,(A5)
- BNE.S C076
- MOVE.W #STtrk,lbW0002C8
-
- C084: BSR C174
- MOVE.L #$70000,A3
- MOVE.W #$9900,D1
- BSR C1E2
- btst #6,$bfe001
- beq.s ex
- TST.L D0
- BMI.S C084
- MOVE.L #$4A4F4348,lbL0002D2
- C0A4: CMP.W #$44A9,(A3)+
- BEQ.S C0A4
- SUBQ.W #2,A3
- MOVEQ #1,D7
- LEA lbW0002D6,A2
- BSR C128
- MOVE.W lbW0002D8(PC),D0
- CMP.W lbW0002C8(PC),D0
- BEQ.S C0CC
- BSR C14E
- BSR C174
- BRA.S C084
-
- C0CC: MOVE.W #$600,D7
- MOVE.L lbL0002CE(PC),A2
- BSR C128
- MOVEQ #1,D7
- LEA lbW0002D6,A2
- BSR C128
- TST.L lbL0002D2
- BNE.S C084
- ADD.L #$1800,lbL0002CE
- ADDQ.W #1,lbW0002C8
- CMP.W #sttrk+nr,lbW0002C8
- BNE C084
- ex: rts
-
-
- tt: move.l a7,d7
- PEA $404
- PEA $3C00
- PEA $3C4C
- PEA $3C20
- MOVE.L (SP)+,D0
- SUB.L D0,-(SP)
- MOVE.L (SP)+,A0
- ADD.L 4(SP),A0
- ADD.W #$6C,A0
- move.l d7,a7
- rts
-
-
-
- C128: SUBQ.W #1,D7
- BMI.S C14A
- C12C: MOVE.L #$55555555,D6
- MOVE.L (A3)+,D4
- MOVE.L (A3)+,D5
- AND.L D6,D5
- AND.L D6,D4
- ADD.L D4,D4
- OR.L D5,D4
- MOVE.L D4,(A2)+
- EOR.L D4,lbL0002D2
- DBRA D7,C12C
-
- C14A: MOVEQ #0,D6
- RTS
-
- C14E: MOVE.W #$59,D7
- C152: BTST #4,(A5)
- BEQ.S C164
- BSR C1B4
- DBRA D7,C152
-
- MOVEQ #-$1,D0
- RTS
-
- C164: MOVEQ #0,D0
- MOVE.W D0,lbW0002CA
- ST lbB0002CC
- RTS
-
- C174: TST.W lbB0002CC
- BNE.S C180
- BSR C14E
- C180: MOVE.W lbW0002CA(PC),D0
- MOVE.W lbW0002C8(PC),D1
- MOVE.W D1,lbW0002CA
- SUB.W D0,D1
- BEQ.S C19E
- BPL.S C1AA
- NEG.W D1
- SUBQ.W #1,D1
- C198: BSR.S C1B4
- DBRA D1,C198
-
- C19E: MOVE.W #$BB8,D0
- BSR C1DC
- MOVEQ #0,D0
- RTS
-
- C1AA: SUBQ.W #1,D1
- C1AC: BSR.S C1C8
- DBRA D1,C1AC
- BRA.S C19E
-
- C1B4: BSET #1,(A4)
- BCLR #0,(A4)
- BSET #0,(A4)
- MOVE.W #$9DB,D0
- BSR.S C1DC
- RTS
-
- C1C8: BCLR #1,(A4)
- BCLR #0,(A4)
- BSET #0,(A4)
- MOVE.W #$9DB,D0
- BSR.S C1DC
- RTS
- C1DC: DBRA D0,C1DC
- RTS
-
- C1E2: MOVE.L A3,$20(A6)
- MOVE.W #2,$9C(A6)
- MOVE.W #$8210,$96(A6)
- MOVE.W D1,$24(a6)
- MOVE.W D1,$24(a6)
- MOVE.L #$1E848,D0
- C22A: btst #1,$dff01f
- BNE.S C248
- SUBQ.L #1,D0
- BPL.S C22A
- C248: MOVE.W #$4000,$24(A6)
- RTS
-
- lbW0002BE: dc.l 0
- dc.w 0
- lbB0002C4: dc.l 0
- lbW0002C8: dc.w 0
- lbW0002CA: dc.w 0
- lbB0002CC: dc.w 0
- lbL0002CE: dc.l LOCATE
- lbL0002D2: dc.l 0
- lbW0002D6: dc.w 0
- lbW0002D8: blk.w $53,0
-