blob: 4cf97116760bb73c7ee252ca2e3f75fd68c7278f (
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
46
47
48
49
50
51
52
|
typedef struct _f1gp_state f1gp_state;
struct _f1gp_state
{
/* memory pointers */
UINT16 * sharedram;
UINT16 * spr1vram;
UINT16 * spr2vram;
UINT16 * spr1cgram;
UINT16 * spr2cgram;
UINT16 * fgvideoram;
UINT16 * rozvideoram;
UINT16 * sprcgram;
UINT16 * spritelist;
UINT16 * spriteram;
UINT16 * fgregs;
UINT16 * rozregs;
UINT16 * zoomdata;
// UINT16 * paletteram; // currently this uses generic palette handling
size_t spr1cgram_size, spr2cgram_size;
size_t spriteram_size;
/* video-related */
tilemap *fg_tilemap, *roz_tilemap;
int roz_bank, flipscreen, gfxctrl;
int scroll[2];
/* misc */
int pending_command;
/* devices */
const device_config *audiocpu;
const device_config *k053936;
};
/*----------- defined in video/f1gp.c -----------*/
READ16_HANDLER( f1gp_zoomdata_r );
WRITE16_HANDLER( f1gp_zoomdata_w );
READ16_HANDLER( f1gp_rozvideoram_r );
WRITE16_HANDLER( f1gp_rozvideoram_w );
WRITE16_HANDLER( f1gp_fgvideoram_w );
WRITE16_HANDLER( f1gp_fgscroll_w );
WRITE16_HANDLER( f1gp_gfxctrl_w );
WRITE16_HANDLER( f1gp2_gfxctrl_w );
VIDEO_START( f1gp );
VIDEO_START( f1gpb );
VIDEO_START( f1gp2 );
VIDEO_UPDATE( f1gp );
VIDEO_UPDATE( f1gpb );
VIDEO_UPDATE( f1gp2 );
|