summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/himesiki.h
blob: c449c93cfb0c9fca7721bcbd1b2a30dc285067ab (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
/*************************************************************************

    Himeshikibu

*************************************************************************/

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

	/* memory pointers */
	UINT8 *    m_bg_ram;
	UINT8 *    m_spriteram;
//  UINT8 *    paletteram;  // currently this uses generic palette handling

	/* video-related */
	tilemap_t    *m_bg_tilemap;
	int 	     m_scrollx[2];
	int        m_flipscreen;

	/* devices */
	device_t *m_subcpu;
};


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

VIDEO_START( himesiki );
SCREEN_UPDATE( himesiki );

WRITE8_HANDLER( himesiki_bg_ram_w );
WRITE8_HANDLER( himesiki_scrollx_w );
WRITE8_HANDLER( himesiki_flip_w );