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

« back to all changes in this revision

Viewing changes to src/mame/includes/20pacgal.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:
11
11
{
12
12
public:
13
13
        _20pacgal_state(const machine_config &mconfig, device_type type, const char *tag)
14
 
                : driver_device(mconfig, type, tag) { }
 
14
                : driver_device(mconfig, type, tag) ,
 
15
                m_video_ram(*this, "video_ram"),
 
16
                m_char_gfx_ram(*this, "char_gfx_ram"),
 
17
                m_stars_seed(*this, "stars_seed"),
 
18
                m_stars_ctrl(*this, "stars_ctrl"),
 
19
                m_flip(*this, "flip"){ }
15
20
 
16
21
        /* memory pointers */
17
 
        UINT8 *m_char_gfx_ram;
18
 
        UINT8 *m_video_ram;
19
 
        UINT8 *m_flip;
20
 
        UINT8 *m_stars_seed;
21
 
        UINT8 *m_stars_ctrl;
 
22
        required_shared_ptr<UINT8> m_video_ram;
 
23
        required_shared_ptr<UINT8> m_char_gfx_ram;
 
24
        required_shared_ptr<UINT8> m_stars_seed;
 
25
        required_shared_ptr<UINT8> m_stars_ctrl;
 
26
        required_shared_ptr<UINT8> m_flip;
22
27
 
23
28
        /* machine state */
24
29
        UINT8 m_game_selected;  /* 0 = Ms. Pac-Man, 1 = Galaga */
37
42
        UINT8 m_sprite_pal_base;
38
43
 
39
44
        UINT8 m_irq_mask;
 
45
        DECLARE_WRITE8_MEMBER(irqack_w);
 
46
        DECLARE_WRITE8_MEMBER(timer_pulse_w);
 
47
        DECLARE_WRITE8_MEMBER(_20pacgal_coin_counter_w);
 
48
        DECLARE_WRITE8_MEMBER(ram_bank_select_w);
 
49
        DECLARE_WRITE8_MEMBER(ram_48000_w);
 
50
        DECLARE_WRITE8_MEMBER(sprite_gfx_w);
 
51
        DECLARE_WRITE8_MEMBER(sprite_ram_w);
 
52
        DECLARE_WRITE8_MEMBER(sprite_lookup_w);
40
53
};
41
54
 
42
55