summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/apple3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/apple3.cpp')
-rw-r--r--src/mame/drivers/apple3.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/apple3.cpp b/src/mame/drivers/apple3.cpp
index d7931e7e535..6b04985680f 100644
--- a/src/mame/drivers/apple3.cpp
+++ b/src/mame/drivers/apple3.cpp
@@ -121,11 +121,11 @@ MACHINE_CONFIG_START(apple3_state::apple3)
m_acia->rts_handler().set("rs232", FUNC(rs232_port_device::write_rts));
m_acia->dtr_handler().set("rs232", FUNC(rs232_port_device::write_dtr));
- MCFG_DEVICE_ADD("rs232", RS232_PORT, default_rs232_devices, nullptr)
- MCFG_RS232_RXD_HANDLER(WRITELINE("acia", mos6551_device, write_rxd))
- MCFG_RS232_DCD_HANDLER(WRITELINE("acia", mos6551_device, write_dcd))
- MCFG_RS232_DSR_HANDLER(WRITELINE("acia", mos6551_device, write_dsr))
- // TODO: remove cts kludge from machine/apple3.c and come up with a good way of coping with pull up resistors.
+ rs232_port_device &rs232(RS232_PORT(config, "rs232", default_rs232_devices, nullptr));
+ rs232.rxd_handler().set(m_acia, FUNC(mos6551_device::write_rxd));
+ rs232.dcd_handler().set(m_acia, FUNC(mos6551_device::write_dcd));
+ rs232.dsr_handler().set(m_acia, FUNC(mos6551_device::write_dsr));
+ // TODO: remove cts kludge from machine/apple3.cpp and come up with a good way of coping with pull up resistors.
/* paddle */
MCFG_TIMER_DRIVER_ADD("pdltimer", apple3_state, paddle_timer);