summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/mpf1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/mpf1.h')
-rw-r--r--src/mame/includes/mpf1.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/mame/includes/mpf1.h b/src/mame/includes/mpf1.h
index 419f43a0bb7..0ff3b9398ea 100644
--- a/src/mame/includes/mpf1.h
+++ b/src/mame/includes/mpf1.h
@@ -38,6 +38,17 @@ public:
m_leds(*this, "led%u", 0U)
{ }
+ void mpf1p(machine_config &config);
+ void mpf1b(machine_config &config);
+ void mpf1(machine_config &config);
+
+ void init_mpf1();
+
+ DECLARE_INPUT_CHANGED_MEMBER( trigger_nmi );
+ DECLARE_INPUT_CHANGED_MEMBER( trigger_irq );
+ DECLARE_INPUT_CHANGED_MEMBER( trigger_res );
+
+private:
required_device<cpu_device> m_maincpu;
required_device<z80ctc_device> m_ctc;
required_device<speaker_sound_device> m_speaker;
@@ -54,9 +65,6 @@ public:
DECLARE_READ8_MEMBER( ppi_pa_r );
DECLARE_WRITE8_MEMBER( ppi_pb_w );
DECLARE_WRITE8_MEMBER( ppi_pc_w );
- DECLARE_INPUT_CHANGED_MEMBER( trigger_nmi );
- DECLARE_INPUT_CHANGED_MEMBER( trigger_irq );
- DECLARE_INPUT_CHANGED_MEMBER( trigger_res );
int m_break;
int m_m1;
@@ -66,12 +74,8 @@ public:
emu_timer *m_led_refresh_timer;
address_space *m_program;
- void init_mpf1();
TIMER_CALLBACK_MEMBER(led_refresh);
TIMER_DEVICE_CALLBACK_MEMBER(check_halt_callback);
- void mpf1p(machine_config &config);
- void mpf1b(machine_config &config);
- void mpf1(machine_config &config);
void mpf1_io_map(address_map &map);
void mpf1_map(address_map &map);
void mpf1_step(address_map &map);