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

« back to all changes in this revision

Viewing changes to src/mame/includes/dday.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
{
10
10
public:
11
11
        dday_state(const machine_config &mconfig, device_type type, const char *tag)
12
 
                : driver_device(mconfig, type, tag) { }
 
12
                : driver_device(mconfig, type, tag) ,
 
13
                m_textvideoram(*this, "textvideoram"),
 
14
                m_fgvideoram(*this, "fgvideoram"),
 
15
                m_bgvideoram(*this, "bgvideoram"),
 
16
                m_colorram(*this, "colorram"){ }
13
17
 
14
18
        /* memory pointers */
15
 
        UINT8 *        m_bgvideoram;
16
 
        UINT8 *        m_fgvideoram;
17
 
        UINT8 *        m_textvideoram;
18
 
        UINT8 *        m_colorram;
 
19
        required_shared_ptr<UINT8> m_textvideoram;
 
20
        required_shared_ptr<UINT8> m_fgvideoram;
 
21
        required_shared_ptr<UINT8> m_bgvideoram;
 
22
        required_shared_ptr<UINT8> m_colorram;
19
23
 
20
24
        /* video-related */
21
25
        tilemap_t        *m_fg_tilemap;
30
34
 
31
35
        /* devices */
32
36
        device_t *m_ay1;
 
37
        DECLARE_READ8_MEMBER(dday_countdown_timer_r);
 
38
        DECLARE_WRITE8_MEMBER(dday_bgvideoram_w);
 
39
        DECLARE_WRITE8_MEMBER(dday_fgvideoram_w);
 
40
        DECLARE_WRITE8_MEMBER(dday_textvideoram_w);
 
41
        DECLARE_WRITE8_MEMBER(dday_colorram_w);
 
42
        DECLARE_READ8_MEMBER(dday_colorram_r);
 
43
        DECLARE_WRITE8_MEMBER(dday_sl_control_w);
 
44
        DECLARE_WRITE8_MEMBER(dday_control_w);
33
45
};
34
46
 
35
47
 
39
51
VIDEO_START( dday );
40
52
SCREEN_UPDATE_IND16( dday );
41
53
 
42
 
WRITE8_HANDLER( dday_bgvideoram_w );
43
 
WRITE8_HANDLER( dday_fgvideoram_w );
44
 
WRITE8_HANDLER( dday_textvideoram_w );
45
 
WRITE8_HANDLER( dday_colorram_w );
46
 
READ8_HANDLER( dday_colorram_r );
47
 
WRITE8_HANDLER( dday_control_w );
48
 
WRITE8_HANDLER( dday_sl_control_w );
49
 
READ8_HANDLER( dday_countdown_timer_r );