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

« back to all changes in this revision

Viewing changes to mess/src/mame/includes/rungun.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
 
    Run and Gun / Slam Dunk
4
 
 
5
 
*************************************************************************/
6
 
 
7
 
class rungun_state : public driver_device
8
 
{
9
 
public:
10
 
        rungun_state(const machine_config &mconfig, device_type type, const char *tag)
11
 
                : driver_device(mconfig, type, tag) { }
12
 
 
13
 
        /* memory pointers */
14
 
        UINT16 *    m_936_videoram;
15
 
//  UINT16 *    m_paletteram;    // currently this uses generic palette handling
16
 
 
17
 
        /* video-related */
18
 
        tilemap_t   *m_ttl_tilemap;
19
 
        tilemap_t   *m_936_tilemap;
20
 
        UINT16      m_ttl_vram[0x1000];
21
 
        int         m_ttl_gfx_index;
22
 
        int         m_sprite_colorbase;
23
 
 
24
 
        /* misc */
25
 
        UINT16      m_sysreg[0x20];
26
 
        int         m_z80_control;
27
 
        int         m_sound_status;
28
 
 
29
 
        /* devices */
30
 
        device_t *m_maincpu;
31
 
        device_t *m_audiocpu;
32
 
        device_t *m_k054539_1;
33
 
        device_t *m_k054539_2;
34
 
        device_t *m_k053936;
35
 
        device_t *m_k055673;
36
 
        device_t *m_k053252;
37
 
};
38
 
 
39
 
 
40
 
 
41
 
 
42
 
/*----------- defined in video/rungun.c -----------*/
43
 
 
44
 
extern void rng_sprite_callback(running_machine &machine, int *code, int *color, int *priority_mask);
45
 
 
46
 
READ16_HANDLER( rng_ttl_ram_r );
47
 
WRITE16_HANDLER( rng_ttl_ram_w );
48
 
WRITE16_HANDLER( rng_936_videoram_w );
49
 
 
50
 
VIDEO_START( rng );
51
 
SCREEN_UPDATE( rng );