summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pc_kbd/pcat84.h
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2017-06-13 16:47:41 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2017-06-13 16:47:41 +0200
commit4afaaedddfcc8449d6e2a442fba17a77b1b23656 (patch)
tree140f0e02d885a0f484c857a3e7cb9324bfbfe70c /src/devices/bus/pc_kbd/pcat84.h
parentba478477978e35a1597523d51e61642b673ac864 (diff)
device_add_mconfig up to devices/bus/q* (nw)
Diffstat (limited to 'src/devices/bus/pc_kbd/pcat84.h')
-rw-r--r--src/devices/bus/pc_kbd/pcat84.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/bus/pc_kbd/pcat84.h b/src/devices/bus/pc_kbd/pcat84.h
index e15d5624af1..8c4baed317b 100644
--- a/src/devices/bus/pc_kbd/pcat84.h
+++ b/src/devices/bus/pc_kbd/pcat84.h
@@ -30,19 +30,6 @@ public:
// construction/destruction
ibm_pc_at_84_keyboard_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- // optional information overrides
- virtual const tiny_rom_entry *device_rom_region() const override;
- virtual machine_config_constructor device_mconfig_additions() const override;
- virtual ioport_constructor device_input_ports() const override;
-
- DECLARE_WRITE8_MEMBER( bus_w );
- DECLARE_READ8_MEMBER( p1_r );
- DECLARE_WRITE8_MEMBER( p1_w );
- DECLARE_READ8_MEMBER( p2_r );
- DECLARE_WRITE8_MEMBER( p2_w );
- DECLARE_READ_LINE_MEMBER( t0_r );
- DECLARE_READ_LINE_MEMBER( t1_r );
-
protected:
ibm_pc_at_84_keyboard_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
@@ -50,11 +37,24 @@ protected:
virtual void device_start() override;
virtual void device_reset() override;
+ // optional information overrides
+ virtual const tiny_rom_entry *device_rom_region() const override;
+ virtual void device_add_mconfig(machine_config &config) override;
+ virtual ioport_constructor device_input_ports() const override;
+
// device_pc_kbd_interface overrides
virtual DECLARE_WRITE_LINE_MEMBER( clock_write ) override { m_maincpu->set_input_line(MCS48_INPUT_IRQ, state); };
virtual DECLARE_WRITE_LINE_MEMBER( data_write ) override { };
private:
+ DECLARE_WRITE8_MEMBER( bus_w );
+ DECLARE_READ8_MEMBER( p1_r );
+ DECLARE_WRITE8_MEMBER( p1_w );
+ DECLARE_READ8_MEMBER( p2_r );
+ DECLARE_WRITE8_MEMBER( p2_w );
+ DECLARE_READ_LINE_MEMBER( t0_r );
+ DECLARE_READ_LINE_MEMBER( t1_r );
+
enum
{
LED_SCROLL,