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

« back to all changes in this revision

Viewing changes to src/mame/includes/megazone.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:
8
8
{
9
9
public:
10
10
        megazone_state(const machine_config &mconfig, device_type type, const char *tag)
11
 
                : driver_device(mconfig, type, tag) { }
 
11
                : driver_device(mconfig, type, tag) ,
 
12
                m_scrolly(*this, "scrolly"),
 
13
                m_scrollx(*this, "scrollx"),
 
14
                m_videoram(*this, "videoram"),
 
15
                m_videoram2(*this, "videoram2"),
 
16
                m_colorram(*this, "colorram"),
 
17
                m_colorram2(*this, "colorram2"),
 
18
                m_spriteram(*this, "spriteram"){ }
12
19
 
13
20
        /* memory pointers */
14
 
        UINT8 *       m_scrollx;
15
 
        UINT8 *       m_scrolly;
16
 
        UINT8 *       m_videoram;
17
 
        UINT8 *       m_colorram;
18
 
        UINT8 *       m_videoram2;
19
 
        UINT8 *       m_colorram2;
20
 
        UINT8 *       m_spriteram;
21
 
        size_t        m_spriteram_size;
22
 
        size_t        m_videoram_size;
23
 
        size_t        m_videoram2_size;
 
21
        required_shared_ptr<UINT8> m_scrolly;
 
22
        required_shared_ptr<UINT8> m_scrollx;
 
23
        required_shared_ptr<UINT8> m_videoram;
 
24
        required_shared_ptr<UINT8> m_videoram2;
 
25
        required_shared_ptr<UINT8> m_colorram;
 
26
        required_shared_ptr<UINT8> m_colorram2;
 
27
        required_shared_ptr<UINT8> m_spriteram;
24
28
 
25
29
        /* video-related */
26
30
        bitmap_ind16      *m_tmpbitmap;
35
39
        cpu_device *m_daccpu;
36
40
 
37
41
        UINT8         m_irq_mask;
 
42
        DECLARE_WRITE8_MEMBER(megazone_i8039_irq_w);
 
43
        DECLARE_WRITE8_MEMBER(i8039_irqen_and_status_w);
 
44
        DECLARE_WRITE8_MEMBER(megazone_coin_counter_w);
 
45
        DECLARE_WRITE8_MEMBER(irq_mask_w);
 
46
        DECLARE_WRITE8_MEMBER(megazone_flipscreen_w);
38
47
};
39
48
 
40
49
 
41
50
 
42
51
/*----------- defined in video/megazone.c -----------*/
43
52
 
44
 
WRITE8_HANDLER( megazone_flipscreen_w );
45
53
 
46
54
PALETTE_INIT( megazone );
47
55
VIDEO_START( megazone );