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

« back to all changes in this revision

Viewing changes to src/mame/includes/mcatadv.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:
3
3
{
4
4
public:
5
5
        mcatadv_state(const machine_config &mconfig, device_type type, const char *tag)
6
 
                : driver_device(mconfig, type, tag) { }
 
6
                : driver_device(mconfig, type, tag) ,
 
7
                m_videoram1(*this, "videoram1"),
 
8
                m_videoram2(*this, "videoram2"),
 
9
                m_scroll1(*this, "scroll1"),
 
10
                m_scroll2(*this, "scroll2"),
 
11
                m_spriteram(*this, "spriteram"),
 
12
                m_vidregs(*this, "vidregs"){ }
7
13
 
8
14
        /* memory pointers */
9
 
        UINT16 *     m_videoram1;
10
 
        UINT16 *     m_videoram2;
11
 
        UINT16 *     m_scroll1;
12
 
        UINT16 *     m_scroll2;
13
 
        UINT16 *     m_spriteram;
 
15
        required_shared_ptr<UINT16> m_videoram1;
 
16
        required_shared_ptr<UINT16> m_videoram2;
 
17
        required_shared_ptr<UINT16> m_scroll1;
 
18
        required_shared_ptr<UINT16> m_scroll2;
 
19
        required_shared_ptr<UINT16> m_spriteram;
14
20
        UINT16 *     m_spriteram_old;
15
 
        UINT16 *     m_vidregs;
 
21
        required_shared_ptr<UINT16> m_vidregs;
16
22
        UINT16 *     m_vidregs_old;
17
23
//  UINT16 *     m_paletteram;    // this currently uses generic palette handlers
18
 
        size_t       m_spriteram_size;
19
24
 
20
25
        /* video-related */
21
26
        tilemap_t    *m_tilemap1;
26
31
        /* devices */
27
32
        device_t *m_maincpu;
28
33
        device_t *m_soundcpu;
 
34
        DECLARE_WRITE16_MEMBER(mcat_soundlatch_w);
 
35
        DECLARE_WRITE16_MEMBER(mcat_coin_w);
 
36
        DECLARE_READ16_MEMBER(mcat_wd_r);
 
37
        DECLARE_WRITE8_MEMBER(mcatadv_sound_bw_w);
 
38
        DECLARE_WRITE16_MEMBER(mcatadv_videoram1_w);
 
39
        DECLARE_WRITE16_MEMBER(mcatadv_videoram2_w);
29
40
};
30
41
 
31
42
/*----------- defined in video/mcatadv.c -----------*/
34
45
VIDEO_START( mcatadv );
35
46
SCREEN_VBLANK( mcatadv );
36
47
 
37
 
WRITE16_HANDLER( mcatadv_videoram1_w );
38
 
WRITE16_HANDLER( mcatadv_videoram2_w );