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

« back to all changes in this revision

Viewing changes to src/mame/includes/vulgus.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
        vulgus_state(const machine_config &mconfig, device_type type, const char *tag)
5
 
                : driver_device(mconfig, type, tag) { }
 
5
                : driver_device(mconfig, type, tag) ,
 
6
                m_scroll_low(*this, "scroll_low"),
 
7
                m_scroll_high(*this, "scroll_high"),
 
8
                m_spriteram(*this, "spriteram"),
 
9
                m_fgvideoram(*this, "fgvideoram"),
 
10
                m_bgvideoram(*this, "bgvideoram"){ }
6
11
 
7
 
        UINT8 *m_fgvideoram;
8
 
        UINT8 *m_bgvideoram;
9
 
        UINT8 *m_scroll_low;
10
 
        UINT8 *m_scroll_high;
 
12
        required_shared_ptr<UINT8> m_scroll_low;
 
13
        required_shared_ptr<UINT8> m_scroll_high;
 
14
        required_shared_ptr<UINT8> m_spriteram;
 
15
        required_shared_ptr<UINT8> m_fgvideoram;
 
16
        required_shared_ptr<UINT8> m_bgvideoram;
11
17
        int m_palette_bank;
12
18
        tilemap_t *m_fg_tilemap;
13
19
        tilemap_t *m_bg_tilemap;
14
 
        UINT8 *m_spriteram;
15
 
        size_t m_spriteram_size;
 
20
        DECLARE_WRITE8_MEMBER(vulgus_fgvideoram_w);
 
21
        DECLARE_WRITE8_MEMBER(vulgus_bgvideoram_w);
 
22
        DECLARE_WRITE8_MEMBER(vulgus_c804_w);
 
23
        DECLARE_WRITE8_MEMBER(vulgus_palette_bank_w);
16
24
};
17
25
 
18
26
 
19
27
/*----------- defined in video/vulgus.c -----------*/
20
28
 
21
 
WRITE8_HANDLER( vulgus_fgvideoram_w );
22
 
WRITE8_HANDLER( vulgus_bgvideoram_w );
23
 
WRITE8_HANDLER( vulgus_c804_w );
24
 
WRITE8_HANDLER( vulgus_palette_bank_w );
25
29
 
26
30
VIDEO_START( vulgus );
27
31
PALETTE_INIT( vulgus );