summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/m79152pc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/m79152pc.cpp')
-rw-r--r--src/mame/drivers/m79152pc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/m79152pc.cpp b/src/mame/drivers/m79152pc.cpp
index a4287e8e44a..d39720ed3b3 100644
--- a/src/mame/drivers/m79152pc.cpp
+++ b/src/mame/drivers/m79152pc.cpp
@@ -144,9 +144,9 @@ MACHINE_CONFIG_START(m79152pc_state::m79152pc)
MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_m79152pc)
MCFG_PALETTE_ADD_MONOCHROME("palette")
- MCFG_DEVICE_ADD("uart_clock", CLOCK, 153600)
- MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE("uart", z80sio_device, txca_w))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("uart", z80sio_device, rxca_w))
+ clock_device &uart_clock(CLOCK(config, "uart_clock", 153600));
+ uart_clock.signal_handler().set(m_uart, FUNC(z80sio_device::txca_w));
+ uart_clock.signal_handler().append(m_uart, FUNC(z80sio_device::rxca_w));
MCFG_DEVICE_ADD("ctc", Z80CTC, XTAL(4'000'000))
//MCFG_Z80CTC_INTR_CB(INPUTLINE("maincpu", INPUT_LINE_IRQ0))