diff options
Diffstat (limited to 'src/devices/bus/kc')
-rw-r--r-- | src/devices/bus/kc/d004.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/devices/bus/kc/d004.h b/src/devices/bus/kc/d004.h index 81810ce2bbb..e85d12c6aee 100644 --- a/src/devices/bus/kc/d004.h +++ b/src/devices/bus/kc/d004.h @@ -27,12 +27,6 @@ public: // construction/destruction kc_d004_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - DECLARE_READ8_MEMBER(hw_input_gate_r); - DECLARE_WRITE8_MEMBER(fdd_select_w); - DECLARE_WRITE8_MEMBER(hw_terminal_count_w); - - void kc_d004_io(address_map &map); - void kc_d004_mem(address_map &map); protected: kc_d004_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); @@ -52,11 +46,18 @@ protected: virtual void io_read(offs_t offset, uint8_t &data) override; virtual void io_write(offs_t offset, uint8_t data) override; + DECLARE_READ8_MEMBER(hw_input_gate_r); + DECLARE_WRITE8_MEMBER(fdd_select_w); + DECLARE_WRITE8_MEMBER(hw_terminal_count_w); + private: DECLARE_FLOPPY_FORMATS( floppy_formats ); DECLARE_WRITE_LINE_MEMBER( fdc_irq ); + void kc_d004_io(address_map &map); + void kc_d004_mem(address_map &map); + static const device_timer_id TIMER_RESET = 0; required_device<cpu_device> m_cpu; @@ -89,10 +90,6 @@ public: // construction/destruction kc_d004_gide_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - DECLARE_READ8_MEMBER(gide_r); - DECLARE_WRITE8_MEMBER(gide_w); - - void kc_d004_gide_io(address_map &map); protected: // device-level overrides virtual void device_reset() override; @@ -106,6 +103,11 @@ private: uint16_t m_ata_data; int m_lh; + + DECLARE_READ8_MEMBER(gide_r); + DECLARE_WRITE8_MEMBER(gide_w); + + void kc_d004_gide_io(address_map &map); }; // device type definition |