***************************************************** **** Phantasie III - Custom Module **** **** all adaptions by Wanted Team **** ***************************************************** incdir "dh2:include/" include 'misc/eagleplayer2.01.i' SECTION Player,Code_C P3_Start PLAYERHEADER PlayerTagArray dc.b '$VER: Phantasie III - Custom Module,',10 dc.b 'adapted by Don Adan/Wanted Team',0 even PlayerTagArray dc.l DTP_CustomPlayer,1 dc.l DTP_PlayerName,PlayerName dc.l DTP_Interrupt,Interrupt dc.l DTP_InitPlayer,InitPlayer dc.l DTP_EndPlayer,EndPlayer dc.l DTP_InitSound,InitSound dc.l DTP_EndSound,EndSound dc.l DTP_SubSongRange,SubSongRange dc.l EP_Get_ModuleInfo,Get_ModuleInfo dc.l TAG_DONE PlayerName dc.b "CustomPlay",0 Text dc.b 10 dc.b " PHANTASIE III",10 dc.b 10 dc.b " The Wrath Of Nikademus",10 dc.b " by",10 dc.b " Winston Douglas Wood",10 dc.b 10 dc.b " Amiga Version by",10 dc.b " Westwood",10 dc.b 10 dc.b " (c) 1987 Strategic Simulations, Inc.",0 even EagleBase dc.l 0 *************************************************************************** ***************************** DTP_SubSongRange **************************** *************************************************************************** SubSongRange moveq #0,D0 moveq #1+16,D1 rts *************************************************************************** ***************************** EP_Get_ModuleInfo *************************** *************************************************************************** Get_ModuleInfo lea InfoBuffer(PC),A0 rts InfoBuffer dc.l MI_SpecialInfo,Text dc.l MI_LoadSize,P3_End-P3_Start+4000+3*64 dc.l 0 *************************************************************************** ***************************** DTP_Intterrupt ****************************** *************************************************************************** Interrupt movem.l D1-A6,-(SP) bsr.w Play cmp.b #3,Stop bne.b NoEnd tst.b Stop+1 beq.b NoEnd bsr.b SongEnd move.l EagleBase(PC),A5 bsr.w InitSound ; restart music songs NoEnd movem.l (SP)+,D1-A6 moveq #0,D0 rts SongEnd movem.l A1/A5,-(A7) move.l EagleBase(PC),A5 move.l dtg_SongEnd(A5),A1 jsr (A1) movem.l (A7)+,A1/A5 rts *************************************************************************** ***************************** DTP_InitPlayer ****************************** *************************************************************************** InitPlayer move.l A5,EagleBase move.l A5,-(SP) bsr.w InstallSamples move.l (SP)+,A5 move.l dtg_AudioAlloc(A5),A0 jmp (A0) *************************************************************************** ***************************** DTP_EndPlayer ******************************* *************************************************************************** EndPlayer move.l dtg_AudioFree(A5),A0 jmp (A0) *************************************************************************** ***************************** DTP_InitSound ******************************* *************************************************************************** InitSound clr.w Stop lea Song_1(PC),A0 move.w dtg_SndNum(A5),D0 beq.b First subq.w #1,D0 bne.b More lea Song_2(PC),A0 First st Stop+1 move.l (A0)+,-(SP) move.l (A0)+,-(SP) move.l (A0)+,-(SP) bsr.w lbC001F52 lea 12(SP),SP rts More muls.w #3,D0 move.w D0,-(SP) jsr lbC00B126 addq.w #2,SP rts Stop dc.w 0 Song_1 dc.l M0+624 ; title music dc.l M0+299 dc.l M0 Song_2 dc.l M1+455 ; end music ? dc.l M1+253 dc.l M1 *************************************************************************** ***************************** DTP_EndSound ******************************** *************************************************************************** EndSound clr.l -(SP) clr.l -(SP) clr.l -(SP) bsr.w lbC001F52 lea 12(SP),SP lea $DFF000,A0 move.w #15,$96(A0) moveq #0,D0 move.w D0,$A8(A0) move.w D0,$B8(A0) move.w D0,$C8(A0) move.w D0,$D8(A0) rts *************************************************************************** *************************************************************************** *************************************************************************** ; Music from game "Phantasie III" (c) 1987 by Westwood/SSI ; Init SFX lbC00B126 LINK.W A5,#0 TST.W 8(A5) BLE.S lbC00B174 MOVE.W 8(A5),D0 ADDQ.W #2,D0 EXT.L D0 ASL.L #2,D0 LEA lbL023E12,A0 MOVE.L 0(A0,D0.L),-(SP) MOVE.W 8(A5),D1 ADDQ.W #1,D1 EXT.L D1 ASL.L #2,D1 LEA lbL023E12,A1 MOVE.L 0(A1,D1.L),-(SP) MOVE.W 8(A5),D2 EXT.L D2 ASL.L #2,D2 LEA lbL023E12,A6 MOVE.L 0(A6,D2.L),-(SP) JSR lbC001F52 LEA 12(SP),SP lbC00B174 ; CLR.W lbW0240F2 UNLK A5 RTS lbC001C24 LINK.W A5,#0 MOVE.L #$6255,D1 MOVE.L lbL0241A4,D0 JSR lbC0210FC ADD.L #$3619,D0 MOVE.L #$10000,D1 JSR lbC0211FC MOVE.L D0,lbL0241A4 MOVE.L lbL0241A4,D0 UNLK A5 RTS lbC0210FC MOVEM.L D1-D3,-(SP) MOVE.W D1,D2 MULU.W D0,D2 MOVE.L D1,D3 SWAP D3 MULU.W D0,D3 SWAP D3 CLR.W D3 ADD.L D3,D2 SWAP D0 MULU.W D1,D0 SWAP D0 CLR.W D0 ADD.L D2,D0 MOVEM.L (SP)+,D1-D3 RTS lbC0211EE TST.W D4 BEQ.S lbC0211F4 NEG.L D0 lbC0211F4 MOVEM.L (SP)+,D1/D4 TST.L D0 RTS lbC0211FC MOVEM.L D1/D4,-(SP) CLR.L D4 TST.L D0 BPL.S lbC02120A NEG.L D0 ADDQ.W #1,D4 lbC02120A TST.L D1 BPL.S lbC021210 NEG.L D1 lbC021210 BSR.S lbC02122C MOVE.L D1,D0 BRA.S lbC0211EE lbC02122C MOVEM.L D2/D3,-(SP) SWAP D1 TST.W D1 BNE.S lbC021256 SWAP D1 MOVE.W D1,D3 MOVE.W D0,D2 CLR.W D0 SWAP D0 DIVU.W D3,D0 MOVE.L D0,D1 SWAP D0 MOVE.W D2,D1 DIVU.W D3,D1 MOVE.W D1,D0 CLR.W D1 SWAP D1 MOVEM.L (SP)+,D2/D3 RTS lbC021256 SWAP D1 MOVE.L D1,D3 MOVE.L D0,D1 CLR.W D1 SWAP D1 SWAP D0 CLR.W D0 MOVEQ #15,D2 lbC021266 ADD.L D0,D0 ADDX.L D1,D1 CMP.L D1,D3 BHI.S lbC021272 SUB.L D3,D1 ADDQ.W #1,D0 lbC021272 DBRA D2,lbC021266 MOVEM.L (SP)+,D2/D3 RTS InstallSamples lbC001E6C LINK.W A5,#-4 ; MOVE.L A2,-(SP) ; CLR.W -2(A5) ;lbC001E76 PEA $40 ; JSR lbC0005CC(PC) ; ADDQ.W #4,SP ; MOVE.W -2(A5),D1 ; EXT.L D1 ; ASL.L #2,D1 ; LEA lbL02432E,A0 ; MOVE.L D0,0(A0,D1.L) ; ADDQ.W #1,-2(A5) ; CMPI.W #3,-2(A5) ; BLT.S lbC001E76 ; PEA $FA0 ; JSR lbC0005CC(PC) ; ADDQ.W #4,SP ; MOVE.L D0,lbL02433A CLR.W -2(A5) lbC001EB2 CLR.W -4(A5) lbC001EB6 MOVE.W -4(A5),D0 LEA lbW021F86,A0 MOVE.W -2(A5),D1 ASL.W #3,D1 ADD.W -4(A5),D1 MOVEA.L lbL02432E,A1 MOVE.B 0(A0,D0.W),0(A1,D1.W) MOVE.W -4(A5),D0 LEA lbW021F76,A0 MOVE.W -2(A5),D1 ASL.W #3,D1 ADD.W -4(A5),D1 MOVEA.L lbL024332,A1 MOVE.B 0(A0,D0.W),0(A1,D1.W) MOVE.W -4(A5),D0 LEA lbW021F7E,A0 MOVE.W -2(A5),D1 ASL.W #3,D1 ADD.W -4(A5),D1 MOVEA.L lbL024336,A1 MOVE.B 0(A0,D0.W),0(A1,D1.W) ADDQ.W #1,-4(A5) CMPI.W #8,-4(A5) BLT.S lbC001EB6 ADDQ.W #1,-2(A5) CMPI.W #8,-2(A5) BLT.S lbC001EB2 MOVE.W #$3E7,D0 MOVEA.L lbL02433A,A0 lbC001F38 MOVE.L D0,-(SP) JSR lbC001C24(PC) MOVE.L D0,(A0)+ MOVE.L (SP)+,D0 DBRA D0,lbC001F38 CLR.W lbW0240A0 ; MOVEA.L (SP)+,A2 UNLK A5 RTS lbC001F52 LINK.W A5,#-$16 MOVE.L #$DFF096,-4(A5) MOVE.L #$DFF000,-$16(A5) MOVE.L 8(A5),-$12(A5) MOVE.L 12(A5),-14(A5) MOVE.L $10(A5),-10(A5) CLR.W lbW0240A0 TST.L 8(A5) BNE.S lbC001FC0 TST.L 12(A5) BNE.S lbC001FC0 TST.L $10(A5) BNE.S lbC001FC0 MOVEA.L -4(A5),A0 MOVE.W #15,(A0) CLR.L lbL02429C CLR.L lbL024298 CLR.L lbL024294 CLR.L lbL024290 CLR.L lbL02428C CLR.L lbL024288 BRA.L lbC002182 lbC001FC0 CLR.W -6(A5) lbC001FC4 MOVE.W -6(A5),D0 EXT.L D0 ASL.L #2,D0 LEA -$12(A5),A0 CMPI.L #$FFFFFFFF,0(A0,D0.L) BEQ.L lbC00216C MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL024256,A0 MOVE.W #8,0(A0,D0.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL024208,A0 CLR.W 0(A0,D0.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL02420E,A0 CLR.W 0(A0,D0.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL024214,A0 MOVE.W #1,0(A0,D0.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL02421A,A0 CLR.W 0(A0,D0.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL024220,A0 CLR.W 0(A0,D0.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL024238,A0 CLR.W 0(A0,D0.L) MOVE.W -6(A5),D1 EXT.L D1 ASL.L #1,D1 LEA lbL024232,A1 CLR.W 0(A1,D1.L) MOVE.W -6(A5),D2 EXT.L D2 ASL.L #1,D2 LEA lbL02422C,A6 CLR.W 0(A6,D2.L) MOVE.W -6(A5),D3 EXT.L D3 ASL.L #1,D3 LEA lbL024226,A6 CLR.W 0(A6,D3.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL02423E,A0 CLR.W 0(A0,D0.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL024244,A0 CLR.W 0(A0,D0.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL024250,A0 CLR.W 0(A0,D0.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL02424A,A0 CLR.W 0(A0,D0.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL02425C,A0 CLR.W 0(A0,D0.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #1,D0 LEA lbL024262,A0 MOVE.W #$20,0(A0,D0.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #2,D0 LEA -$12(A5),A0 MOVE.W -6(A5),D1 EXT.L D1 ASL.L #2,D1 LEA lbL024294,A1 MOVE.L 0(A0,D0.L),0(A1,D1.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #2,D0 LEA -$12(A5),A0 MOVE.W -6(A5),D1 EXT.L D1 ASL.L #2,D1 LEA lbL024288,A1 MOVE.L 0(A0,D0.L),0(A1,D1.L) MOVE.W -6(A5),D0 EXT.L D0 ASL.L #4,D0 MOVEA.L D0,A0 ADDA.L -$16(A5),A0 MOVE.W #$20,$A4(A0) MOVE.W #$3F00,lbW02409E MOVEA.L -4(A5),A0 MOVEQ #1,D0 MOVE.W -6(A5),D1 ASL.W D1,D0 MOVE.W D0,(A0) lbC00216C ADDQ.W #1,-6(A5) CMPI.W #3,-6(A5) BLT.L lbC001FC4 MOVE.W #15,lbW02409C lbC002182 MOVE.W #1,lbW0240A0 UNLK A5 RTS Play ; LINK.W A5,#0 lbC002192 MOVEM.L D0-D3/A0-A2/A6,-(SP) CMPI.W #0,lbW0240A0 BEQ.S lbC0021DE MOVEA.L lbL024294,A6 MOVEQ #0,D3 BSR.S lbC0021E4 MOVE.L A6,lbL024294 MOVEA.L lbL024298,A6 MOVEQ #2,D3 BSR.S lbC0021E4 MOVE.L A6,lbL024298 MOVEA.L lbL02429C,A6 MOVEQ #4,D3 BSR.S lbC0021E4 MOVE.L A6,lbL02429C ADDQ.W #1,lbW0240A2 ANDI.W #3,lbW0240A2 lbC0021DE MOVEM.L (SP)+,D0-D3/A0-A2/A6 RTS lbC0021E4 CMPA.L #0,A6 BNE.S lbC0021FA MOVEQ #0,D0 ASR.W #1,D3 BSET D3,D0 MOVE.W D0,$DFF096 addq.b #1,Stop RTS lbC0021FA LEA lbL02421A,A0 MOVE.W 0(A0,D3.W),D0 BEQ.S lbC002280 SUBQ.W #1,D0 MOVE.W D0,0(A0,D3.W) BNE.S lbC002228 LEA lbL024244,A0 CMPI.W #0,0(A0,D3.W) BNE.S lbC002228 LEA lbL024220,A0 MOVE.W #3,0(A0,D3.W) lbC002228 BSR.L lbC002360 LEA lbL024250,A0 CMPI.W #0,0(A0,D3.W) BNE.S lbC00223C RTS lbC00223C LEA lbL02425C,A0 MOVE.W 0(A0,D3.W),D0 MOVE.W D0,D1 MOVE.W D3,D2 ASR.W #7,D0 ASL.W #3,D2 LEA $DFF0A6,A1 CMPI.W #1,lbW0240A2 BEQ.S lbC002266 SUB.W D0,D1 MOVE.W D1,0(A1,D2.W) RTS lbC002266 CMPI.W #3,lbW0240A2 BNE.S lbC002278 ADD.W D0,D1 MOVE.W D1,0(A1,D2.W) RTS lbC002278 MOVE.W 0(A0,D3.W),0(A1,D2.W) RTS lbC002280 MOVEQ #0,D0 MOVE.B (A6)+,D0 BMI.L lbC002436 MOVEQ #0,D1 LEA lbL024244,A0 MOVE.W #0,0(A0,D3.W) MOVE.B (A6)+,D1 BPL.S lbC0022A4 ANDI.W #$7F,D1 MOVE.W #1,0(A0,D3.W) lbC0022A4 LEA lbL024214,A0 CMPI.W #1,0(A0,D3.W) BEQ.S lbC0022BA ADDQ.W #1,D1 MULU.W 0(A0,D3.W),D1 SUBQ.W #1,D1 lbC0022BA LEA lbL02421A,A0 MOVE.W D1,0(A0,D3.W) LEA lbL024220,A0 MOVE.W #0,0(A0,D3.W) CMPI.W #0,D0 BNE.S lbC0022E0 MOVE.W #3,0(A0,D3.W) BRA.L lbC002360 lbC0022E0 SUB.W #9,D0 BPL.S lbC0022E8 MOVEQ #0,D0 lbC0022E8 ADD.W D0,D0 LEA lbW021EC8,A0 LEA lbL02425C,A1 MOVE.W 0(A0,D0.W),0(A1,D3.W) LEA lbL024256,A0 MOVE.W 0(A0,D3.W),D1 LEA lbL02432E,A0 MOVE.L 0(A0,D1.W),D0 LEA lbL02423E,A0 MOVE.W #0,0(A0,D3.W) LEA $DFF0A0,A0 MOVE.L D3,D2 ASL.W #3,D2 MOVE.W #0,8(A0,D2.W) MOVE.L D0,0(A0,D2.W) MOVE.W 0(A1,D3.W),6(A0,D2.W) LEA lbL024262,A1 MOVE.W 0(A1,D3.W),4(A0,D2.W) BSR.S lbC002360 MOVEQ #0,D1 MOVE.L D3,D2 ASR.W #1,D2 BSET D2,D1 AND.W D1,$DFF002 BNE.S lbC00235E BSET #15,D1 MOVE.W D1,$DFF096 lbC00235E RTS lbC002360 LEA lbL02423E,A0 LEA lbL024220,A1 MOVE.W 0(A1,D3.W),D0 CMPI.W #0,D0 BNE.S lbC0023AA LEA lbL024226,A1 MOVE.W 0(A1,D3.W),D1 BNE.S lbC00238E MOVE.W lbW02409E,0(A0,D3.W) MOVEQ #1,D0 BRA.S lbC0023AA lbC00238E ADD.W D1,0(A0,D3.W) MOVE.W lbW02409E,D1 CMP.W 0(A0,D3.W),D1 BGT.S lbC002416 MOVE.W lbW02409E,0(A0,D3.W) ADDQ.W #1,D0 BRA.S lbC002416 lbC0023AA CMP.W #1,D0 BNE.S lbC0023DC LEA lbL02422C,A1 MOVE.W 0(A1,D3.W),D1 BNE.S lbC0023C0 MOVEQ #2,D0 BRA.S lbC0023DC lbC0023C0 SUB.W D1,0(A0,D3.W) LEA lbL024232,A1 MOVE.W 0(A1,D3.W),D1 CMP.W 0(A0,D3.W),D1 BLT.S lbC002416 MOVE.W D1,0(A0,D3.W) ADDQ.W #1,D0 BRA.S lbC002416 lbC0023DC CMP.W #2,D0 BNE.S lbC0023F0 LEA lbL024232,A1 MOVE.W 0(A1,D3.W),0(A0,D3.W) BRA.S lbC002416 lbC0023F0 CMP.W #3,D0 BNE.S lbC002410 LEA lbL024238,A1 MOVE.W 0(A1,D3.W),D1 BEQ.S lbC002410 SUB.W D1,0(A0,D3.W) CMPI.W #0,0(A0,D3.W) BGT.S lbC002416 ADDQ.W #1,D0 lbC002410 MOVE.W #0,0(A0,D3.W) lbC002416 LEA lbL024220,A1 MOVE.W D0,0(A1,D3.W) MOVE.W 0(A0,D3.W),D0 ASL.W #3,D3 LEA $DFF0A8,A1 ASR.W #8,D0 MOVE.W D0,0(A1,D3.W) ASR.W #3,D3 RTS lbC002436 MOVEQ #0,D1 CMP.B #$C4,D0 BNE.S lbC0024B6 MOVE.W lbW02409C,D1 ASL.W #5,D1 MOVEQ #0,D0 MOVE.B (A6),D0 LSR.W #4,D0 ADD.W D0,D0 ADD.W D1,D0 LEA lbL024226,A0 LEA lbL021AA8,A1 MOVE.W 0(A1,D0.W),0(A0,D3.W) MOVEQ #0,D0 MOVE.B (A6)+,D0 AND.W #15,D0 LEA lbL02422C,A0 LEA lbL021CA8,A1 ADD.W D0,D0 ADD.W D1,D0 MOVE.W 0(A1,D0.W),0(A0,D3.W) MOVEQ #0,D0 MOVE.B (A6),D0 AND.W #15,D0 LEA lbL024238,A0 ADD.W D0,D0 ADD.W D1,D0 MOVE.W 0(A1,D0.W),0(A0,D3.W) MOVEQ #0,D0 MOVE.B (A6)+,D0 ASR.W #4,D0 ADD.W D0,D0 LEA lbL024232,A0 LEA lbW021EA8,A1 MOVE.W 0(A1,D0.W),0(A0,D3.W) BRA.L lbC002280 lbC0024B6 CMP.B #$C7,D0 BNE.S lbC0024D8 MOVE.B (A6)+,D1 MOVE.W D1,lbW02409C LEA lbW021EA8,A1 ADD.W D1,D1 MOVE.W 0(A1,D1.W),lbW02409E BRA.L lbC002280 lbC0024D8 CMP.B #$FF,D0 BNE.S lbC0024E6 MOVEA.L #0,A6 RTS lbC0024E6 CMP.B #$CE,D0 BNE.S lbC002510 LEA lbL024208,A0 SUBQ.W #1,0(A0,D3.W) MOVE.W 0(A0,D3.W),D1 BEQ.S lbC00250A MOVE.B (A6),D1 ASL.W #8,D1 OR.B 1(A6),D1 SUBA.W D1,A6 BRA.L lbC002280 lbC00250A ADDQ.L #2,A6 BRA.L lbC002280 lbC002510 CMP.B #$CD,D0 BNE.S lbC002526 LEA lbL024208,A0 MOVE.B (A6)+,D1 MOVE.W D1,0(A0,D3.W) BRA.L lbC002280 lbC002526 CMP.B #$D2,D0 BNE.S lbC00254A LEA lbL02420E,A0 SUBQ.W #1,0(A0,D3.W) MOVE.W 0(A0,D3.W),D1 BEQ.S lbC00250A MOVE.B (A6),D1 ASL.W #8,D1 OR.B 1(A6),D1 SUBA.W D1,A6 BRA.L lbC002280 lbC00254A CMP.B #$D1,D0 BNE.S lbC002560 LEA lbL02420E,A0 MOVE.B (A6)+,D1 MOVE.W D1,0(A0,D3.W) BRA.L lbC002280 lbC002560 CMP.B #$E2,D0 BNE.S lbC00257C MOVE.B (A6)+,D1 LEA lbL024214,A0 MOVE.W D1,(A0) MOVE.W D1,2(A0) MOVE.W D1,4(A0) BRA.L lbC002280 lbC00257C CMP.B #$C2,D0 BNE.S lbC0025D6 LEA lbL024256,A0 LEA lbL024262,A1 MOVE.W #$20,0(A1,D3.W) MOVE.B (A6)+,D1 CMP.W #$10,D1 BNE.S lbC0025A6 MOVE.W #0,0(A0,D3.W) BRA.L lbC002280 lbC0025A6 CMP.W #$20,D1 BNE.S lbC0025B6 MOVE.W #8,0(A0,D3.W) BRA.L lbC002280 lbC0025B6 CMP.W #$40,D1 BNE.S lbC0025C6 MOVE.W #4,0(A0,D3.W) BRA.L lbC002280 lbC0025C6 MOVE.W #12,0(A0,D3.W) MOVE.W #$7D0,0(A1,D3.W) BRA.L lbC002280 lbC0025D6 CMP.B #$DB,D0 BNE.S lbC0025EE ADDQ.L #2,A6 LEA lbL024250,A0 MOVE.W #1,0(A0,D3.W) BRA.L lbC002280 lbC0025EE CMP.B #$DC,D0 BNE.S lbC002604 LEA lbL024250,A0 MOVE.W #0,0(A0,D3.W) BRA.L lbC002280 lbC002604 CMP.B #$E1,D0 BNE.S lbC002626 LEA lbL024256,A0 LEA lbL024262,A1 MOVE.W #$20,0(A1,D3.W) MOVE.W #0,0(A0,D3.W) BRA.L lbC002280 lbC002626 CMP.B #$C3,D0 BNE.S lbC002630 BRA.L lbC00250A lbC002630 CMP.B #$E4,D0 BNE.S lbC00263A BRA.L lbC002280 lbC00263A CMP.B #$E5,D0 BNE.S lbC00265E LEA lbL024256,A0 LEA lbL024262,A1 MOVE.W #12,0(A0,D3.W) MOVE.W #$7D0,0(A1,D3.W) ADDQ.W #1,A6 BRA.L lbC002280 lbC00265E CMP.B #$E3,D0 BNE.S lbC002668 BRA.L lbC002280 lbC002668 CMP.B #$D3,D0 BNE.S lbC00267E LEA lbL024250,A0 MOVE.W #1,0(A0,D3.W) BRA.L lbC002280 lbC00267E CMP.B #$D4,D0 BNE.S lbC002694 LEA lbL024250,A0 MOVE.W #1,0(A0,D3.W) BRA.L lbC002280 lbC002694 CMP.B #$E6,D0 BNE.S lbC0026A0 ADDQ.W #1,A6 BRA.L lbC002280 lbC0026A0 CMP.B #$E7,D0 BNE.S lbC0026C8 LEA lbL024288,A0 LEA lbL024294,A1 MOVE.L (A0)+,(A1)+ MOVE.L (A0)+,(A1)+ MOVE.L (A0)+,(A1)+ LEA lbL02421A,A0 CLR.L (A0)+ CLR.W (A0) ADDQ.W #4,SP BRA.L lbC0021DE lbC0026C8 CMP.B #$CC,D0 BNE.S lbC0026D2 BRA.L lbC002280 lbC0026D2 CMP.B #$CA,D0 BNE.S lbC0026DC BRA.L lbC002280 lbC0026DC CMP.B #$E8,D0 BNE.S lbC0026F8 LEA lbL024214,A0 MOVE.B (A6)+,D1 SUB.W D1,(A0) SUB.W D1,2(A0) SUB.W D1,4(A0) BRA.L lbC002280 lbC0026F8 CMP.B #$E9,D0 BNE.S lbC002714 LEA lbL024214,A0 MOVE.B (A6)+,D1 ADD.W D1,(A0) ADD.W D1,2(A0) ADD.W D1,4(A0) BRA.L lbC002280 lbC002714 NOP LEA lbW021F90,A0 MOVE.L A0,$DFF0D0 MOVE.W #2,$DFF0D4 MOVE.W #$7D0,$DFF0D6 MOVE.W #$40,$DFF0D8 MOVE.W #$8008,$DFF096 BRA.L lbC002280 ; UNLK A5 ; RTS lbL023B4C dc.l $E202C70E dc.l $E50EC400 dc.l $F8320500 dc.w $FFF lbL023B5A dc.l $C70EE50E dc.l $C400F832 dc.l $5000FFF lbL023B66 dc.l $C70EE50E dc.l $C400F832 dc.l $5000FFF lbL023B72 dc.l $E202C70E dc.l $E514C480 dc.l $3214FF lbL023B7E dc.l $E206C70E dc.l $C445B8DB dc.l $C063700 dc.l $3B003900 dc.l $3E003C00 dc.l $41004000 dc.w 5 dc.b $FF lbB023B99 dc.b $C7 dc.l $EC445B8 dc.l $DB0C0639 dc.l $3B003C dc.l $3E0040 dc.l $410043 dc.l $5FF lbL023BB2 dc.l $C70EC445 dc.l $B8DB0C06 dc.l $3C003B00 dc.l $40003E00 dc.l $43004100 dc.l $47000005 dc.b $FF lbB023BCB dc.b $E2 dc.l $3C70DC4 dc.l $3B00DB0C dc.l $635013B dc.l $1400335 dc.l $13B0140 dc.w $3FF lbL023BE2 dc.l $C43B00DB dc.l $C062F01 dc.l $34013903 dc.l $2F013401 dc.w $3903 dc.b $FF lbB023BF5 dc.b $E2 dc.l $6C70EC4 dc.l $5B00DB0C dc.l $63C0140 dc.l $33C003E dc.l $14003FF lbL023C0A dc.l $C45B00DB dc.l $C064001 dc.l $43034000 dc.l $41014303 dc.b $FF lbB023C1B dc.b $C4 dc.l $5B00DB0C dc.l $6340137 dc.l $3340035 dc.l $13703FF lbL023C2C dc.l $E205C70E dc.l $C44B00DB dc.l $C060000 dc.w $2309 dc.b $FF lbB023C3B dc.b $C4 dc.l $5B00DB0C dc.l $6000017 dc.w $9FF lbL023C46 dc.l $E205C70E dc.l $C44B00DB dc.l $C060000 dc.l $40004300 dc.w $4001 dc.b $FF lbB023C59 dc.b $C4 dc.l $5B00DB0C dc.l $600003C dc.l $40003C dc.w $1FF lbL023C68 dc.l $C45B00DB dc.l $C060000 dc.l $39003C00 dc.w $3901 dc.b $FF lbB023C77 dc.b $E2 dc.l $2C70DC4 dc.l $6000DB0C dc.l $6000018 dc.l $418041C dc.w $8FF lbL023C8A dc.l $E206C70D dc.l $C45B00DB dc.l $C061B02 dc.w $1703 dc.b $FF lbB023C99 dc.b $C7 dc.l $DC45B00 dc.l $DB0C061A dc.l $21603FF lbL023CA6 dc.l $E205C70E dc.l $C44B00DB dc.l $C060000 dc.l $1A001600 dc.l $FFE203C7 dc.l $EE514C4 dc.l $5003C01 dc.l $43C01 dc.l $4C70D dc.l $3C010004 dc.l $3C010004 dc.l $C70C3C01 dc.l $43C01 dc.l $4C70A dc.l $3C010004 dc.l $3C010004 dc.l $C7083C01 dc.l $43C01 dc.l $4FFE5 dc.l $14C40500 dc.l $23C01 dc.l $43C01 dc.l $43C01 dc.l $43C01 dc.l $43C01 dc.l $43C01 dc.l $43C01 dc.l $43C01 dc.l $43C01 dc.l $43C01 dc.b $FF lbB023D1F dc.b $E2 dc.l $6C70DC4 dc.l $4B00DB0C dc.l $600003C dc.l $13C01FF lbL023D30 dc.l $C70DC44B dc.l $DB0C06 dc.l $3701 dc.w $3701 dc.b $FF lbB023D3F dc.b $E2 dc.l $5C70DC4 dc.l $5B00DB0C dc.l $6320132 dc.l $132013C dc.w $3FF lbL023D52 dc.l $C45B00DB dc.l $C063501 dc.l $35013501 dc.w $4003 dc.b $FF lbB023D61 dc.b $C4 dc.l $5B00DB0C dc.l $62F012F dc.l $12F0139 dc.w $3FF lbL023D70 dc.l $C70DC43B dc.l $DB0C06 dc.l $3C013D01 dc.l $3E013F01 dc.l $40013F01 dc.l $3E013D01 dc.w $3C01 dc.b $FF lbB023D8B dc.b $C7 dc.l $DC43B00 dc.l $DB0C0646 dc.l $1470148 dc.l $149014A dc.l $1490148 dc.l $1470146 dc.w $1FF lbL023DA6 dc.l $C70DC43B dc.l $DB0C06 dc.l $28012901 dc.l $2A012B01 dc.l $2C012B01 dc.l $2A012901 dc.w $2801 dc.b $FF lbB023DC1 dc.b $C7 dc.l $DC43B00 dc.l $DB0C0632 dc.l $1330134 dc.l $1350136 dc.l $1350134 dc.l $1330132 dc.w $1FF lbL023DDC dc.l $E207C70D dc.l $C433C3DB dc.l $C063701 dc.l $37013701 dc.w $3307 dc.b $FF lbB023DEF dc.b $C7 dc.l $DC433C3 dc.l $DB0C062B dc.l $12B012B dc.l $12707FF lbL023E00 dc.l $C70DC433 dc.l $C3DB0C06 dc.l $1F011F01 dc.l $1F011B07 dc.w $FF00 lbL023E12 dc.l 0 dc.l 0 dc.l 0 dc.l lbB023BF5 dc.l lbL023C0A dc.l lbB023C1B dc.l lbL023C46 dc.l lbB023C59 dc.l lbL023C68 dc.l lbB023D3F dc.l lbL023D52 dc.l lbB023D61 dc.l lbL023CA6 dc.l 0 dc.l 0 dc.l lbL023B4C dc.l lbL023B5A dc.l lbL023B66 dc.l lbL023B72 dc.l 0 dc.l 0 dc.l lbL023B7E dc.l lbB023B99 dc.l lbL023BB2 dc.l lbB023BCB dc.l lbL023BE2 dc.l 0 dc.l lbL023C2C dc.l lbB023C3B dc.l 0 dc.l lbB023C77 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l lbB023D1F dc.l lbL023D30 dc.l 0 dc.l lbL023D70 dc.l lbB023D8B dc.l 0 dc.l lbL023C8A dc.l lbB023C99 dc.l 0 dc.l lbL023DDC dc.l lbB023DEF dc.l lbL023E00 dc.l lbL023DA6 dc.l lbB023DC1 dc.l 0 lbL021AA8 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l $4330433 dc.l $1D80140 dc.l $10800E0 dc.l $B30048 dc.l $240016 dc.l $120006 dc.l $40002 dc.l 0 dc.l $8660866 dc.l $3AF0280 dc.l $20F01C0 dc.l $166008F dc.l $48002D dc.l $24000C dc.l $70004 dc.l 0 dc.l $C9A0C9A dc.l $58703C0 dc.l $31702A0 dc.l $21A00D7 dc.l $6C0043 dc.l $360012 dc.l $B0007 dc.l 0 dc.l $10CD10CD dc.l $75E0500 dc.l $41E0380 dc.l $2CD011F dc.l $8F005A dc.l $480018 dc.l $E0009 dc.l 0 dc.l $15001500 dc.l $9360640 dc.l $5260460 dc.l $3800166 dc.l $B30070 dc.l $5A001E dc.l $12000B dc.l 0 dc.l $19331933 dc.l $B0D0780 dc.l $62D0540 dc.l $43301AE dc.l $D70086 dc.l $6C0024 dc.l $16000D dc.l 0 dc.l $1D661D66 dc.l $CE508C0 dc.l $7350620 dc.l $4E601F6 dc.l $FB009D dc.l $7D002A dc.l $190010 dc.l 0 dc.l $219A219A dc.l $EBD0A00 dc.l $83C0700 dc.l $59A023D dc.l $11F00B3 dc.l $8F0030 dc.l $1D0012 dc.l 0 dc.l $25CC25CC dc.l $10940B40 dc.l $94407E0 dc.l $64D0285 dc.l $14300CA dc.l $A10036 dc.l $200014 dc.l 0 dc.l $2A002A00 dc.l $126C0C80 dc.l $A4B08C0 dc.l $70002CD dc.l $16600E0 dc.l $B3003C dc.l $240016 dc.l 0 dc.l $2E332E33 dc.l $14430DC0 dc.l $B5309A0 dc.l $7B30314 dc.l $18A00F6 dc.l $C50042 dc.l $270019 dc.l 0 dc.l $32663266 dc.l $161B0F00 dc.l $C5A0A80 dc.l $866035C dc.l $1AE010D dc.l $D70048 dc.l $2B001B dc.l 0 dc.l $369A369A dc.l $17F31040 dc.l $D620B60 dc.l $91A03A4 dc.l $1D20123 dc.l $E9004E dc.l $2F001D dc.l 0 dc.l $3ACD3ACD dc.l $19CA1180 dc.l $E690C40 dc.l $9CD03EC dc.l $1F6013A dc.l $FB0054 dc.l $32001F dc.l 0 dc.l $3F003F00 dc.l $1BA212C0 dc.l $F710D20 dc.l $A800433 dc.l $21A0150 dc.l $10D005A dc.l $360022 lbL021CA8 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l 0 dc.l $2EB dc.l $17500F9 dc.l $9D006B dc.l $58004B dc.l $3C0018 dc.l $C0007 dc.l $60002 dc.l $10000 dc.l $5D5 dc.l $2EB01F2 dc.l $13A00D5 dc.l $B00095 dc.l $770030 dc.l $18000F dc.l $C0004 dc.l $20001 dc.l $8C0 dc.l $46002EB dc.l $1D80140 dc.l $10800E0 dc.l $B30048 dc.l $240016 dc.l $120006 dc.l $40002 dc.l $BAB dc.l $5D503E3 dc.l $27501AB dc.l $15F012B dc.l $EF005F dc.l $30001E dc.l $180008 dc.l $50003 dc.l $E95 dc.l $74B04DC dc.l $3120215 dc.l $1B70175 dc.l $12B0077 dc.l $3C0025 dc.l $1E000A dc.l $60004 dc.l $1180 dc.l $8C005D5 dc.l $3AF0280 dc.l $20F01C0 dc.l $166008F dc.l $48002D dc.l $24000C dc.l $70004 dc.l $146B dc.l $A3506CE dc.l $44C02EB dc.l $267020B dc.l $1A200A7 dc.l $540034 dc.l $2A000E dc.l $80005 dc.l $1755 dc.l $BAB07C7 dc.l $4EA0355 dc.l $2BF0255 dc.l $1DE00BF dc.l $5F003C dc.l $300010 dc.l $90006 dc.l $1A40 dc.l $D2008C0 dc.l $58703C0 dc.l $31702A0 dc.l $21A00D7 dc.l $6C0043 dc.l $360012 dc.l $B0007 dc.l $1D2B dc.l $E9509B9 dc.l $624042B dc.l $36E02EB dc.l $25500EF dc.l $77004B dc.l $3C0014 dc.l $C0007 dc.l $2015 dc.l $100B0AB2 dc.l $6C10495 dc.l $3C60335 dc.l $2910107 dc.l $830052 dc.l $420016 dc.l $D0008 dc.l $2300 dc.l $11800BAB dc.l $75E0500 dc.l $41E0380 dc.l $2CD011F dc.l $8F005A dc.l $480018 dc.l $E0009 dc.l $25EA dc.l $12F50CA4 dc.l $7FC056B dc.l $47603CA dc.l $3090137 dc.l $9B0061 dc.l $4E001A dc.l $100009 dc.l $28D5 dc.l $146B0D9C dc.l $89905D5 dc.l $4CE0415 dc.l $344014F dc.l $A70069 dc.l $54001C dc.l $11000A dc.l $2BC0 dc.l $15E00E95 dc.l $9360640 dc.l $5260460 dc.l $3800166 dc.l $B30070 dc.l $5A001E dc.l $12000B lbW021EA8 dc.w 0 dc.w $433 dc.w $866 dc.w $C9A dc.w $10CD dc.w $1500 dc.w $1933 dc.w $1D66 dc.w $219A dc.w $25CC dc.w $2A00 dc.w $2E33 dc.w $3266 dc.w $369A dc.w $3ACD dc.w $3F00 lbW021EC8 dc.w $3F80 dc.w $3C00 dc.w $38A0 dc.w $35E0 dc.w $3280 dc.w $2FA0 dc.w $2D00 dc.w $2A60 dc.w $2800 dc.w $25C0 dc.w $23A0 dc.w $21A0 dc.w $1FC0 dc.w $1E00 dc.w $1C50 dc.w $1AF0 dc.w $1940 dc.w $17D0 dc.w $1680 dc.w $1530 dc.w $1400 dc.w $12E0 dc.w $11D0 dc.w $10D0 dc.w $FE0 dc.w $F00 dc.w $E28 dc.w $D78 dc.w $CA0 dc.w $BE8 dc.w $B40 dc.w $A98 dc.w $A00 dc.w $970 dc.w $8E8 dc.w $868 dc.w $7F0 dc.w $780 dc.w $714 dc.w $6B0 dc.w $650 dc.w $5F4 dc.w $5A0 dc.w $54C dc.w $500 dc.w $4B8 dc.w $474 dc.w $434 dc.w $3F8 dc.w $3C0 dc.w $38A dc.w $358 dc.w $328 dc.w $2FA dc.w $2D0 dc.w $2A6 dc.w $280 dc.w $25C dc.w $23A dc.w $21A dc.w $1FC dc.w $1E0 dc.w $1C5 dc.w $1AC dc.w $194 dc.w $17D dc.w $168 dc.w $153 dc.w $140 dc.w $12E dc.w $11D dc.w $10D dc.w $FE dc.w $F0 dc.w $E2 dc.w $D6 dc.w $CA dc.w $BE dc.w $B4 dc.w $AA dc.w $A0 dc.w $97 dc.w $8F dc.w $87 dc.w $7F dc.w $7C dc.w $7C lbW021F76 dc.w $7F7F dc.w $7F7F dc.w $8181 dc.w $8181 lbW021F7E dc.w $2A dc.w $557F dc.w $81AB dc.w $D600 lbW021F86 dc.w $35 dc.w $7F49 dc.w $CB dc.w $81B7 dc.w 0 lbW021F90 dc.w $817F dc.w 0 lbW02409C ds.w 1 lbW02409E ds.w 1 lbW0240A0 ds.w 1 lbW0240A2 ds.w 1 lbL0241A4 ds.l 1 lbL024208 ds.l 1 ds.w 1 lbL02420E ds.l 1 ds.w 1 lbL024214 ds.l 1 ds.w 1 lbL02421A ds.l 1 ds.w 1 lbL024220 ds.l 1 ds.w 1 lbL024226 ds.l 1 ds.w 1 lbL02422C ds.l 1 ds.w 1 lbL024232 ds.l 1 ds.w 1 lbL024238 ds.l 1 ds.w 1 lbL02423E ds.l 1 ds.w 1 lbL024244 ds.l 1 ds.w 1 lbL02424A ds.l 1 ds.w 1 lbL024250 ds.l 1 ds.w 1 lbL024256 ds.l 1 ds.w 1 lbL02425C ds.l 1 ds.w 1 lbL024262 ds.l 1 ds.w 1 lbL024288 ds.l 1 lbL02428C ds.l 1 lbL024290 ds.l 1 lbL024294 ds.l 1 lbL024298 ds.l 1 lbL02429C ds.l 1 lbL02432E dc.l Sample1 lbL024332 dc.l Sample2 lbL024336 dc.l Sample3 lbL02433A dc.l Sample4 M0 incbin ram:M0 M1 incbin ram:M1 P3_End Section Samples,BSS_C Sample1 ds.b 64 Sample2 ds.b 64 Sample3 ds.b 64 Sample4 ds.b 4000