diff options
Diffstat (limited to 'src/devices/bus/hp_dio/human_interface.cpp')
-rw-r--r-- | src/devices/bus/hp_dio/human_interface.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/hp_dio/human_interface.cpp b/src/devices/bus/hp_dio/human_interface.cpp index 9c58672e11d..d7cfad37d50 100644 --- a/src/devices/bus/hp_dio/human_interface.cpp +++ b/src/devices/bus/hp_dio/human_interface.cpp @@ -114,11 +114,11 @@ human_interface_device::human_interface_device(const machine_config &mconfig, de void human_interface_device::device_start() { - program_space()->install_readwrite_handler(0x420000, 0x420003, 0x0003, 0xfffc, 0, + program_space().install_readwrite_handler(0x420000, 0x420003, 0x0003, 0xfffc, 0, read8_delegate(FUNC(upi41_cpu_device::upi41_master_r), &(*m_iocpu)), write8_delegate(FUNC(upi41_cpu_device::upi41_master_w), &(*m_iocpu)), 0x00ff00ff); - program_space()->install_readwrite_handler(0x470000, 0x47001f, 0x1f, 0xffe0, 0, + program_space().install_readwrite_handler(0x470000, 0x47001f, 0x1f, 0xffe0, 0, read8_delegate(FUNC(human_interface_device::gpib_r), this), write8_delegate(FUNC(human_interface_device::gpib_w), this), 0x00ff00ff); @@ -194,7 +194,7 @@ WRITE8_MEMBER(human_interface_device::ieee488_dio_w) WRITE8_MEMBER(human_interface_device::gpib_w) { if (offset & 0x08) { - m_tms9914->reg8_w(space, offset & 0x07, data); + m_tms9914->write(offset & 0x07, data); return; } @@ -234,7 +234,7 @@ READ8_MEMBER(human_interface_device::gpib_r) uint8_t data = 0xff; if (offset & 0x8) { - data = m_tms9914->reg8_r(space, offset & 0x07); + data = m_tms9914->read(offset & 0x07); return data; } @@ -360,14 +360,14 @@ void human_interface_device::dmack_w_in(int channel, uint8_t data) { if (channel) return; - m_tms9914->reg8_w(*program_space(), 7, data); + m_tms9914->write(7, data); } uint8_t human_interface_device::dmack_r_in(int channel) { if (channel || !m_gpib_dma_enable) return 0xff; - return m_tms9914->reg8_r(machine().dummy_space(), 7); + return m_tms9914->read(7); } } // namespace bus::hp_dio |