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

« back to all changes in this revision

Viewing changes to src/mame/includes/undrfire.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:
12
12
{
13
13
public:
14
14
        undrfire_state(const machine_config &mconfig, device_type type, const char *tag)
15
 
                : driver_device(mconfig, type, tag) { }
 
15
                : driver_device(mconfig, type, tag),
 
16
                  m_ram(*this, "ram"),
 
17
                  m_shared_ram(*this, "shared_ram"),
 
18
                  m_spriteram(*this, "spriteram") { }
16
19
 
17
20
        UINT16 m_coin_word;
18
21
        UINT16 m_port_sel;
19
22
        int m_frame_counter;
20
 
        UINT32 *m_ram;
21
 
        UINT32 *m_shared_ram;
 
23
        optional_shared_ptr<UINT32> m_ram;
 
24
        optional_shared_ptr<UINT32> m_shared_ram;
22
25
        struct tempsprite *m_spritelist;
23
26
        UINT16 m_rotate_ctrl[8];
24
27
        UINT8 m_dislayer[6];
25
 
        UINT32 *m_spriteram;
26
 
        size_t m_spriteram_size;
 
28
        required_shared_ptr<UINT32> m_spriteram;
 
29
        DECLARE_WRITE32_MEMBER(color_ram_w);
 
30
        DECLARE_READ32_MEMBER(undrfire_input_r);
 
31
        DECLARE_WRITE32_MEMBER(undrfire_input_w);
 
32
        DECLARE_READ16_MEMBER(shared_ram_r);
 
33
        DECLARE_WRITE16_MEMBER(shared_ram_w);
 
34
        DECLARE_READ32_MEMBER(unknown_hardware_r);
 
35
        DECLARE_WRITE32_MEMBER(unknown_int_req_w);
 
36
        DECLARE_READ32_MEMBER(undrfire_lightgun_r);
 
37
        DECLARE_WRITE32_MEMBER(rotate_control_w);
 
38
        DECLARE_WRITE32_MEMBER(motor_control_w);
 
39
        DECLARE_WRITE32_MEMBER(cbombers_cpua_ctrl_w);
 
40
        DECLARE_READ32_MEMBER(cbombers_adc_r);
 
41
        DECLARE_WRITE32_MEMBER(cbombers_adc_w);
 
42
        DECLARE_CUSTOM_INPUT_MEMBER(frame_counter_r);
27
43
};
28
44
 
29
45