summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/aquarium.h
blob: fe14385db05d09e68cc928437f3040bfa329ad9e (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
typedef struct _aquarium_state aquarium_state;
struct _aquarium_state
{
	/* memory pointers */
	UINT16 *  scroll;
	UINT16 *  txt_videoram;
	UINT16 *  mid_videoram;
	UINT16 *  bak_videoram;
	UINT16 *  spriteram;
//  UINT16 *  paletteram;   // currently this uses generic palette handling
	size_t    spriteram_size;

	/* video-related */
	tilemap  *txt_tilemap, *mid_tilemap, *bak_tilemap;

	/* misc */
	int aquarium_snd_ack;

	/* devices */
	const device_config *audiocpu;
};


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

WRITE16_HANDLER( aquarium_txt_videoram_w );
WRITE16_HANDLER( aquarium_mid_videoram_w );
WRITE16_HANDLER( aquarium_bak_videoram_w );

VIDEO_START(aquarium);
VIDEO_UPDATE(aquarium);