~ubuntu-branches/debian/sid/mame/sid

« back to all changes in this revision

Viewing changes to src/mame/includes/tankbatt.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Emmanuel Kasper, Jordi Mallach
  • Date: 2012-06-05 20:02:23 UTC
  • mfrom: (0.3.1) (0.1.4)
  • Revision ID: package-import@ubuntu.com-20120605200223-gnlpogjrg6oqe9md
Tags: 0.146-1
[ Emmanuel Kasper ]
* New upstream release
* Drop patch to fix man pages section and patches to link with flac 
  and jpeg system lib: all this has been pushed upstream by Cesare Falco
* Add DM-Upload-Allowed: yes field.

[ Jordi Mallach ]
* Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
* Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
  and set to the appropriate value.
* mame_manpage_section.patch: Change mame's manpage section to 6 (games),
  in the TH declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
{
3
3
public:
4
4
        tankbatt_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_bulletsram(*this, "bulletsram"),
 
7
                m_videoram(*this, "videoram"){ }
6
8
 
7
 
        UINT8 *m_videoram;
 
9
        required_shared_ptr<UINT8> m_bulletsram;
 
10
        required_shared_ptr<UINT8> m_videoram;
8
11
        int m_nmi_enable;
9
12
        int m_sound_enable;
10
 
        UINT8 *m_bulletsram;
11
 
        size_t m_bulletsram_size;
 
13
 
12
14
        tilemap_t *m_bg_tilemap;
 
15
        DECLARE_WRITE8_MEMBER(tankbatt_led_w);
 
16
        DECLARE_READ8_MEMBER(tankbatt_in0_r);
 
17
        DECLARE_READ8_MEMBER(tankbatt_in1_r);
 
18
        DECLARE_READ8_MEMBER(tankbatt_dsw_r);
 
19
        DECLARE_WRITE8_MEMBER(tankbatt_interrupt_enable_w);
 
20
        DECLARE_WRITE8_MEMBER(tankbatt_demo_interrupt_enable_w);
 
21
        DECLARE_WRITE8_MEMBER(tankbatt_sh_expl_w);
 
22
        DECLARE_WRITE8_MEMBER(tankbatt_sh_engine_w);
 
23
        DECLARE_WRITE8_MEMBER(tankbatt_sh_fire_w);
 
24
        DECLARE_WRITE8_MEMBER(tankbatt_irq_ack_w);
 
25
        DECLARE_WRITE8_MEMBER(tankbatt_coin_counter_w);
 
26
        DECLARE_WRITE8_MEMBER(tankbatt_coin_lockout_w);
 
27
        DECLARE_WRITE8_MEMBER(tankbatt_videoram_w);
 
28
        DECLARE_INPUT_CHANGED_MEMBER(coin_inserted);
13
29
};
14
30
 
15
31
 
16
32
/*----------- defined in video/tankbatt.c -----------*/
17
33
 
18
 
WRITE8_HANDLER( tankbatt_videoram_w );
19
34
 
20
35
PALETTE_INIT( tankbatt );
21
36
VIDEO_START( tankbatt );