summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pm68k.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pm68k.cpp')
-rw-r--r--src/mame/drivers/pm68k.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/pm68k.cpp b/src/mame/drivers/pm68k.cpp
index 142b5829328..c8020e6c8d9 100644
--- a/src/mame/drivers/pm68k.cpp
+++ b/src/mame/drivers/pm68k.cpp
@@ -71,11 +71,11 @@ MACHINE_CONFIG_START(pm68k_state::pm68k)
MCFG_Z80SIO_OUT_DTRB_CB(WRITELINE("rs232b", rs232_port_device, write_dtr))
MCFG_Z80SIO_OUT_RTSB_CB(WRITELINE("rs232b", rs232_port_device, write_rts))
- MCFG_DEVICE_ADD("stc", AM9513, 4000000)
- MCFG_AM9513_OUT4_CALLBACK(WRITELINE("mpsc", i8274_new_device, rxca_w))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("mpsc", i8274_new_device, txca_w))
- MCFG_AM9513_OUT5_CALLBACK(WRITELINE("mpsc", i8274_new_device, rxcb_w))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("mpsc", i8274_new_device, txcb_w))
+ am9513_device &stc(AM9513(config, "stc", 4000000));
+ stc.out4_cb().set("mpsc", FUNC(i8274_new_device::rxca_w));
+ stc.out4_cb().append("mpsc", FUNC(i8274_new_device::txca_w));
+ stc.out5_cb().set("mpsc", FUNC(i8274_new_device::rxcb_w));
+ stc.out5_cb().append("mpsc", FUNC(i8274_new_device::txcb_w));
MCFG_DEVICE_ADD("rs232a", RS232_PORT, default_rs232_devices, "terminal")
MCFG_RS232_RXD_HANDLER(WRITELINE("mpsc", i8274_new_device, rxa_w))