summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/unichamp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/unichamp.cpp')
-rw-r--r--src/mame/drivers/unichamp.cpp19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/mame/drivers/unichamp.cpp b/src/mame/drivers/unichamp.cpp
index ad634ee6a0f..7790766c6b1 100644
--- a/src/mame/drivers/unichamp.cpp
+++ b/src/mame/drivers/unichamp.cpp
@@ -34,6 +34,9 @@
* This first CPU slice only last 3ms, then the GIC sets the CPU's BUSRQ low,
* stalling it for 12.36ms, then sets it high for 4.33ms etc...
* 59.95 times a second - NTSC
+ *
+ * TODO: Should we add an explicit Reset button like the controller has?
+ *
************************************************************************/
#include "emu.h"
@@ -63,13 +66,9 @@ public:
void unichamp(machine_config &config);
- void init_unichamp();
-
protected:
virtual void machine_start() override;
- virtual void device_timer(emu_timer &timer, device_timer_id id, int param) override;
-
private:
required_device<cp1610_cpu_device> m_maincpu;
required_device<gic_device> m_gic;
@@ -138,12 +137,6 @@ static INPUT_PORTS_START( unichamp )
INPUT_PORTS_END
-void unichamp_state::device_timer(emu_timer &timer, device_timer_id id, int param)
-{
- //TODO should we add an explicit Reset button in there just like the controller?
-}
-
-
uint8_t unichamp_state::bext_r(offs_t offset)
{
//The BEXT instruction pushes a user-defined nibble out on the four EBCA pins (EBCA0 to EBCA3)
@@ -165,10 +158,6 @@ uint8_t unichamp_state::bext_r(offs_t offset)
}
-void unichamp_state::init_unichamp()
-{
-}
-
uint16_t unichamp_state::read_ff()
{
return 0xffff;
@@ -290,4 +279,4 @@ ROM_START(unichamp)
ROM_END
-CONS( 1977, unichamp, 0, 0, unichamp, unichamp, unichamp_state, init_unichamp, "Unisonic", "Champion 2711", 0/*MACHINE_IMPERFECT_GRAPHICS*/ )
+CONS( 1977, unichamp, 0, 0, unichamp, unichamp, unichamp_state, empty_init, "Unisonic", "Champion 2711", 0/*MACHINE_IMPERFECT_GRAPHICS*/ )