summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mpu401.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mpu401.h')
-rw-r--r--src/devices/machine/mpu401.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/devices/machine/mpu401.h b/src/devices/machine/mpu401.h
index b570c2928bc..1dd5d55243c 100644
--- a/src/devices/machine/mpu401.h
+++ b/src/devices/machine/mpu401.h
@@ -29,21 +29,10 @@ public:
return write_irq.set_callback(std::forward<Write>(wr));
}
- DECLARE_READ8_MEMBER(regs_mode2_r);
- DECLARE_WRITE8_MEMBER(regs_mode2_w);
- DECLARE_READ8_MEMBER(asic_r);
- DECLARE_WRITE8_MEMBER(asic_w);
- DECLARE_READ8_MEMBER(port1_r);
- DECLARE_WRITE8_MEMBER(port1_w);
- DECLARE_READ8_MEMBER(port2_r);
- DECLARE_WRITE8_MEMBER(port2_w);
-
// public API - call for reads/writes at I/O 330/331 on PC, C0n0/C0n1 on Apple II, etc.
DECLARE_READ8_MEMBER(mpu_r);
DECLARE_WRITE8_MEMBER(mpu_w);
- void mpu401_io_map(address_map &map);
- void mpu401_map(address_map &map);
protected:
// device-level overrides
virtual void device_start() override;
@@ -55,6 +44,18 @@ protected:
private:
DECLARE_WRITE_LINE_MEMBER(midi_rx_w);
+ DECLARE_READ8_MEMBER(regs_mode2_r);
+ DECLARE_WRITE8_MEMBER(regs_mode2_w);
+ DECLARE_READ8_MEMBER(asic_r);
+ DECLARE_WRITE8_MEMBER(asic_w);
+ DECLARE_READ8_MEMBER(port1_r);
+ DECLARE_WRITE8_MEMBER(port1_w);
+ DECLARE_READ8_MEMBER(port2_r);
+ DECLARE_WRITE8_MEMBER(port2_w);
+
+ void mpu401_io_map(address_map &map);
+ void mpu401_map(address_map &map);
+
required_device<m6801_cpu_device> m_ourcpu;
devcb_write_line write_irq;