diff options
Diffstat (limited to 'src/mame/includes/sauro.h')
-rw-r--r-- | src/mame/includes/sauro.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/mame/includes/sauro.h b/src/mame/includes/sauro.h index 7c4457d8561..54dc91214ec 100644 --- a/src/mame/includes/sauro.h +++ b/src/mame/includes/sauro.h @@ -4,7 +4,6 @@ #include "machine/gen_latch.h" #include "sound/sp0256.h" - class sauro_state : public driver_device { public: @@ -37,10 +36,16 @@ public: tilemap_t *m_fg_tilemap; uint8_t m_palette_bank; + bool m_irq_enable; + + virtual void machine_start() override; + // common - DECLARE_WRITE8_MEMBER(coin1_w); - DECLARE_WRITE8_MEMBER(coin2_w); - DECLARE_WRITE8_MEMBER(flip_screen_w); + DECLARE_WRITE_LINE_MEMBER(vblank_irq); + DECLARE_WRITE_LINE_MEMBER(irq_reset_w); + DECLARE_WRITE_LINE_MEMBER(coin1_w); + DECLARE_WRITE_LINE_MEMBER(coin2_w); + DECLARE_WRITE_LINE_MEMBER(flip_screen_w); DECLARE_WRITE8_MEMBER(videoram_w); DECLARE_WRITE8_MEMBER(colorram_w); DECLARE_WRITE8_MEMBER(scroll_bg_w); @@ -48,7 +53,8 @@ public: // sauro specific DECLARE_WRITE8_MEMBER(sauro_sound_command_w); DECLARE_READ8_MEMBER(sauro_sound_command_r); - DECLARE_WRITE8_MEMBER(sauro_palette_bank_w); + DECLARE_WRITE_LINE_MEMBER(sauro_palette_bank0_w); + DECLARE_WRITE_LINE_MEMBER(sauro_palette_bank1_w); DECLARE_WRITE8_MEMBER(sauro_scroll_fg_w); DECLARE_WRITE8_MEMBER(sauro_videoram2_w); DECLARE_WRITE8_MEMBER(sauro_colorram2_w); |