שתשת; T incdir asm: include bincs.i incdir include: include misc/deliplayer.i SECTION Player,code PLAYERHEADER PlayerTagArray dc.b '$VER: BoulderDash MEGA-COLLECTION ' dc.b 'Custom Player V1.0 (20 Jun 2003)',0 even PlayerTagArray dc.l DTP_CustomPlayer,1 dc.l DTP_Creator,playercreator 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_DeliBase,delibase dc.l $80004474,2 dc.l 0 delibase dc.l 0 end_flag dc.l 0 playercreator dc.b 'Player creator BDPCS (1991). Ripped from BoulderDash ' dc.b 'MEGA-COLLECTION',10 dc.b 'Adapted for Eagleplayer and UADE by shd',0 even initplayer move.l dtg_AudioAlloc(a5),a0 jsr (a0) moveq #0,d0 rts endplayer move.l dtg_AudioFree(a5),a0 jsr (a0) rts initsound push all bsr endsound lea $dff000,a2 move.l #zerosample,aud0lch(a2) move.l #zerosample,aud1lch(a2) move.l #zerosample,aud2lch(a2) move.l #zerosample,aud3lch(a2) move #1,aud0len(a2) move #1,aud1len(a2) move #1,aud2len(a2) move #1,aud3len(a2) move #300,aud0per(a2) move #300,aud1per(a2) move #300,aud2per(a2) move #300,aud3per(a2) move.l delibase,a5 move.l dtg_WaitAudioDMA(a5),a0 jsr (a0) move #$800f,dmacon+custom * 709379 $e00 jsr set_sound_1AA move #1,lbW00935C move.l delibase,a5 move #$e00,dtg_Timer(a5) * set tempo move.l dtg_SetTimer(a5),a0 jsr (a0) clr.l end_flag pull all rts endsound move #0,aud0vol+custom move #0,aud1vol+custom move #0,aud2vol+custom move #0,aud3vol+custom move #$000f,dmacon+custom rts song_end push all move.l delibase(pc),a5 move.l dtg_SongEnd(a5),a0 jsr (a0) pull all rts section data,data_c zerosample dc.l 0 set_sound_1AA MOVE.W #1,(lbW0435BA) CLR.W (lbW03B814) CLR.W (lbL03B816) LEA (noise_39814),A0 MOVE.W #$1FFF,D0 lbC0001C8 MOVE.L (lbL00935E),D1 ADD.L (lbW009362),D1 ADD.W ($DFF006),D1 ROR.L #1,D1 MOVE.L D1,(lbL00935E) SUB.L (lbW009366),D1 ROL.L #1,D1 ADD.W D1,(lbW009362) AND.W #$FF,D1 MOVE.B D1,(A0)+ DBRA D0,lbC0001C8 CLR.W (lbW00935C) MOVE.W #15,($DFF096) MOVE.W #$FF,($DFF09E) LEA ($DFF0A0),A5 LEA (chan0_397AC),A6 CLR.W (0,A6) CLR.W (6,A6) MOVE.W #$20,(4,A5) MOVE.W #$8001,(8,A6) MOVE.L #lbW009382,(10,A6) MOVE.L (10,A6),($10,A6) MOVE.L #lbW0089F8,(10,A6) CLR.W (4,A6) CLR.W (14,A6) LEA ($DFF0B0),A5 LEA (chan1_397C6),A6 CLR.W (0,A6) CLR.W (6,A6) MOVE.W #$20,(4,A5) MOVE.W #$8002,(8,A6) MOVE.L #lbW009396,(10,A6) MOVE.L (10,A6),($10,A6) MOVE.L #lbW0089F8,(10,A6) CLR.W (4,A6) CLR.W (14,A6) LEA ($DFF0C0),A5 LEA (chan2_397E0),A6 CLR.W (0,A6) CLR.W (6,A6) MOVE.W #$20,(4,A5) MOVE.W #$8004,(8,A6) MOVE.L #lbW0093A4,(10,A6) MOVE.L (10,A6),($10,A6) MOVE.L #lbW0089F8,(10,A6) CLR.W (4,A6) CLR.W (14,A6) LEA ($DFF0D0),A5 LEA (chan3_397FA),A6 CLR.W (0,A6) MOVE.W #$20,(4,A5) CLR.W (6,A6) MOVE.W #$8008,(8,A6) MOVE.L #lbW009382,(10,A6) MOVE.L (10,A6),($10,A6) MOVE.L #lbW0089F8,(10,A6) CLR.W (4,A6) CLR.W (14,A6) ; MOVE.L ($78),(sound_oldlevel6_397A8) ; MOVE.L #sound_level6_7E8,($78) ; LEA ($BFD000),A0 ; MOVE.B #0,($600,A0) ; MOVE.B #14,($700,A0) ; MOVE.B #$11,($F00,A0) ; MOVE.B #$82,($D00,A0) ; MOVE.W #$A000,($DFF09A) CLR.B (lbB0435B1) RTS set_audio_hw_reg_34A MOVE.L A1,(A5) MOVE.W #$FF,($DFF09E) MOVE.W D0,(4,A5) MOVE.W D1,($14,A6) MOVE.W D1,(6,A5) CLR.W (6,A6) CLR.W (0,A6) CLR.W (4,A6) MOVE.W #1,(14,A6) MOVE.L A0,(10,A6) RTS lbC000378 MOVE.W #$10,D0 ;length MOVE.W #$190,D1 ;per LEA (lbW008D0A),A0 LEA (lbW0089FA),A1 ;ptr BSR.W set_audio_hw_reg_34A RTS lbC000392 MOVE.W #$10,D0 MOVE.W #$1A4,D1 LEA (lbW008D1E),A0 LEA (lbW0089FA),A1 BSR.W set_audio_hw_reg_34A RTS lbC0003AC MOVE.W #1,D0 MOVE.W (lbW0003DC),D1 ADD.W #$DD7E,D1 ROL.W #1,D1 MOVE.W D1,(lbW0003DC) AND.W #$FF,D1 ADD.W #$FA,D1 LEA (lbW008D32),A0 LEA (lbW008B16),A1 BSR.W set_audio_hw_reg_34A RTS lbW0003DC dc.w 0 lbC0003DE MOVE.W #8,D0 MOVE.W (lbW000412),D1 ADD.W #$19,D1 AND.W #$1FF,D1 MOVE.W D1,(lbW000412) MOVE.W #$320,D1 SUB.W (lbW000412),D1 LEA (lbW008D46),A0 LEA (lbW008AFA),A1 BSR.W set_audio_hw_reg_34A RTS lbW000412 dc.w 0 lbC000414 MOVE.W #$10,D0 MOVE.W #$3E8,D1 LEA (lbW008D5A),A0 LEA (lbW008ADA),A1 BSR.W set_audio_hw_reg_34A RTS lbC00042E MOVE.L (lbW000472),D1 ADD.L (lbW000476),D1 MOVE.L D1,(lbW000472) ROR.L #1,D1 ADD.L #$FEBFEBDD,D1 ADD.W (lbW000472),D1 ADD.L D1,(lbW000476) AND.W #$1FF,D1 ADD.W #$C8,D1 MOVE.W #4,D0 LEA (lbW008EF8),A0 LEA (lbW008B0A),A1 BSR.W set_audio_hw_reg_34A RTS lbW000472 dc.w 0 dc.w 1 lbW000476 dc.w 0 dc.w 1 lbC00047A MOVE.W #$1000,D0 MOVE.W #$3E8,D1 LEA (lbW008F42),A0 LEA (noise_39814),A1 BSR.W set_audio_hw_reg_34A RTS lbC000494 MOVE.W #$1000,D0 MOVE.W #$C8,D1 LEA (lbW008F56),A0 LEA (noise_39814),A1 BSR.W set_audio_hw_reg_34A RTS lbC0004AE MOVE.W #$1000,D0 MOVE.W #$FA0,D1 LEA (lbW008F70),A0 LEA (noise_39814),A1 BSR.W set_audio_hw_reg_34A RTS lbC0004C8 MOVE.W #$1000,D0 MOVE.W #$3E8,D1 LEA (lbW0092D2),A0 LEA (noise_39814),A1 BSR.W set_audio_hw_reg_34A RTS lbC0004E2 MOVE.W #$1000,D0 MOVE.W #$190,D1 LEA (lbW0092E0),A0 LEA (noise_39814),A1 BSR.W set_audio_hw_reg_34A RTS lbC0004FC MOVE.W #$3E8,D0 MOVE.W #$8C,D1 LEA (lbW0092EE),A0 LEA (noise_39814),A1 BSR.W set_audio_hw_reg_34A RTS lbC000516 MOVE.W #$1000,D0 MOVE.W #$5DC,D1 LEA (lbW009302),A0 LEA (noise_39814),A1 BSR.W set_audio_hw_reg_34A RTS lbC000530 MOVE.W #$1000,D0 MOVE.W (lbW000560),D1 ADD.W #$DD7D,D1 ROR.W #1,D1 MOVE.W D1,(lbW000560) AND.W #$1FF,D1 ADD.W #$4B0,D1 LEA (lbW008F70),A0 LEA (noise_39814),A1 BSR.W set_audio_hw_reg_34A RTS lbW000560 dc.w 0 lbC000562 MOVE.W #$10,D0 MOVE.W #$3E8,D1 LEA (lbW00927E),A0 LEA (lbW008ADA),A1 BSR.W set_audio_hw_reg_34A RTS lbC00057C MOVE.W #$20,D0 MOVE.W #$12C,D1 LEA (lbW00929C),A0 LEA (lbW008A9A),A1 BSR.W set_audio_hw_reg_34A RTS MOVE.L D0,-(SP) lbC000598 MOVE.W (lbL0397BA),D0 OR.W (lbL0397D4),D0 OR.W (lbL0397EE),D0 OR.W (lbL039808),D0 BNE.W lbC000598 MOVE.W #15,($DFF096) MOVE.W #$2710,D0 ;lame audio dma wait lbC0005C0 DBRA D0,lbC0005C0 CLR.L (lbL009310) CLR.L (lbL009314) MOVE.W #$3FF,(lbW0094B4) MOVE.W (lbW0094B4),D0 ADD.W #$FA,D0 MOVE.W D0,($DFF0A6) ADD.W #12,D0 MOVE.W D0,($DFF0B6) MOVE.W #$40,($DFF0A8) MOVE.W #$40,($DFF0B8) MOVE.L #lbW008B0A,($DFF0A0) MOVE.L #lbW008B0A,($DFF0B0) MOVE.W #$FF,($DFF09E) MOVE.W #4,($DFF0A4) MOVE.W #4,($DFF0B4) MOVE.W #$8003,($DFF096) MOVE.W #1,(lbW0094B2) MOVE.L (SP)+,D0 RTS MOVE.L D0,-(SP) SUB.W #10,(lbW0094B4) AND.W #$3FF,(lbW0094B4) MOVE.W (lbW0094B4),D0 ADD.W #$FA,D0 MOVE.W D0,($DFF0A6) ADD.W #12,D0 MOVE.W D0,($DFF0B6) MOVE.L (SP)+,D0 RTS MOVE.W #0,($DFF0A8) MOVE.W #0,($DFF0B8) MOVE.W #3,($DFF096) CLR.W (lbW0094B2) RTS lbC000692 LEA ($DFF0A0),A5 LEA (chan0_397AC),A6 BSR.W set_chan_hw_6E0 BNE.W lbC0006DE LEA ($DFF0B0),A5 LEA (chan1_397C6),A6 BSR.W set_chan_hw_6E0 BNE.W lbC0006DE LEA ($DFF0C0),A5 LEA (chan2_397E0),A6 BSR.W set_chan_hw_6E0 BNE.W lbC0006DE LEA ($DFF0D0),A5 LEA (chan3_397FA),A6 BSR.W set_chan_hw_6E0 lbC0006DE RTS set_chan_hw_6E0 LEA (lbL009310),A0 TST.W (14,A6) BNE.W lbC000736 TST.W (A0)+ BMI.W lbC0006F8 BNE.W lbC000716 lbC0006F8 TST.W (A0)+ BMI.W lbC000702 BNE.W lbC000716 lbC000702 TST.W (A0)+ BMI.W lbC00070C BNE.W lbC000716 lbC00070C TST.W (A0)+ BMI.W lbC00073A BEQ.W lbC00073A lbC000716 MOVE.W -(A0),D0 AND.W #$FF,D0 OR.W #$8000,(A0) AND.W #$9FFF,(A0) MOVE.L A0,($16,A6) LSL.W #2,D0 LEA (effect_jmp_table_9318),A0 MOVE.L (A0,D0.W),A0 JSR (A0) lbC000736 MOVEQ #0,D0 RTS lbC00073A MOVEQ #-1,D0 RTS lbC00073E MOVEM.L D0-D2/A0,-(SP) TST.W (lbW0094B2) BNE.W lbC0007E2 MOVE.W D5,D0 MOVE.W D0,D2 AND.W #$3FF,D0 BTST #13,D2 BEQ.W lbC000772 TST.W (lbW0435B4) BNE.W lbC0007E2 MOVE.W #1,(lbW0435B4) BRA.W lbC0007B6 lbC000772 LEA (lbL009310),A0 MOVE.W (A0)+,D1 AND.W #$3FF,D1 CMP.W D1,D0 BEQ.W lbC0007A8 MOVE.W (A0)+,D1 AND.W #$3FF,D1 CMP.W D1,D0 BEQ.W lbC0007A8 MOVE.W (A0)+,D1 AND.W #$3FF,D1 CMP.W D1,D0 BEQ.W lbC0007A8 MOVE.W (A0)+,D1 AND.W #$3FF,D1 CMP.W D1,D0 BNE.W lbC0007B6 lbC0007A8 TST.W D2 BMI.W lbC0007E2 OR.W #$4000,-(A0) BRA.W lbC0007E2 lbC0007B6 LEA (lbL009310),A0 TST.W (A0)+ BEQ.W lbC0007E0 TST.W (A0)+ BEQ.W lbC0007E0 TST.W (A0)+ BEQ.W lbC0007E0 TST.W (A0)+ BEQ.W lbC0007E0 BTST #14,D2 BNE.W lbC0007E0 BRA.W lbC0007E2 lbC0007E0 MOVE.W D0,-(A0) lbC0007E2 MOVEM.L (SP)+,D0-D2/A0 RTS interrupt TST.W (lbW0435BA) BEQ.W lbC0008EA MOVEM.L D0-D7/A0-A6,-(SP) TST.W (lbL03B816) BEQ.W lbC000810 SUBQ.W #1,(lbL03B816) BRA.W lbC00087A lbC000810 MOVE.W #3,(lbL03B816) tst.l end_flag beq.b not_end clr.l end_flag jsr song_end not_end TST.W (lbW00935C) BEQ.W lbC000882 TST.W (lbL0435B6) BEQ.W lbC000836 SUBQ.W #1,(lbL0435B6) BRA.W lbC00087A lbC000836 MOVE.W #9,(lbL0435B6) LEA ($DFF0B0),A5 LEA (chan1_397C6),A6 BSR.W lbC0009B8 LEA ($DFF0C0),A5 LEA (chan2_397E0),A6 BSR.W lbC0009B8 ADDQ.W #1,(lbW03B814) LEA ($DFF0A0),A5 LEA (chan0_397AC),A6 BSR.W lbC0009B8 ADDQ.W #1,(lbW03B814) cmp #$100,lbW03B814 bne.b lbC00087A st end_flag lbC00087A AND.W #$FF,(lbW03B814) lbC000882 LEA ($DFF0A0),A5 LEA (chan0_397AC),A6 TST.W (14,A6) BEQ.W lbC00089A BSR.W handle_channel_8F4 lbC00089A LEA ($DFF0B0),A5 LEA (chan1_397C6),A6 TST.W (14,A6) BEQ.W lbC0008B2 BSR.W handle_channel_8F4 lbC0008B2 LEA ($DFF0C0),A5 LEA (chan2_397E0),A6 TST.W (14,A6) BEQ.W lbC0008CA BSR.W handle_channel_8F4 lbC0008CA LEA ($DFF0D0),A5 LEA (chan3_397FA),A6 TST.W (14,A6) BEQ.W lbC0008E2 BSR.W handle_channel_8F4 lbC0008E2 BSR.W lbC000692 MOVEM.L (SP)+,D0-D7/A0-A6 lbC0008EA ; MOVE.W #$2000,($DFF09C) ; RTE rts handle_channel_8F4 TST.W (0,A6) BNE.W lbC000928 OR.W #$8000,(8,A6) CLR.W (14,A6) MOVE.L (10,A6),A0 lbC00090A MOVE.W (A0),D0 BMI.W lbC000950 MOVE.W #1,(14,A6) ADDQ.W #2,A0 MOVE.W D0,(0,A6) MOVE.W (A0)+,(2,A6) MOVE.W (A0)+,(4,A6) MOVE.L A0,(10,A6) lbC000928 TST.W (0,A6) BEQ.W lbC0009A2 SUBQ.W #1,(0,A6) MOVE.W (6,A6),D0 ADD.W (2,A6),D0 MOVE.W D0,(6,A6) MOVE.W ($14,A6),D0 ADD.W (4,A6),D0 MOVE.W D0,($14,A6) BRA.W lbC0009A2 lbC000950 CMP.W #$FFFE,D0 BNE.W lbC00097C MOVE.L ($16,A6),A1 MOVE.W (A1),D0 BTST #14,D0 BEQ.W lbC000976 BCLR #14,D0 MOVE.W D0,(A1) MOVE.W (2,A0),D0 SUB.W D0,A0 BRA.W lbC00090A lbC000976 ADDQ.W #4,A0 BRA.W lbC00090A lbC00097C TST.W (6,A6) BNE.W lbC00098A AND.W #$7FFF,(8,A6) lbC00098A MOVE.L ($16,A6),A0 MOVE.W (A0),D0 AND.W #$4000,D0 BNE.W lbC00099E CLR.W (A0) BRA.W lbC0009A2 lbC00099E AND.W #$3FF,(A0) lbC0009A2 MOVE.W ($14,A6),(6,A5) MOVE.W (6,A6),(8,A5) MOVE.W (8,A6),($DFF096) RTS lbC0009B8 MOVE.W (lbW03B814),D0 LEA (lbW0093B2),A0 MOVEQ #0,D2 MOVE.B (A0,D0.W),D2 SUB.W #1,D2 DIVU #12,D2 MOVE.L D2,D3 SWAP D3 BSR.W lbC0009DC RTS lbC0009DC LSL.W #1,D2 LEA (lbW008B34),A0 MOVE.W (A0,D2.W),(4,A5) LSL.W #1,D2 LEA (lbL008B18),A0 MOVE.L (A0,D2.W),(A5) LSL.W #1,D3 LEA (lbW00936A),A0 MOVE.W (A0,D3.W),(6,A5) MOVE.W (A0,D3.W),($14,A6) CMP.L #chan2_397E0,A6 BNE.W lbC000A30 MOVE.L #noise_39814,(A5) MOVE.W #$1000,(4,A5) MOVE.W (A0,D3.W),D0 LSR.W #2,D2 LSL.W D2,D0 MOVE.W D0,(6,A5) MOVE.W D0,($14,A6) lbC000A30 MOVE.W #1,(14,A6) MOVE.L ($10,A6),(10,A6) CLR.W (6,A6) CLR.W (0,A6) CLR.W (4,A6) RTS lbW0089F8 dc.w $FFFF lbW0089FA dc.w $8090 dc.w $A050 dc.w $C0D0 dc.w $E0F0 dc.w $10 dc.w $2030 dc.w $4050 dc.w $6070 dc.w $7F70 dc.w $6050 dc.w $4030 dc.w $2010 dc.w $F0 dc.w $E0D0 dc.w $C0B0 dc.w $A090 lbW008A1A dc.w 6 dc.w $D13 dc.w $191F dc.w $252B dc.w $3137 dc.w $3C42 dc.w $474C dc.w $5156 dc.w $5B5F dc.w $6367 dc.w $6A6E dc.w $7174 dc.w $7679 dc.w $7A7C dc.w $7E7F dcb.w 3,$7F7F dc.w $7E7C dc.w $7A79 dc.w $7674 dc.w $716E dc.w $6A67 dc.w $635F dc.w $5B56 dc.w $514C dc.w $4742 dc.w $3C37 dc.w $312B dc.w $251F dc.w $1913 dc.w $D06 dc.w $FA dc.w $F3ED dc.w $E7E1 dc.w $DBD5 dc.w $CFC9 dc.w $C4BE dc.w $B9B4 dc.w $AFAA dc.w $A5A1 dc.w $9D99 dc.w $9692 dc.w $8F8C dc.w $8A87 dc.w $8684 dc.w $8281 dc.w $8180 dc.w $8080 dc.w $8181 dc.w $8284 dc.w $8687 dc.w $8A8C dc.w $8F92 dc.w $9699 dc.w $9DA1 dc.w $A5AA dc.w $AFB4 dc.w $B9BE dc.w $C4C9 dc.w $CFD5 dc.w $DBE1 dc.w $E7ED dc.w $F3FA lbW008A9A dc.w 13 dc.w $1925 dc.w $313C dc.w $4751 dc.w $5B63 dc.w $6A71 dc.w $767A dc.w $7E7F dc.w $7F7F dc.w $7E7A dc.w $7671 dc.w $6A63 dc.w $5B51 dc.w $473C dc.w $3125 dc.w $190D dc.w $F3 dc.w $E7DB dc.w $CFC4 dc.w $B9AF dc.w $A59D dc.w $968F dc.w $8A86 dc.w $8281 dc.w $8081 dc.w $8286 dc.w $8A8F dc.w $969D dc.w $A5AF dc.w $B9C4 dc.w $CFDB dc.w $E7F3 lbW008ADA dc.w $19 dc.w $3147 dc.w $5B6A dc.w $767E dc.w $7F7E dc.w $766A dc.w $5B47 dc.w $3119 dc.w $E7 dc.w $CFB9 dc.w $A596 dc.w $8A82 dc.w $8082 dc.w $8A96 dc.w $A5B9 dc.w $CFE7 lbW008AFA dc.w $31 dc.w $5B76 dc.w $7F76 dc.w $5B31 dc.w $CF dc.w $A58A dc.w $808A dc.w $A5CF lbW008B0A dc.w $5B dc.w $7F5B dc.w $A5 dc.w $80A5 lbW008B12 dc.w $7F dc.w $80 lbW008B16 dc.w $C040 lbL008B18 dc.l lbW008A1A dc.l lbW008A9A dc.l lbW008ADA dc.l lbW008AFA dc.l lbW008B0A dc.l lbW008B12 dc.l lbW008B16 lbW008B34 dc.w $40 dc.w $20 dc.w $10 dc.w 8 dc.w 4 dc.w 2 dcb.w 2,1 dc.w $28 dc.w 0 dc.w $28 dc.w $FFFF dc.w 10 dc.w $FFFF dc.w $1C2 dcb.w 2,0 dc.w 1 dc.w $22 dc.w 0 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $14 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 1 dc.w $FFFF dc.w 1 dc.w $40 dc.w 0 dc.w $1F4 dc.w 0 dc.w 1 dc.w $10 dc.w $FFFC dc.w 0 dc.w $FFFF lbW008D0A dc.w 1 dc.w $1E dc.w 0 dc.w 1 dc.w 0 dc.w 1 dc.w 15 dc.w $FFFE dc.w 0 dc.w $FFFF lbW008D1E dc.w 1 dc.w $24 dc.w 0 dc.w 2 dc.w 0 dc.w $FFFF dc.w $12 dc.w $FFFE dc.w 0 dc.w $FFFF lbW008D32 dc.w 1 dc.w $40 dc.w 0 dc.w 14 dcb.w 2,0 dc.w $40 dc.w $FFFF dc.w 0 dc.w $FFFF lbW008D46 dc.w 1 dc.w $16 dc.w 0 dc.w $11 dcb.w 2,0 dc.w $16 dc.w $FFFF dc.w 0 dc.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1 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 0 dc.w 1 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 0 dc.w 1 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 0 dc.w 1 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 0 dc.w 1 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 0 dc.w 1 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 0 dc.w 1 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 0 dc.w 1 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 0 dc.w 1 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 0 dc.w 1 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 0 dc.w 1 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 0 dc.w 1 dcb.w 2,0 dc.w 1 dc.w $FFFF dc.w 0 dc.w $FFFF lbW00927E dc.w 1 dc.w $40 dc.w 0 dc.w $64 dc.w 0 dc.w $FFFF dc.w 1 dc.w 0 dc.w $64 dc.w $FFFE dc.w 12 dc.w 1 dc.w $FFC0 dc.w 0 dc.w $FFFF lbW00929C dc.w 1 dc.w 12 dc.w 0 dc.w $19 dc.w 0 dc.w 10 dc.w $19 dc.w 0 dc.w $FFFA dc.w $19 dc.w 0 dc.w $FFFB dc.w $19 dc.w 0 dc.w 15 dc.w $19 dc.w 0 dc.w $FFF6 dc.w $19 dc.w 0 dc.w $FFFC dc.w $FFFE dc.w $24 dc.w 12 dc.w $FFFF dc.w 0 dc.w $FFFF lbW0092D2 dc.w $19 dc.w 1 dc.w $FFFB dc.w 1 dc.w $FFE7 dc.w 0 dc.w $FFFF lbW0092E0 dc.w 1 dc.w $18 dc.w 0 dc.w 12 dc.w $FFFE dc.w 0 dc.w $FFFF lbW0092EE dc.w 1 dc.w $2C dc.w 0 dc.w $14 dc.w 1 dc.w 0 dc.w $40 dc.w $FFFF dc.w 0 dc.w $FFFF lbW009302 dc.w $10 dc.w 1 dc.w $FFFB dc.w 1 dc.w $FFF0 dc.w 0 dc.w $FFFF lbL009310 dc.l 0 lbL009314 dc.l 0 effect_jmp_table_9318 dc.l lbC000378 dc.l lbC000378 dc.l lbC000392 dc.l lbC0003AC dc.l lbC00047A dc.l lbC000494 dc.l lbC0004AE dc.l lbC000530 dc.l lbC000562 dc.l lbC00057C dc.l lbC000516 dc.l lbC0004C8 dc.l lbC0004FC dc.l lbC0003DE dc.l lbC00042E dc.l lbC000414 dc.l lbC0004E2 lbW00935C dc.w 0 lbL00935E dc.l $98121233 lbW009362 dc.w $FE65 dc.w $1232 lbW009366 dc.w $1726 dc.w $3433 lbW00936A dc.w $1AB dc.w $194 dc.w $17D dc.w $167 dc.w $153 dc.w $140 dc.w $12E dc.w $11D dc.w $10D dc.w $FE dc.w $F0 dc.w $E2 lbW009382 dc.w 1 dc.w $30 dc.w 0 dc.w 4 dcb.w 2,0 dc.w $30 dc.w $FFFF dc.w 0 dc.w $FFFF lbW009396 dc.w 1 dc.w $30 dc.w 0 dc.w $30 dc.w $FFFF dc.w 0 dc.w $FFFF lbW0093A4 dc.w 1 dc.w $11 dc.w 0 dc.w $11 dc.w $FFFF dc.w $FF9C dc.w $FFFF lbW0093B2 dc.w $1622 dc.w $1D26 dc.w $2229 dc.w $252E dc.w $1424 dc.w $1F27 dc.w $2029 dc.w $2730 dc.w $122A dc.w $122C dc.w $1E2E dc.w $1231 dc.w $202C dc.w $3337 dc.w $212D dc.w $3135 dc.w $1622 dc.w $162E dc.w $161D dc.w $1624 dc.w $1420 dc.w $1430 dc.w $1424 dc.w $1420 dc.w $1622 dc.w $162E dc.w $161D dc.w $1624 dc.w $1E2A dc.w $1E3A dc.w $1E2E dc.w $1E2A dc.w $1420 dc.w $142C dc.w $141B dc.w $1422 dc.w $1C28 dc.w $1C38 dc.w $1C2C dc.w $1C28 dc.w $111D dc.w $292D dc.w $111F dc.w $292E dcb.w 2,$F27 dc.w $1633 dc.w $1627 dcb.w 4,$162E dcb.w 2,$222E dcb.w 2,$162E dcb.w 4,$142E dcb.w 2,$202E dcb.w 2,$142E dc.w $162E dc.w $322E dc.w $162E dc.w $332E dc.w $222E dc.w $322E dc.w $162E dc.w $332E dc.w $142E dc.w $322E dc.w $142E dc.w $332E dc.w $202C dc.w $302C dc.w $142C dc.w $312C dc.w $162E dc.w $163A dc.w $162E dc.w $3538 dc.w $222E dc.w $2237 dc.w $162E dc.w $3135 dc.w $142C dc.w $1438 dc.w $142C dc.w $1438 dc.w $202C dc.w $2033 dc.w $142C dc.w $1438 dc.w $162E dc.w $322E dc.w $202E dc.w $332E dc.w $222E dc.w $322E dc.w $162E dc.w $332E dc.w $142E dc.w $322E dc.w $142E dc.w $332E dc.w $202C dc.w $302C dc.w $142C dc.w $312C dc.w $2E32 dc.w $292E dc.w $2629 dc.w $2226 dc.w $2C30 dc.w $272C dc.w $2427 dc.w $1420 dc.w $3532 dc.w $322E dc.w $2E29 dc.w $2926 dc.w $2730 dc.w $242C dc.w $2027 dc.w $1420 lbW0094B2 dc.w 0 lbW0094B4 dc.w 0 sound_oldlevel6_397A8 ds.l 1 chan0_397AC ds.l 3 ds.w 1 lbL0397BA ds.l 3 chan1_397C6 ds.l 3 ds.w 1 lbL0397D4 ds.l 3 chan2_397E0 ds.l 3 ds.w 1 lbL0397EE ds.l 3 chan3_397FA ds.l 3 ds.w 1 lbL039808 ds.l 3 noise_39814 ds.l $800 lbW03B814 ds.w 1 lbL03B816 ds.l 1 lbL03B81A ds.l 8 lbW03B83A ds.w 1 lbL03B83C ds.w 1 lbL03B83E ds.l 1 lbL03B842 ds.w 1 lbL03B844 ds.w 1 lbL03B846 ds.w 1 lbL03B848 ds.w 1 lbW03B84A ds.w 1 lbL03B84C ds.l 4 lbL03B85C ds.l $97 ds.w 1 lbL03BABA ds.l 4 lbW03BACA ds.w 1 lbW03BACC ds.w 1 lbW03BACE ds.w 1 lbW03BAD0 ds.w 1 lbL03BAD2 ds.l 2 lbL03BADA ds.l $48 lbL03BBFA ds.w 1 lbL03BBFC ds.w 1 lbL03BBFE ds.w 1 lbL03BC00 ds.l 1 lbL03BC04 ds.l $4D ds.w 1 lbL03BD3A ds.l 2 lbW03BD42 ds.w 1 lbW03BD44 ds.w 1 lbW03BD46 ds.w 1 lbL03BD48 ds.w 1 lbL03BD4A ds.l $7E lbL03BF42 ds.w 1 lbL03BF44 ds.w 1 lbL03BF46 ds.w 1 lbL03BF48 ds.w 1 lbL03BF4A ds.w 1 lbL03BF4C ds.w 1 lbL03BF4E ds.w 1 lbL03BF50 ds.l $1A ds.w 1 lbL03BFBA ds.l 4 lbL03BFCA ds.l $9C lbW03C23A ds.w 1 lbW03C23C ds.w 1 lbW03C23E ds.w 1 lbL03C240 ds.w 1 lbL03C242 ds.w 1 lbL03C244 ds.w 1 lbW03C246 ds.w 1 lbL03C248 ds.w 1 lbL03C24A ds.w 1 lbL03C24C ds.w 1 lbL03C24E ds.w 1 lbL03C250 ds.w 1 lbL03C252 ds.l $A4 lbW03C4E2 ds.b 1 lbB03C4E3 ds.b 1 lbB03C4E4 ds.b 1 lbB03C4E5 ds.b 1 lbB03C4E6 ds.b 1 lbB03C4E7 ds.b 1 lbB03C4E8 ds.b 1 lbB03C4E9 ds.b 1 lbL03C4EA ds.b 1 lbB03C4EB ds.b 1 lbB03C4EC ds.b 1 lbB03C4ED ds.b 1 lbW03C4EE ds.b 1 lbB03C4EF ds.b 1 lbL03C4F0 ds.l $9C ds.w 1 lbL03C762 ds.l $A0 lbL03C9E2 ds.l $46 lbL03CAFA ds.l $50 lbL03CC3A ds.l $5A lbL03CDA2 ds.l 5 ds.w 1 ds.b 256 * safety lbL04353A ds.l $1D ds.w 1 ds.b 1 lbB0435B1 ds.b 3 lbW0435B4 ds.w 1 lbL0435B6 ds.l 1 lbW0435BA ds.w 3 lbW0435C0 ds.w 1 lbW0435C2 ds.w 3 lbL0435C8 ds.l $19 lbL04362C ds.l 2 end