summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hp9845_io/98046.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/hp9845_io/98046.cpp')
-rw-r--r--src/devices/bus/hp9845_io/98046.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/devices/bus/hp9845_io/98046.cpp b/src/devices/bus/hp9845_io/98046.cpp
index 6a45a83e3df..16222939e8a 100644
--- a/src/devices/bus/hp9845_io/98046.cpp
+++ b/src/devices/bus/hp9845_io/98046.cpp
@@ -65,11 +65,12 @@ enum {
DEFINE_DEVICE_TYPE(HP98046_IO_CARD, hp98046_io_card_device , "hp98046" , "HP98046 card")
hp98046_io_card_device::hp98046_io_card_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : hp9845_io_card_device(mconfig , HP98046_IO_CARD , tag , owner , clock)
- , m_cpu(*this , "cpu")
- , m_sio(*this , "sio")
- , m_rs232(*this , "rs232")
- , m_loopback_en(*this , "loop")
+ : device_t(mconfig, HP98046_IO_CARD, tag, owner, clock)
+ , device_hp9845_io_interface(mconfig, *this)
+ , m_cpu(*this, "cpu")
+ , m_sio(*this, "sio")
+ , m_rs232(*this, "rs232")
+ , m_loopback_en(*this, "loop")
{
}
@@ -194,7 +195,7 @@ void hp98046_io_card_device::device_add_mconfig(machine_config &config)
m_rs232->dcd_handler().set(FUNC(hp98046_io_card_device::rs232_dcd_w));
m_rs232->dsr_handler().set(FUNC(hp98046_io_card_device::rs232_dsr_w));
m_rs232->cts_handler().set(FUNC(hp98046_io_card_device::rs232_cts_w));
- config.m_minimum_quantum = attotime::from_hz(5000);
+ config.set_maximum_quantum(attotime::from_hz(5000));
}
static INPUT_PORTS_START(hp98046_port)