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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
class splash_state : public driver_device
{
public:
splash_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag) ,
m_pixelram(*this, "pixelram"),
m_videoram(*this, "videoram"),
m_vregs(*this, "vregs"),
m_spriteram(*this, "spriteram"),
m_protdata(*this, "protdata"),
m_bitmap_mode(*this, "bitmap_mode"){ }
required_shared_ptr<UINT16> m_pixelram;
required_shared_ptr<UINT16> m_videoram;
required_shared_ptr<UINT16> m_vregs;
required_shared_ptr<UINT16> m_spriteram;
optional_shared_ptr<UINT16> m_protdata;
optional_shared_ptr<UINT16> m_bitmap_mode;
int m_bitmap_type;
int m_sprite_attr2_shift;
tilemap_t *m_bg_tilemap[2];
int m_adpcm_data;
int m_ret;
int m_vblank_irq;
int m_sound_irq;
int m_msm_data1;
int m_msm_data2;
int m_msm_toggle1;
int m_msm_toggle2;
int m_msm_source;
int m_snd_interrupt_enable1;
int m_snd_interrupt_enable2;
DECLARE_WRITE16_MEMBER(splash_sh_irqtrigger_w);
DECLARE_WRITE16_MEMBER(roldf_sh_irqtrigger_w);
DECLARE_WRITE16_MEMBER(splash_coin_w);
DECLARE_WRITE8_MEMBER(splash_adpcm_data_w);
DECLARE_READ16_MEMBER(roldfrog_bombs_r);
DECLARE_WRITE8_MEMBER(sound_bank_w);
DECLARE_WRITE8_MEMBER(roldfrog_vblank_ack_w);
DECLARE_READ8_MEMBER(roldfrog_unk_r);
DECLARE_READ16_MEMBER(spr_read);
DECLARE_WRITE16_MEMBER(spr_write);
DECLARE_WRITE16_MEMBER(funystrp_sh_irqtrigger_w);
DECLARE_READ8_MEMBER(int_source_r);
DECLARE_WRITE8_MEMBER(msm1_data_w);
DECLARE_WRITE8_MEMBER(msm1_interrupt_w);
DECLARE_WRITE8_MEMBER(msm2_interrupt_w);
DECLARE_WRITE8_MEMBER(msm2_data_w);
DECLARE_WRITE16_MEMBER(splash_vram_w);
DECLARE_DRIVER_INIT(splash10);
DECLARE_DRIVER_INIT(roldfrog);
DECLARE_DRIVER_INIT(funystrp);
DECLARE_DRIVER_INIT(splash);
DECLARE_DRIVER_INIT(rebus);
TILE_GET_INFO_MEMBER(get_tile_info_splash_tilemap0);
TILE_GET_INFO_MEMBER(get_tile_info_splash_tilemap1);
};
/*----------- defined in video/splash.c -----------*/
VIDEO_START( splash );
SCREEN_UPDATE_IND16( splash );
SCREEN_UPDATE_IND16( funystrp );
|