summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hp_dio/human_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/hp_dio/human_interface.h')
-rw-r--r--src/devices/bus/hp_dio/human_interface.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/devices/bus/hp_dio/human_interface.h b/src/devices/bus/hp_dio/human_interface.h
index 26f3548b731..0f6f3d04106 100644
--- a/src/devices/bus/hp_dio/human_interface.h
+++ b/src/devices/bus/hp_dio/human_interface.h
@@ -14,8 +14,9 @@
#include "bus/hp_hil/hp_hil.h"
#include "bus/hp_hil/hil_devices.h"
#include "bus/ieee488/ieee488.h"
-namespace bus {
- namespace hp_dio {
+
+namespace bus::hp_dio {
+
class human_interface_device :
public device_t,
public device_dio16_card_interface
@@ -45,16 +46,16 @@ private:
void gpib_w(offs_t offset, uint8_t data);
void ieee488_dio_w(uint8_t data);
- DECLARE_WRITE_LINE_MEMBER(gpib_irq);
- DECLARE_WRITE_LINE_MEMBER(gpib_dreq);
+ void gpib_irq(int state);
+ void gpib_dreq(int state);
/* RTC */
- DECLARE_WRITE_LINE_MEMBER(rtc_d0_w);
- DECLARE_WRITE_LINE_MEMBER(rtc_d1_w);
- DECLARE_WRITE_LINE_MEMBER(rtc_d2_w);
- DECLARE_WRITE_LINE_MEMBER(rtc_d3_w);
+ void rtc_d0_w(int state);
+ void rtc_d1_w(int state);
+ void rtc_d2_w(int state);
+ void rtc_d3_w(int state);
- DECLARE_WRITE_LINE_MEMBER(reset_in) override;
+ void reset_in(int state) override;
void dmack_w_in(int channel, uint8_t data) override;
uint8_t dmack_r_in(int channel) override;
@@ -96,7 +97,7 @@ private:
uint8_t m_ppoll_mask;
};
-} } // namespace bus::hp_dio
+} // namespace bus::hp_dio
// device type definition
DECLARE_DEVICE_TYPE_NS(HPDIO_HUMAN_INTERFACE, bus::hp_dio, human_interface_device)