~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to mess/src/mame/includes/ladyfrog.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*************************************************************************
2
 
 
3
 
    Lady Frog
4
 
 
5
 
*************************************************************************/
6
 
 
7
 
class ladyfrog_state : public driver_device
8
 
{
9
 
public:
10
 
        ladyfrog_state(const machine_config &mconfig, device_type type, const char *tag)
11
 
                : driver_device(mconfig, type, tag) { }
12
 
 
13
 
        /* memory pointers */
14
 
        UINT8 *    m_videoram;
15
 
        UINT8 *    m_spriteram;
16
 
        UINT8 *    m_scrlram;
17
 
//      UINT8 *    m_paletteram;    // currently this uses generic palette handling
18
 
//      UINT8 *    m_paletteram2;   // currently this uses generic palette handling
19
 
        size_t     m_videoram_size;
20
 
 
21
 
        /* video-related */
22
 
        tilemap_t    *m_bg_tilemap;
23
 
        int        m_tilebank;
24
 
        int        m_palette_bank;
25
 
        int        m_spritetilebase;
26
 
 
27
 
        /* misc */
28
 
        int        m_sound_nmi_enable;
29
 
        int        m_pending_nmi;
30
 
        int        m_snd_flag;
31
 
        UINT8      m_snd_data;
32
 
 
33
 
        /* devices */
34
 
        device_t *m_audiocpu;
35
 
};
36
 
 
37
 
 
38
 
/*----------- defined in video/ladyfrog.c -----------*/
39
 
 
40
 
WRITE8_HANDLER( ladyfrog_videoram_w );
41
 
WRITE8_HANDLER( ladyfrog_spriteram_w );
42
 
WRITE8_HANDLER( ladyfrog_palette_w );
43
 
WRITE8_HANDLER( ladyfrog_gfxctrl_w );
44
 
WRITE8_HANDLER( ladyfrog_gfxctrl2_w );
45
 
WRITE8_HANDLER( ladyfrog_scrlram_w );
46
 
 
47
 
READ8_HANDLER( ladyfrog_spriteram_r );
48
 
READ8_HANDLER( ladyfrog_palette_r );
49
 
READ8_HANDLER( ladyfrog_scrlram_r );
50
 
READ8_HANDLER( ladyfrog_videoram_r );
51
 
 
52
 
VIDEO_START( ladyfrog );
53
 
VIDEO_START( toucheme );
54
 
SCREEN_UPDATE( ladyfrog );