summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2022-06-20 17:02:12 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2022-06-20 17:02:12 +0200
commite6477ba68c37a17c8b5203c11c9afbaf42321e1a (patch)
treefea7c3dc3a0c9e99d5856c2b49234d405b2c421b /src/mame/includes
parent11d060473bf885f1303eef0bf34dcf37bfccaaa5 (diff)
New working software list additions
----------------------------------- a2600.xml: Asteroids (PAL, rev. 06) [Guru] Clones promoted to working ---------------------------- Super Treasure Island (Italy, v1.6) [Ivan Vangelista] - tankbust.cpp: used finders, logmacro and other small cleanups
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/tankbust.h83
1 files changed, 0 insertions, 83 deletions
diff --git a/src/mame/includes/tankbust.h b/src/mame/includes/tankbust.h
deleted file mode 100644
index d78b3305f31..00000000000
--- a/src/mame/includes/tankbust.h
+++ /dev/null
@@ -1,83 +0,0 @@
-// license:GPL-2.0+
-// copyright-holders:Jarek Burczynski
-#ifndef MAME_INCLUDES_TANKBUST_H
-#define MAME_INCLUDES_TANKBUST_H
-
-#pragma once
-
-#include "emupal.h"
-#include "tilemap.h"
-
-class tankbust_state : public driver_device
-{
-public:
- tankbust_state(const machine_config &mconfig, device_type type, const char *tag) :
- driver_device(mconfig, type, tag),
- m_maincpu(*this, "maincpu"),
- m_subcpu(*this, "sub"),
- m_gfxdecode(*this, "gfxdecode"),
- m_palette(*this, "palette"),
- m_txtram(*this, "txtram"),
- m_videoram(*this, "videoram"),
- m_colorram(*this, "colorram"),
- m_spriteram(*this, "spriteram")
- { }
-
- void tankbust(machine_config &config);
-
-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_subcpu;
- required_device<gfxdecode_device> m_gfxdecode;
- required_device<palette_device> m_palette;
-
- required_shared_ptr<uint8_t> m_txtram;
- required_shared_ptr<uint8_t> m_videoram;
- required_shared_ptr<uint8_t> m_colorram;
- required_shared_ptr<uint8_t> m_spriteram;
-
- int m_latch = 0;
- uint32_t m_timer1 = 0;
- int m_e0xx_data[8];
- uint8_t m_variable_data = 0;
- tilemap_t *m_bg_tilemap = nullptr;
- tilemap_t *m_txt_tilemap = nullptr;
- uint8_t m_xscroll[2];
- uint8_t m_yscroll[2];
- uint8_t m_irq_mask = 0;
-
- void soundlatch_w(uint8_t data);
- void e0xx_w(offs_t offset, uint8_t data);
- uint8_t debug_output_area_r(offs_t offset);
- uint8_t some_changing_input();
- void background_videoram_w(offs_t offset, uint8_t data);
- void background_colorram_w(offs_t offset, uint8_t data);
- void txtram_w(offs_t offset, uint8_t data);
- void xscroll_w(offs_t offset, uint8_t data);
- void yscroll_w(offs_t offset, uint8_t data);
- uint8_t soundlatch_r();
- uint8_t soundtimer_r();
-
- TILE_GET_INFO_MEMBER(get_bg_tile_info);
- TILE_GET_INFO_MEMBER(get_txt_tile_info);
-
- void tankbust_palette(palette_device &palette) const;
-
- uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
-
- INTERRUPT_GEN_MEMBER(vblank_irq);
- TIMER_CALLBACK_MEMBER(soundlatch_callback);
- TIMER_CALLBACK_MEMBER(soundirqline_callback);
-
- void main_map(address_map &map);
- void map_cpu2(address_map &map);
- void port_map_cpu2(address_map &map);
-};
-
-#endif // MAME_INCLUDES_TANKBUST_H