1 #include "burn_ym3812.h" 2 #include "burn_ym2151.h" 3 #include "burn_ym2203.h" 4 #include "msm6295.h" 5 6 extern UINT8 *SeibuZ80DecROM; 7 extern UINT8 *SeibuZ80ROM; 8 extern UINT8 *SeibuZ80RAM; 9 10 extern UINT8 *SeibuADPCMData[2]; 11 extern INT32 SeibuADPCMDataLen[2]; 12 13 extern INT32 seibu_coin_input; 14 15 unsigned char seibu_main_word_read(INT32 offset); 16 void seibu_main_word_write(INT32 offset, UINT8 data); 17 void seibu_sound_mustb_write_word(INT32 offset, UINT16 data); 18 19 void seibu_sound_reset(); 20 21 void seibu_sound_update(INT16 *pbuf, INT32 nLen); 22 void seibu_sound_update_cabal(INT16 *pbuf, INT32 nLen); 23 24 /* 25 type & 3 26 27 Type 0 - YM3812 28 Type 1 - YM2151 29 Type 2 - YM2203 30 31 type & 8 - adpcm (disable oki6295) 32 33 otherwise add a single oki6295 34 add 4 to init a second oki6295 35 */ 36 37 void seibu_sound_init(INT32 type, INT32 encrypted_len, INT32 freq0 /*cpu*/, INT32 freq1 /*ym*/, INT32 freq2 /*oki*/); 38 void seibu_sound_exit(); 39 40 void seibu_sound_scan(INT32 nAction, INT32 *pnMin); 41