summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/shisen.h
blob: e6cc91bf3810dac435157db8034dd21f46cda4af (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
class shisen_state : public driver_device
{
public:
	shisen_state(const machine_config &mconfig, device_type type, const char *tag)
		: driver_device(mconfig, type, tag) ,
		m_paletteram(*this, "paletteram"),
		m_videoram(*this, "videoram"){ }

	int m_gfxbank;
	tilemap_t *m_bg_tilemap;
	required_shared_ptr<UINT8> m_paletteram;
	required_shared_ptr<UINT8> m_videoram;
	DECLARE_READ8_MEMBER(sichuan2_dsw1_r);
	DECLARE_WRITE8_MEMBER(sichuan2_coin_w);
	DECLARE_WRITE8_MEMBER(sichuan2_videoram_w);
	DECLARE_WRITE8_MEMBER(sichuan2_bankswitch_w);
	DECLARE_WRITE8_MEMBER(sichuan2_paletteram_w);
	TILE_GET_INFO_MEMBER(get_bg_tile_info);
	virtual void video_start();
};


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



SCREEN_UPDATE_IND16( sichuan2 );