summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/actfancr.h
blob: 3acd0c3286a27dba97936f02158910a7fe7c843a (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
36
37
38
39
40
41
42
43
44
45
/*************************************************************************

    Act Fancer 

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

typedef struct _actfancr_state actfancr_state;
struct _actfancr_state
{
	/* memory pointers */
	UINT8 *        pf1_data;
	UINT8 *        pf2_data;
	UINT8 *        pf1_rowscroll_data;
	UINT8 *        main_ram;
//	UINT8 *        spriteram;	// currently this uses buffered_spriteram
//	UINT8 *        paletteram;	// currently this uses generic palette handling

	/* video-related */
	tilemap        *pf1_tilemap, *pf1_alt_tilemap, *pf2_tilemap;
	UINT8          control_1[0x20], control_2[0x20];
	int            flipscreen;

	/* misc */
	int            trio_control_select;

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


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

WRITE8_HANDLER( actfancr_pf1_data_w );
READ8_HANDLER( actfancr_pf1_data_r );
WRITE8_HANDLER( actfancr_pf1_control_w );
WRITE8_HANDLER( actfancr_pf2_data_w );
READ8_HANDLER( actfancr_pf2_data_r );
WRITE8_HANDLER( actfancr_pf2_control_w );

VIDEO_START( actfancr );
VIDEO_START( triothep );

VIDEO_UPDATE( actfancr );
VIDEO_UPDATE( triothep );