summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/srmp2.h
blob: 2666cc511acc3691543dde76d9a8904c67d77ead (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
struct iox_t
{
	int reset,ff_event,ff_1,protcheck[4],protlatch[4];
	UINT8 data;
	UINT8 mux;
	UINT8 ff;
};

class srmp2_state : public driver_device
{
public:
	srmp2_state(const machine_config &mconfig, device_type type, const char *tag)
		: driver_device(mconfig, type, tag) { }

	int m_color_bank;
	int m_gfx_bank;

	int m_adpcm_bank;
	int m_adpcm_data;
	UINT32 m_adpcm_sptr;
	UINT32 m_adpcm_eptr;

	int m_port_select;

	iox_t m_iox;
};


/*----------- defined in video/srmp2.c -----------*/

PALETTE_INIT( srmp2 );
SCREEN_UPDATE( srmp2 );
PALETTE_INIT( srmp3 );
SCREEN_UPDATE( srmp3 );
SCREEN_UPDATE( mjyuugi );