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

    City Connection

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

typedef struct _citycon_state citycon_state;
struct _citycon_state
{
	/* memory pointers */
	UINT8 *        videoram;
	UINT8 *        linecolor;
	UINT8 *        scroll;
	UINT8 *        spriteram;
//  UINT8 *        paletteram;  // currently this uses generic palette handling
	size_t         spriteram_size;

	/* video-related */
	tilemap        *bg_tilemap,*fg_tilemap;
	int            bg_image;

	/* devices */
	const device_config *maincpu;
};


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

WRITE8_HANDLER( citycon_videoram_w );
WRITE8_HANDLER( citycon_linecolor_w );
WRITE8_HANDLER( citycon_background_w );

VIDEO_UPDATE( citycon );
VIDEO_START( citycon );