4
4
tankbust_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_txtram(*this, "txtram"),
7
m_videoram(*this, "videoram"),
8
m_colorram(*this, "colorram"),
9
m_spriteram(*this, "spriteram"){ }
10
14
UINT8 m_variable_data;
15
required_shared_ptr<UINT8> m_txtram;
16
required_shared_ptr<UINT8> m_videoram;
17
required_shared_ptr<UINT8> m_colorram;
14
18
tilemap_t *m_bg_tilemap;
15
19
tilemap_t *m_txt_tilemap;
16
20
UINT8 m_xscroll[2];
17
21
UINT8 m_yscroll[2];
19
size_t m_spriteram_size;
22
required_shared_ptr<UINT8> m_spriteram;
25
DECLARE_WRITE8_MEMBER(tankbust_soundlatch_w);
26
DECLARE_WRITE8_MEMBER(tankbust_e0xx_w);
27
DECLARE_READ8_MEMBER(debug_output_area_r);
28
DECLARE_READ8_MEMBER(read_from_unmapped_memory);
29
DECLARE_READ8_MEMBER(some_changing_input);
30
DECLARE_WRITE8_MEMBER(tankbust_background_videoram_w);
31
DECLARE_READ8_MEMBER(tankbust_background_videoram_r);
32
DECLARE_WRITE8_MEMBER(tankbust_background_colorram_w);
33
DECLARE_READ8_MEMBER(tankbust_background_colorram_r);
34
DECLARE_WRITE8_MEMBER(tankbust_txtram_w);
35
DECLARE_READ8_MEMBER(tankbust_txtram_r);
36
DECLARE_WRITE8_MEMBER(tankbust_xscroll_w);
37
DECLARE_WRITE8_MEMBER(tankbust_yscroll_w);
27
43
VIDEO_START( tankbust );
28
44
SCREEN_UPDATE_IND16( tankbust );
30
WRITE8_HANDLER( tankbust_background_videoram_w );
31
READ8_HANDLER( tankbust_background_videoram_r );
32
WRITE8_HANDLER( tankbust_background_colorram_w );
33
READ8_HANDLER( tankbust_background_colorram_r );
34
WRITE8_HANDLER( tankbust_txtram_w );
35
READ8_HANDLER( tankbust_txtram_r );
37
WRITE8_HANDLER( tankbust_xscroll_w );
38
WRITE8_HANDLER( tankbust_yscroll_w );