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

    Competition Golf Final Round 

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

typedef struct _compgolf_state compgolf_state;
struct _compgolf_state
{
	/* memory pointers */
	UINT8 *        videoram;
	UINT8 *        bg_ram;
	UINT8 *        spriteram;

	/* video-related */
	tilemap        *text_tilemap, *bg_tilemap;
	int            scrollx_lo, scrollx_hi;
	int            scrolly_lo, scrolly_hi;

	/* misc */
	int            bank;
};


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

WRITE8_HANDLER( compgolf_video_w );
WRITE8_HANDLER( compgolf_back_w );
PALETTE_INIT ( compgolf );
VIDEO_START  ( compgolf );
VIDEO_UPDATE ( compgolf );