diff options
Diffstat (limited to 'src/mame/drivers/hazeltin.cpp')
-rw-r--r-- | src/mame/drivers/hazeltin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/hazeltin.cpp b/src/mame/drivers/hazeltin.cpp index 2c2d726baab..3a9c9ba1495 100644 --- a/src/mame/drivers/hazeltin.cpp +++ b/src/mame/drivers/hazeltin.cpp @@ -716,9 +716,9 @@ MACHINE_CONFIG_START(hazl1500_state::hazl1500) MCFG_PALETTE_ADD_MONOCHROME("palette") MCFG_DEVICE_ADD("gfxdecode", GFXDECODE, "palette", gfx_hazl1500) - MCFG_DEVICE_ADD(BAUDGEN_TAG, COM8116, XTAL(5'068'800)) - MCFG_COM8116_FR_HANDLER(WRITELINE("uart", ay51013_device, write_tcp)) - MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("uart", ay51013_device, write_rcp)) + com8116_device &baudgen(COM8116(config, BAUDGEN_TAG, XTAL(5'068'800))); + baudgen.fr_handler().set(m_uart, FUNC(ay51013_device::write_tcp)); + baudgen.fr_handler().append(m_uart, FUNC(ay51013_device::write_rcp)); MCFG_DEVICE_ADD(UART_TAG, AY51013, 0) MCFG_AY51013_WRITE_DAV_CB(WRITELINE("mainint", input_merger_device, in_w<0>)) |