2
#define MAX_SAMPLES 0x2f /* max samples */
18
class tnzs_state : public driver_device
21
tnzs_state(const machine_config &mconfig, device_type type, const char *tag)
22
: driver_device(mconfig, type, tag) { }
25
// UINT8 * m_paletteram; // currently this uses generic palette handling
31
INT16 *m_sampledata[MAX_SAMPLES];
32
int m_samplesize[MAX_SAMPLES];
35
int m_kageki_csport_sel;
38
int m_mcu_initializing;
39
int m_mcu_coinage_init;
41
int m_mcu_readcredits;
44
UINT8 m_mcu_coinage[4];
58
/*----------- defined in machine/tnzs.c -----------*/
60
READ8_HANDLER( tnzs_port1_r );
61
READ8_HANDLER( tnzs_port2_r );
62
WRITE8_HANDLER( tnzs_port2_w );
63
READ8_HANDLER( arknoid2_sh_f000_r );
64
READ8_HANDLER( tnzs_mcu_r );
65
WRITE8_HANDLER( tnzs_mcu_w );
66
WRITE8_HANDLER( tnzs_bankswitch_w );
67
WRITE8_HANDLER( tnzs_bankswitch1_w );
68
INTERRUPT_GEN( arknoid2_interrupt );
70
DRIVER_INIT( plumpop );
71
DRIVER_INIT( extrmatn );
72
DRIVER_INIT( arknoid2 );
73
DRIVER_INIT( drtoppel );
74
DRIVER_INIT( chukatai );
77
DRIVER_INIT( kabukiz );
78
DRIVER_INIT( insectx );
79
DRIVER_INIT( kageki );
81
MACHINE_START( tnzs );
82
MACHINE_RESET( tnzs );
83
MACHINE_RESET( jpopnics );
84
MACHINE_START( jpopnics );
87
/*----------- defined in video/tnzs.c -----------*/
89
PALETTE_INIT( arknoid2 );
90
SCREEN_UPDATE( tnzs );