summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/blockade.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/blockade.h')
-rw-r--r--src/mame/includes/blockade.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/mame/includes/blockade.h b/src/mame/includes/blockade.h
deleted file mode 100644
index 356e9bbf098..00000000000
--- a/src/mame/includes/blockade.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:Frank Palazzolo
-#include "sound/discrete.h"
-#include "sound/samples.h"
-
-class blockade_state : public driver_device
-{
-public:
- blockade_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
- m_videoram(*this, "videoram"),
- m_discrete(*this, "discrete"),
- m_maincpu(*this, "maincpu"),
- m_samples(*this, "samples"),
- m_gfxdecode(*this, "gfxdecode"),
- m_screen(*this, "screen") { }
-
- required_shared_ptr<uint8_t> m_videoram;
- required_device<discrete_device> m_discrete;
- /* video-related */
- tilemap_t *m_bg_tilemap;
-
- /* input-related */
- uint8_t m_coin_latch; /* Active Low */
- uint8_t m_just_been_reset;
- DECLARE_READ8_MEMBER(blockade_input_port_0_r);
- DECLARE_WRITE8_MEMBER(blockade_coin_latch_w);
- DECLARE_WRITE8_MEMBER(blockade_videoram_w);
- DECLARE_WRITE8_MEMBER(blockade_env_on_w);
- DECLARE_WRITE8_MEMBER(blockade_env_off_w);
- TILE_GET_INFO_MEMBER(get_bg_tile_info);
- virtual void machine_start() override;
- virtual void machine_reset() override;
- virtual void video_start() override;
- uint32_t screen_update_blockade(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- INTERRUPT_GEN_MEMBER(blockade_interrupt);
- DECLARE_WRITE8_MEMBER(blockade_sound_freq_w);
- required_device<cpu_device> m_maincpu;
- required_device<samples_device> m_samples;
- required_device<gfxdecode_device> m_gfxdecode;
- required_device<screen_device> m_screen;
-};
-
-/*----------- defined in audio/blockade.c -----------*/
-
-extern const char *const blockade_sample_names[];
-DISCRETE_SOUND_EXTERN( blockade );