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

« back to all changes in this revision

Viewing changes to src/mame/includes/sderby.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
        sderby_state(const machine_config &mconfig, device_type type, const char *tag)
5
 
                : driver_device(mconfig, type, tag) { }
6
 
 
7
 
        UINT16 *m_spriteram;
8
 
        size_t m_spriteram_size;
9
 
 
10
 
        UINT16 *m_videoram;
11
 
        UINT16 *m_md_videoram;
12
 
        UINT16 *m_fg_videoram;
 
5
                : driver_device(mconfig, type, tag) ,
 
6
                m_videoram(*this, "videoram"),
 
7
                m_md_videoram(*this, "md_videoram"),
 
8
                m_fg_videoram(*this, "fg_videoram"),
 
9
                m_spriteram(*this, "spriteram"){ }
 
10
 
 
11
        required_shared_ptr<UINT16> m_videoram;
 
12
        required_shared_ptr<UINT16> m_md_videoram;
 
13
        required_shared_ptr<UINT16> m_fg_videoram;
 
14
        required_shared_ptr<UINT16> m_spriteram;
13
15
 
14
16
        tilemap_t *m_tilemap;
15
17
        tilemap_t *m_md_tilemap;
16
18
        tilemap_t *m_fg_tilemap;
17
19
 
18
20
        UINT16 m_scroll[6];
 
21
        DECLARE_READ16_MEMBER(sderby_input_r);
 
22
        DECLARE_READ16_MEMBER(roulette_input_r);
 
23
        DECLARE_READ16_MEMBER(rprot_r);
 
24
        DECLARE_WRITE16_MEMBER(rprot_w);
 
25
        DECLARE_WRITE16_MEMBER(sderby_out_w);
 
26
        DECLARE_WRITE16_MEMBER(scmatto_out_w);
 
27
        DECLARE_WRITE16_MEMBER(roulette_out_w);
 
28
        DECLARE_WRITE16_MEMBER(sderby_videoram_w);
 
29
        DECLARE_WRITE16_MEMBER(sderby_md_videoram_w);
 
30
        DECLARE_WRITE16_MEMBER(sderby_fg_videoram_w);
 
31
        DECLARE_WRITE16_MEMBER(sderby_scroll_w);
19
32
};
20
33
 
21
34
 
22
35
/*----------- defined in video/sderby.c -----------*/
23
36
 
24
 
WRITE16_HANDLER( sderby_videoram_w );
25
 
WRITE16_HANDLER( sderby_md_videoram_w );
26
 
WRITE16_HANDLER( sderby_fg_videoram_w );
27
37
VIDEO_START( sderby );
28
38
SCREEN_UPDATE_IND16( sderby );
29
39
SCREEN_UPDATE_IND16( pmroulet );
30
 
WRITE16_HANDLER( sderby_scroll_w );