summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hyprduel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/hyprduel.cpp')
-rw-r--r--src/mame/drivers/hyprduel.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/mame/drivers/hyprduel.cpp b/src/mame/drivers/hyprduel.cpp
index bf1d731d909..0328543d788 100644
--- a/src/mame/drivers/hyprduel.cpp
+++ b/src/mame/drivers/hyprduel.cpp
@@ -65,6 +65,13 @@ public:
, m_vdp(*this, "vdp")
{ }
+ void magerror(machine_config &config);
+ void hyprduel(machine_config &config);
+
+ void init_magerror();
+ void init_hyprduel();
+
+private:
DECLARE_READ16_MEMBER(irq_cause_r);
DECLARE_WRITE16_MEMBER(irq_cause_w);
DECLARE_WRITE16_MEMBER(subcpu_control_w);
@@ -72,25 +79,21 @@ public:
DECLARE_WRITE16_MEMBER(hyprduel_cpusync_trigger1_w);
DECLARE_READ16_MEMBER(hyprduel_cpusync_trigger2_r);
DECLARE_WRITE16_MEMBER(hyprduel_cpusync_trigger2_w);
- void init_magerror();
- void init_hyprduel();
DECLARE_MACHINE_START(hyprduel);
DECLARE_MACHINE_START(magerror);
TIMER_CALLBACK_MEMBER(vblank_end_callback);
DECLARE_WRITE_LINE_MEMBER(vdp_blit_end_w);
TIMER_DEVICE_CALLBACK_MEMBER(interrupt);
- void magerror(machine_config &config);
- void hyprduel(machine_config &config);
void i4220_config(machine_config &config);
+
void hyprduel_map(address_map &map);
void hyprduel_map2(address_map &map);
void magerror_map(address_map &map);
void magerror_map2(address_map &map);
-protected:
+
virtual void machine_reset() override;
-private:
/* memory pointers */
required_shared_ptr<uint16_t> m_irq_enable;
required_shared_ptr_array<uint16_t, 3> m_sharedram;