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

« back to all changes in this revision

Viewing changes to src/mame/includes/mosaic.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
        mosaic_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_fgvideoram(*this, "fgvideoram"),
 
13
                m_bgvideoram(*this, "bgvideoram"){ }
12
14
 
13
15
        /* memory pointers */
14
 
        UINT8 *        m_fgvideoram;
15
 
        UINT8 *        m_bgvideoram;
 
16
        required_shared_ptr<UINT8> m_fgvideoram;
 
17
        required_shared_ptr<UINT8> m_bgvideoram;
16
18
//      UINT8 *        m_paletteram;    // currently this uses generic palette handling
17
19
 
18
20
        /* video-related */
21
23
 
22
24
        /* misc */
23
25
        int            m_prot_val;
 
26
        DECLARE_WRITE8_MEMBER(protection_w);
 
27
        DECLARE_READ8_MEMBER(protection_r);
 
28
        DECLARE_WRITE8_MEMBER(gfire2_protection_w);
 
29
        DECLARE_READ8_MEMBER(gfire2_protection_r);
 
30
        DECLARE_WRITE8_MEMBER(mosaic_fgvideoram_w);
 
31
        DECLARE_WRITE8_MEMBER(mosaic_bgvideoram_w);
24
32
};
25
33
 
26
34
 
27
35
/*----------- defined in video/mosaic.c -----------*/
28
36
 
29
 
WRITE8_HANDLER( mosaic_fgvideoram_w );
30
 
WRITE8_HANDLER( mosaic_bgvideoram_w );
31
37
 
32
38
VIDEO_START( mosaic );
33
39
SCREEN_UPDATE_IND16( mosaic );