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

« back to all changes in this revision

Viewing changes to src/mame/includes/momoko.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
        momoko_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_spriteram(*this, "spriteram"),
 
13
                m_videoram(*this, "videoram"),
 
14
                m_bg_scrolly(*this, "bg_scrolly"),
 
15
                m_bg_scrollx(*this, "bg_scrollx"){ }
12
16
 
13
17
        /* memory pointers */
14
 
        UINT8 *        m_bg_scrollx;
15
 
        UINT8 *        m_bg_scrolly;
16
 
        UINT8 *        m_videoram;
17
 
        UINT8 *        m_spriteram;
 
18
        required_shared_ptr<UINT8> m_spriteram;
 
19
        required_shared_ptr<UINT8> m_videoram;
 
20
        required_shared_ptr<UINT8> m_bg_scrolly;
 
21
        required_shared_ptr<UINT8> m_bg_scrollx;
18
22
//  UINT8 *        paletteram;    // currently this uses generic palette handling
19
 
        size_t         m_spriteram_size;
20
 
        size_t         m_videoram_size;
21
23
 
22
24
        /* video-related */
23
25
        UINT8          m_fg_scrollx;
30
32
        UINT8          m_bg_mask;
31
33
        UINT8          m_fg_mask;
32
34
        UINT8          m_flipscreen;
 
35
        DECLARE_WRITE8_MEMBER(momoko_bg_read_bank_w);
 
36
        DECLARE_WRITE8_MEMBER(momoko_fg_scrollx_w);
 
37
        DECLARE_WRITE8_MEMBER(momoko_fg_scrolly_w);
 
38
        DECLARE_WRITE8_MEMBER(momoko_fg_select_w);
 
39
        DECLARE_WRITE8_MEMBER(momoko_text_scrolly_w);
 
40
        DECLARE_WRITE8_MEMBER(momoko_text_mode_w);
 
41
        DECLARE_WRITE8_MEMBER(momoko_bg_scrollx_w);
 
42
        DECLARE_WRITE8_MEMBER(momoko_bg_scrolly_w);
 
43
        DECLARE_WRITE8_MEMBER(momoko_bg_select_w);
 
44
        DECLARE_WRITE8_MEMBER(momoko_bg_priority_w);
 
45
        DECLARE_WRITE8_MEMBER(momoko_flipscreen_w);
33
46
};
34
47
 
35
48
 
36
49
/*----------- defined in video/momoko.c -----------*/
37
50
 
38
 
WRITE8_HANDLER( momoko_fg_scrollx_w );
39
 
WRITE8_HANDLER( momoko_fg_scrolly_w );
40
 
WRITE8_HANDLER( momoko_text_scrolly_w );
41
 
WRITE8_HANDLER( momoko_text_mode_w );
42
 
WRITE8_HANDLER( momoko_bg_scrollx_w );
43
 
WRITE8_HANDLER( momoko_bg_scrolly_w );
44
 
WRITE8_HANDLER( momoko_flipscreen_w );
45
 
WRITE8_HANDLER( momoko_fg_select_w);
46
 
WRITE8_HANDLER( momoko_bg_select_w);
47
 
WRITE8_HANDLER( momoko_bg_priority_w);
48
51
 
49
52
SCREEN_UPDATE_IND16( momoko );