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

« back to all changes in this revision

Viewing changes to src/mame/includes/msisaac.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:
5
5
{
6
6
public:
7
7
        msisaac_state(const machine_config &mconfig, device_type type, const char *tag)
8
 
                : driver_device(mconfig, type, tag) { }
 
8
                : driver_device(mconfig, type, tag) ,
 
9
                m_spriteram(*this, "spriteram"),
 
10
                m_videoram(*this, "videoram"),
 
11
                m_videoram3(*this, "videoram3"),
 
12
                m_videoram2(*this, "videoram2"){ }
9
13
 
10
14
        /* memory pointers */
11
 
        UINT8 *     m_videoram;
12
 
        UINT8 *     m_videoram2;
13
 
        UINT8 *     m_videoram3;
14
 
        UINT8 *     m_spriteram;
15
 
        size_t      m_videoram_size;
16
 
        size_t      m_spriteram_size;
17
 
        size_t      m_spriteram2_size;
 
15
        required_shared_ptr<UINT8> m_spriteram;
 
16
        required_shared_ptr<UINT8> m_videoram;
 
17
        required_shared_ptr<UINT8> m_videoram3;
 
18
        required_shared_ptr<UINT8> m_videoram2;
18
19
 
19
20
        /* video-related */
20
21
        bitmap_ind16    *m_tmp_bitmap1;
42
43
 
43
44
        /* devices */
44
45
        device_t *m_audiocpu;
 
46
        DECLARE_WRITE8_MEMBER(sound_command_w);
 
47
        DECLARE_WRITE8_MEMBER(nmi_disable_w);
 
48
        DECLARE_WRITE8_MEMBER(nmi_enable_w);
 
49
        DECLARE_WRITE8_MEMBER(flip_screen_w);
 
50
        DECLARE_WRITE8_MEMBER(msisaac_coin_counter_w);
 
51
        DECLARE_WRITE8_MEMBER(ms_unknown_w);
 
52
        DECLARE_READ8_MEMBER(msisaac_mcu_r);
 
53
        DECLARE_READ8_MEMBER(msisaac_mcu_status_r);
 
54
        DECLARE_WRITE8_MEMBER(msisaac_mcu_w);
 
55
        DECLARE_WRITE8_MEMBER(sound_control_1_w);
 
56
        DECLARE_WRITE8_MEMBER(msisaac_fg_scrolly_w);
 
57
        DECLARE_WRITE8_MEMBER(msisaac_fg_scrollx_w);
 
58
        DECLARE_WRITE8_MEMBER(msisaac_bg2_scrolly_w);
 
59
        DECLARE_WRITE8_MEMBER(msisaac_bg2_scrollx_w);
 
60
        DECLARE_WRITE8_MEMBER(msisaac_bg_scrolly_w);
 
61
        DECLARE_WRITE8_MEMBER(msisaac_bg_scrollx_w);
 
62
        DECLARE_WRITE8_MEMBER(msisaac_textbank1_w);
 
63
        DECLARE_WRITE8_MEMBER(msisaac_bg2_textbank_w);
 
64
        DECLARE_WRITE8_MEMBER(msisaac_bg_videoram_w);
 
65
        DECLARE_WRITE8_MEMBER(msisaac_bg2_videoram_w);
 
66
        DECLARE_WRITE8_MEMBER(msisaac_fg_videoram_w);
45
67
};
46
68
 
47
69
 
48
70
/*----------- defined in video/msisaac.c -----------*/
49
71
 
50
 
WRITE8_HANDLER( msisaac_fg_scrolly_w );
51
 
WRITE8_HANDLER( msisaac_fg_scrollx_w );
52
 
WRITE8_HANDLER( msisaac_bg_scrolly_w );
53
 
WRITE8_HANDLER( msisaac_bg_scrollx_w );
54
 
WRITE8_HANDLER( msisaac_bg2_scrolly_w );
55
 
WRITE8_HANDLER( msisaac_bg2_scrollx_w );
56
 
WRITE8_HANDLER( msisaac_bg2_textbank_w );
57
72
 
58
 
WRITE8_HANDLER( msisaac_bg_videoram_w );
59
 
WRITE8_HANDLER( msisaac_bg2_videoram_w );
60
 
WRITE8_HANDLER( msisaac_fg_videoram_w );
61
73
 
62
74
SCREEN_UPDATE_IND16( msisaac );
63
75
VIDEO_START( msisaac );