blob: 8c2bfd6083e99b4337f62dec423f44bd1539096c (
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
|
typedef struct _gcpinbal_state gcpinbal_state;
struct _gcpinbal_state
{
/* memory pointers */
UINT16 * tilemapram;
UINT16 * ioc_ram;
UINT16 * spriteram;
// UINT16 * paletteram; // currently this uses generic palette handling
size_t spriteram_size;
/* video-related */
tilemap *tilemap[3];
UINT16 scrollx[3], scrolly[3];
UINT16 bg0_gfxset, bg1_gfxset;
#ifdef MAME_DEBUG
UINT8 dislayer[4];
#endif
/* sound-related */
UINT32 msm_start, msm_end, msm_bank;
UINT32 adpcm_start, adpcm_end, adpcm_idle;
UINT8 adpcm_trigger, adpcm_data;
/* devices */
const device_config *maincpu;
const device_config *oki;
const device_config *msm;
};
/*----------- defined in video/gcpinbal.c -----------*/
VIDEO_START( gcpinbal );
VIDEO_UPDATE( gcpinbal );
READ16_HANDLER ( gcpinbal_tilemaps_word_r );
WRITE16_HANDLER( gcpinbal_tilemaps_word_w );
|