4
4
shootout_state(const machine_config &mconfig, device_type type, const char *tag)
5
: driver_device(mconfig, type, tag) { }
5
: driver_device(mconfig, type, tag) ,
6
m_spriteram(*this, "spriteram"),
7
m_textram(*this, "textram"),
8
m_videoram(*this, "videoram"){ }
7
10
tilemap_t *m_background;
8
11
tilemap_t *m_foreground;
12
required_shared_ptr<UINT8> m_spriteram;
13
required_shared_ptr<UINT8> m_textram;
14
required_shared_ptr<UINT8> m_videoram;
16
DECLARE_WRITE8_MEMBER(shootout_bankswitch_w);
17
DECLARE_WRITE8_MEMBER(sound_cpu_command_w);
18
DECLARE_WRITE8_MEMBER(shootout_flipscreen_w);
19
DECLARE_WRITE8_MEMBER(shootout_coin_counter_w);
20
DECLARE_WRITE8_MEMBER(shootout_videoram_w);
21
DECLARE_WRITE8_MEMBER(shootout_textram_w);
22
DECLARE_INPUT_CHANGED_MEMBER(coin_inserted);
16
26
/*----------- defined in video/shootout.c -----------*/
18
WRITE8_HANDLER( shootout_videoram_w );
19
WRITE8_HANDLER( shootout_textram_w );
21
29
PALETTE_INIT( shootout );
22
30
VIDEO_START( shootout );