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

    Himeshikibu

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

typedef struct _himesiki_state himesiki_state;
struct _himesiki_state
{
	/* memory pointers */
	UINT8 *    bg_ram;
	UINT8 *    spriteram;
//  UINT8 *    paletteram;  // currently this uses generic palette handling

	/* video-related */
	tilemap    *bg_tilemap;
	int 	     scrollx[2];
	int        flipscreen;

	/* devices */
	const device_config *subcpu;
};


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

VIDEO_START( himesiki );
VIDEO_UPDATE( himesiki );

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