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

« back to all changes in this revision

Viewing changes to mess/src/mame/includes/champbas.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
 
    Talbot - Champion Base Ball - Exciting Soccer
4
 
 
5
 
*************************************************************************/
6
 
 
7
 
 
8
 
#define CPUTAG_MCU "mcu"
9
 
 
10
 
 
11
 
class champbas_state : public driver_device
12
 
{
13
 
public:
14
 
        champbas_state(const machine_config &mconfig, device_type type, const char *tag)
15
 
                : driver_device(mconfig, type, tag) { }
16
 
 
17
 
        /* memory pointers */
18
 
        UINT8 *        m_bg_videoram;
19
 
        UINT8 *        m_spriteram;
20
 
        UINT8 *        m_spriteram_2;
21
 
        size_t         m_spriteram_size;
22
 
 
23
 
        /* video-related */
24
 
        tilemap_t        *m_bg_tilemap;
25
 
        UINT8          m_gfx_bank;
26
 
        UINT8          m_palette_bank;
27
 
 
28
 
        /* misc */
29
 
        int            m_watchdog_count;
30
 
 
31
 
        /* devices */
32
 
        device_t *m_maincpu;
33
 
        device_t *m_audiocpu;
34
 
        device_t *m_mcu;
35
 
};
36
 
 
37
 
 
38
 
/*----------- defined in video/champbas.c -----------*/
39
 
 
40
 
WRITE8_HANDLER( champbas_bg_videoram_w );
41
 
WRITE8_HANDLER( champbas_gfxbank_w );
42
 
WRITE8_HANDLER( champbas_palette_bank_w );
43
 
WRITE8_HANDLER( champbas_flipscreen_w );
44
 
 
45
 
PALETTE_INIT( champbas );
46
 
PALETTE_INIT( exctsccr );
47
 
VIDEO_START( champbas );
48
 
VIDEO_START( exctsccr );
49
 
SCREEN_UPDATE( champbas );
50
 
SCREEN_UPDATE( exctsccr );
51
 
 
52