blob: 8be18aeccba293e365a078b37fcdb6264316d82a (
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
|
/*************************************************************************
4enraya
*************************************************************************/
class _4enraya_state : public driver_device
{
public:
_4enraya_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
m_snd_latch_bit(4) { }
/* memory pointers */
UINT8 m_videoram[0x1000];
UINT8 m_workram[0x1000];
/* video-related */
tilemap_t *m_bg_tilemap;
/* sound-related */
int m_soundlatch;
int m_last_snd_ctrl;
int m_snd_latch_bit;
DECLARE_WRITE8_MEMBER(sound_data_w);
DECLARE_READ8_MEMBER(fenraya_custom_map_r);
DECLARE_WRITE8_MEMBER(fenraya_custom_map_w);
DECLARE_WRITE8_MEMBER(fenraya_videoram_w);
DECLARE_WRITE8_MEMBER(sound_control_w);
DECLARE_DRIVER_INIT(unkpacg);
TILE_GET_INFO_MEMBER(get_tile_info);
};
/*----------- defined in video/4enraya.c -----------*/
VIDEO_START( 4enraya );
SCREEN_UPDATE_IND16( 4enraya );
|