summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/adamnet/kb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/adamnet/kb.h')
-rw-r--r--src/devices/bus/adamnet/kb.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/devices/bus/adamnet/kb.h b/src/devices/bus/adamnet/kb.h
index a112e2dc9b6..b3d913c54c8 100644
--- a/src/devices/bus/adamnet/kb.h
+++ b/src/devices/bus/adamnet/kb.h
@@ -29,17 +29,6 @@ public:
// construction/destruction
adam_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- // not really public
- DECLARE_READ8_MEMBER( p1_r );
- DECLARE_READ8_MEMBER( p2_r );
- DECLARE_WRITE8_MEMBER( p2_w );
- DECLARE_READ8_MEMBER( p3_r );
- DECLARE_WRITE8_MEMBER( p3_w );
- DECLARE_READ8_MEMBER( p4_r );
- DECLARE_WRITE8_MEMBER( p4_w );
-
- void adam_kb_io(address_map &map);
- void adam_kb_mem(address_map &map);
protected:
// device-level overrides
virtual void device_start() override;
@@ -52,10 +41,23 @@ protected:
// device_adamnet_card_interface overrides
virtual void adamnet_reset_w(int state) override;
+private:
required_device<cpu_device> m_maincpu;
required_ioport_array<13> m_y;
uint16_t m_key_y;
+
+ // not really public
+ DECLARE_READ8_MEMBER( p1_r );
+ DECLARE_READ8_MEMBER( p2_r );
+ DECLARE_WRITE8_MEMBER( p2_w );
+ DECLARE_READ8_MEMBER( p3_r );
+ DECLARE_WRITE8_MEMBER( p3_w );
+ DECLARE_READ8_MEMBER( p4_r );
+ DECLARE_WRITE8_MEMBER( p4_w );
+
+ void adam_kb_io(address_map &map);
+ void adam_kb_mem(address_map &map);
};