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

« back to all changes in this revision

Viewing changes to src/mame/includes/labyrunr.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:
9
9
public:
10
10
        labyrunr_state(const machine_config &mconfig, device_type type, const char *tag)
11
11
                : driver_device(mconfig, type, tag),
12
 
                m_maincpu(*this,"maincpu")
13
 
                { }
14
 
 
 
12
                m_maincpu(*this,"maincpu"),
 
13
                m_scrollram(*this, "scrollram"),
 
14
                m_paletteram(*this, "paletteram"),
 
15
                m_spriteram(*this, "spriteram"),
 
16
                m_videoram1(*this, "videoram1"),
 
17
                m_videoram2(*this, "videoram2"){ }
 
18
 
 
19
        /* devices */
 
20
        device_t *m_k007121;
 
21
 
 
22
        required_device<cpu_device> m_maincpu;
15
23
        /* memory pointers */
16
 
        UINT8 *    m_videoram1;
17
 
        UINT8 *    m_videoram2;
18
 
        UINT8 *    m_scrollram;
19
 
        UINT8 *    m_spriteram;
20
 
        UINT8 *    m_paletteram;
 
24
        required_shared_ptr<UINT8> m_scrollram;
 
25
        required_shared_ptr<UINT8> m_paletteram;
 
26
        required_shared_ptr<UINT8> m_spriteram;
 
27
        required_shared_ptr<UINT8> m_videoram1;
 
28
        required_shared_ptr<UINT8> m_videoram2;
21
29
 
22
30
        /* video-related */
23
31
        tilemap_t    *m_layer0;
25
33
        rectangle  m_clip0;
26
34
        rectangle  m_clip1;
27
35
 
28
 
        /* devices */
29
 
        device_t *m_k007121;
30
 
 
31
 
        required_device<cpu_device> m_maincpu;
 
36
        DECLARE_WRITE8_MEMBER(labyrunr_bankswitch_w);
 
37
        DECLARE_WRITE8_MEMBER(labyrunr_vram1_w);
 
38
        DECLARE_WRITE8_MEMBER(labyrunr_vram2_w);
32
39
};
33
40
 
34
41
 
35
42
/*----------- defined in video/labyrunr.c -----------*/
36
43
 
37
44
 
38
 
WRITE8_HANDLER( labyrunr_vram1_w );
39
 
WRITE8_HANDLER( labyrunr_vram2_w );
40
45
 
41
46
PALETTE_INIT( labyrunr );
42
47
VIDEO_START( labyrunr );