summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/kc
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2018-02-14 19:11:44 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2018-02-14 19:11:44 +0100
commit80c9f0496fd38a1ff2afba40ee4a4e7d200ac3a0 (patch)
tree1094735d3e22bab0c39b0cab5db685d5c57d340a /src/devices/bus/kc
parentbb468cf238e867abd40579ae63f878d4bded9791 (diff)
devices/bus: made some methods private now that it's possible (nw)
Diffstat (limited to 'src/devices/bus/kc')
-rw-r--r--src/devices/bus/kc/d004.h22
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