summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/suprridr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/suprridr.h')
-rw-r--r--src/mame/includes/suprridr.h85
1 files changed, 0 insertions, 85 deletions
diff --git a/src/mame/includes/suprridr.h b/src/mame/includes/suprridr.h
deleted file mode 100644
index 215c7a177c6..00000000000
--- a/src/mame/includes/suprridr.h
+++ /dev/null
@@ -1,85 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:Aaron Giles
-/*************************************************************************
-
- Venture Line Super Rider driver
-
-**************************************************************************/
-#ifndef MAME_INCLUDES_SUPRRIDR_H
-#define MAME_INCLUDES_SUPRRIDR_H
-
-#pragma once
-
-#include "machine/gen_latch.h"
-#include "emupal.h"
-#include "tilemap.h"
-
-class suprridr_state : public driver_device
-{
-public:
- suprridr_state(const machine_config &mconfig, device_type type, const char *tag) :
- driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_audiocpu(*this, "audiocpu"),
- m_soundlatch(*this, "soundlatch"),
- m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette"),
- m_fgram(*this, "fgram"),
- m_bgram(*this, "bgram"),
- m_spriteram(*this, "spriteram")
- { }
-
- void suprridr(machine_config &config);
-
- DECLARE_CUSTOM_INPUT_MEMBER(control_r);
-
-protected:
- virtual void machine_start() override;
- virtual void machine_reset() override;
- virtual void video_start() override;
-
-private:
- required_device<cpu_device> m_maincpu;
- required_device<cpu_device> m_audiocpu;
- required_device<generic_latch_8_device> m_soundlatch;
- required_device<gfxdecode_device> m_gfxdecode;
- required_device<palette_device> m_palette;
-
- required_shared_ptr<uint8_t> m_fgram;
- required_shared_ptr<uint8_t> m_bgram;
- required_shared_ptr<uint8_t> m_spriteram;
-
- uint8_t m_nmi_enable;
- tilemap_t *m_fg_tilemap;
- tilemap_t *m_bg_tilemap;
- tilemap_t *m_bg_tilemap_noscroll;
- uint8_t m_flipx;
- uint8_t m_flipy;
-
- DECLARE_WRITE8_MEMBER(nmi_enable_w);
- DECLARE_WRITE8_MEMBER(coin_lock_w);
- DECLARE_WRITE8_MEMBER(flipx_w);
- DECLARE_WRITE8_MEMBER(flipy_w);
- DECLARE_WRITE8_MEMBER(fgdisable_w);
- DECLARE_WRITE8_MEMBER(fgscrolly_w);
- DECLARE_WRITE8_MEMBER(bgscrolly_w);
- DECLARE_WRITE8_MEMBER(bgram_w);
- DECLARE_WRITE8_MEMBER(fgram_w);
-
- TILE_GET_INFO_MEMBER(get_tile_info);
- TILE_GET_INFO_MEMBER(get_tile_info2);
-
- INTERRUPT_GEN_MEMBER(main_nmi_gen);
-
- void suprridr_palette(palette_device &palette) const;
-
- uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- int is_screen_flipped();
-
- void main_map(address_map &map);
- void main_portmap(address_map &map);
- void sound_map(address_map &map);
- void sound_portmap(address_map &map);
-};
-
-#endif // MAME_INCLUDES_SUPRRIDR_H