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

« back to all changes in this revision

Viewing changes to mess/src/mame/includes/nemesis.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
 
class nemesis_state : public driver_device
2
 
{
3
 
public:
4
 
        nemesis_state(const machine_config &mconfig, device_type type, const char *tag)
5
 
                : driver_device(mconfig, type, tag) { }
6
 
 
7
 
        /* memory pointers */
8
 
        UINT16 *  m_videoram1;
9
 
        UINT16 *  m_videoram2;
10
 
        UINT16 *  m_colorram1;
11
 
        UINT16 *  m_colorram2;
12
 
        UINT16 *  m_charram;
13
 
        UINT16 *  m_spriteram;
14
 
        UINT16 *  m_paletteram;
15
 
        UINT16 *  m_xscroll1;
16
 
        UINT16 *  m_xscroll2;
17
 
        UINT16 *  m_yscroll1;
18
 
        UINT16 *  m_yscroll2;
19
 
        UINT8 *   m_gx400_shared_ram;
20
 
 
21
 
        size_t    m_charram_size;
22
 
        size_t    m_spriteram_size;
23
 
 
24
 
        /* video-related */
25
 
        tilemap_t *m_background;
26
 
        tilemap_t *m_foreground;
27
 
        int       m_spriteram_words;
28
 
        int       m_tilemap_flip;
29
 
        int       m_flipscreen;
30
 
        UINT8     m_irq_port_last;
31
 
        UINT8     m_blank_tile[8*8];
32
 
 
33
 
        /* misc */
34
 
        int       m_irq_on;
35
 
        int       m_irq1_on;
36
 
        int       m_irq2_on;
37
 
        int       m_irq4_on;
38
 
        UINT16    m_selected_ip; /* Copied from WEC Le Mans 24 driver, explicity needed for Hyper Crash */
39
 
        int       m_gx400_irq1_cnt;
40
 
        UINT8     m_frame_counter;
41
 
 
42
 
        /* devices */
43
 
        cpu_device *m_maincpu;
44
 
        cpu_device *m_audiocpu;
45
 
        device_t *m_vlm;
46
 
};
47
 
 
48
 
 
49
 
/*----------- defined in video/nemesis.c -----------*/
50
 
 
51
 
WRITE16_HANDLER( nemesis_gfx_flipx_word_w );
52
 
WRITE16_HANDLER( nemesis_gfx_flipy_word_w );
53
 
WRITE16_HANDLER( salamand_control_port_word_w );
54
 
WRITE16_HANDLER( salamander_palette_word_w );
55
 
WRITE16_HANDLER( nemesis_palette_word_w );
56
 
 
57
 
WRITE16_HANDLER( nemesis_videoram1_word_w );
58
 
WRITE16_HANDLER( nemesis_videoram2_word_w );
59
 
WRITE16_HANDLER( nemesis_colorram1_word_w );
60
 
WRITE16_HANDLER( nemesis_colorram2_word_w );
61
 
WRITE16_HANDLER( nemesis_charram_word_w );
62
 
 
63
 
VIDEO_START( nemesis );
64
 
SCREEN_UPDATE( nemesis );