summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/88games.h
blob: a443cf72475fe8f73e2807cc4088d21640f71065 (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
/*************************************************************************

    88 Games

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

typedef struct __88games_state _88games_state;
struct __88games_state
{
	/* memory pointers */
	UINT8 *      ram;
	UINT8 *      banked_rom;
//  UINT8 *      paletteram_1000;   // this currently uses generic palette handling
//  UINT8 *      nvram; // this currently uses generic nvram handling

	/* video-related */
	int          k88games_priority;
	int          layer_colorbase[3], sprite_colorbase, zoom_colorbase;
	int          videobank;
	int          zoomreadroms;
	int          speech_chip;

	/* devices */
	const device_config *audiocpu;
	const device_config *k052109;
	const device_config *k051960;
	const device_config *k051316;
	const device_config *upd_1;
	const device_config *upd_2;
};


/*----------- defined in video/88games.c -----------*/

void _88games_sprite_callback(running_machine *machine, int *code, int *color, int *priority, int *shadow);
void _88games_tile_callback(running_machine *machine, int layer, int bank, int *code, int *color, int *flags, int *priority);
void _88games_zoom_callback(running_machine *machine, int *code, int *color, int *flags);

VIDEO_UPDATE( 88games );