1
class nemesis_state : public driver_device
4
nemesis_state(const machine_config &mconfig, device_type type, const char *tag)
5
: driver_device(mconfig, type, tag) { }
14
UINT16 * m_paletteram;
19
UINT8 * m_gx400_shared_ram;
21
size_t m_charram_size;
22
size_t m_spriteram_size;
25
tilemap_t *m_background;
26
tilemap_t *m_foreground;
27
int m_spriteram_words;
30
UINT8 m_irq_port_last;
31
UINT8 m_blank_tile[8*8];
38
UINT16 m_selected_ip; /* Copied from WEC Le Mans 24 driver, explicity needed for Hyper Crash */
40
UINT8 m_frame_counter;
43
cpu_device *m_maincpu;
44
cpu_device *m_audiocpu;
49
/*----------- defined in video/nemesis.c -----------*/
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 );
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 );
63
VIDEO_START( nemesis );
64
SCREEN_UPDATE( nemesis );