summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/v550.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/v550.cpp')
-rw-r--r--src/mame/drivers/v550.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/v550.cpp b/src/mame/drivers/v550.cpp
index 40a85747775..8c8fa969dd5 100644
--- a/src/mame/drivers/v550.cpp
+++ b/src/mame/drivers/v550.cpp
@@ -117,11 +117,11 @@ MACHINE_CONFIG_START(v550_state::v550)
MCFG_COM8116_FT_HANDLER(WRITELINE("mpsc", upd7201_new_device, txca_w))
MCFG_COM8116_FR_HANDLER(WRITELINE("mpsc", upd7201_new_device, rxca_w))
- MCFG_DEVICE_ADD("brg2", COM8116, 5068800) // actually SMC COM8116T-020
- MCFG_COM8116_FT_HANDLER(WRITELINE("mpsc", upd7201_new_device, txcb_w))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("mpsc", upd7201_new_device, rxcb_w))
- MCFG_COM8116_FR_HANDLER(WRITELINE("usart", i8251_device, write_txc))
- MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("usart", i8251_device, write_rxc))
+ com8116_device &brg2(COM8116(config, "brg2", 5068800)); // actually SMC COM8116T-020
+ brg2.ft_handler().set("mpsc", FUNC(upd7201_new_device::txcb_w));
+ brg2.ft_handler().append("mpsc", FUNC(upd7201_new_device::rxcb_w));
+ brg2.fr_handler().set("usart", FUNC(i8251_device::write_txc));
+ brg2.fr_handler().append("usart", FUNC(i8251_device::write_rxc));
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_RAW_PARAMS(16'248'600, 918, 0, 720, 295, 0, 272)