summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/dmv/k230.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/dmv/k230.h')
-rw-r--r--src/devices/bus/dmv/k230.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/devices/bus/dmv/k230.h b/src/devices/bus/dmv/k230.h
index 01c76d8a63b..0e7bd6b19f5 100644
--- a/src/devices/bus/dmv/k230.h
+++ b/src/devices/bus/dmv/k230.h
@@ -30,16 +30,6 @@ public:
// construction/destruction
dmv_k230_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- DECLARE_READ8_MEMBER(io_r);
- DECLARE_READ8_MEMBER(program_r);
- DECLARE_WRITE8_MEMBER(io_w);
- DECLARE_WRITE8_MEMBER(program_w);
- DECLARE_READ8_MEMBER(rom_r);
-
- void k230_io(address_map &map);
- void k230_mem(address_map &map);
- void k234_mem(address_map &map);
- void k235_io(address_map &map);
protected:
dmv_k230_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
@@ -56,13 +46,24 @@ protected:
virtual void switch16_w(int state) override;
virtual bool av16bit() override;
-protected:
+ void k230_io(address_map &map);
+ void k230_mem(address_map &map);
+ void k234_mem(address_map &map);
+ void k235_io(address_map &map);
+
required_device<cpu_device> m_maincpu;
optional_memory_region m_rom;
dmvcart_slot_device * m_bus;
address_space * m_io;
int m_switch16;
int m_hold;
+
+private:
+ DECLARE_READ8_MEMBER(io_r);
+ DECLARE_READ8_MEMBER(program_r);
+ DECLARE_WRITE8_MEMBER(io_w);
+ DECLARE_WRITE8_MEMBER(program_w);
+ DECLARE_READ8_MEMBER(rom_r);
};
@@ -89,9 +90,6 @@ public:
// construction/destruction
dmv_k234_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- DECLARE_READ8_MEMBER(snr_r);
- DECLARE_WRITE8_MEMBER(snr_w);
-
protected:
// optional information overrides
virtual const tiny_rom_entry *device_rom_region() const override;
@@ -107,6 +105,9 @@ protected:
private:
int m_snr;
+
+ DECLARE_READ8_MEMBER(snr_r);
+ DECLARE_WRITE8_MEMBER(snr_w);
};