diff options
author | mooglyguy <therealmogminer@gmail.com> | 2018-09-04 22:05:25 +0200 |
---|---|---|
committer | mooglyguy <therealmogminer@gmail.com> | 2018-09-04 22:08:26 +0200 |
commit | c5f8c29d1c72fcc49771abe360dd73c8eb404917 (patch) | |
tree | 43892cb84293ef81c75ea62970364f081deb2221 /src/mame/drivers/meritm.cpp | |
parent | 4cb48c238df9da2abbcac6ef15d9548cf48d8194 (diff) |
-in8250: De-MCFG, nw
Diffstat (limited to 'src/mame/drivers/meritm.cpp')
-rw-r--r-- | src/mame/drivers/meritm.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mame/drivers/meritm.cpp b/src/mame/drivers/meritm.cpp index d483aa7dbc6..e0698e81570 100644 --- a/src/mame/drivers/meritm.cpp +++ b/src/mame/drivers/meritm.cpp @@ -1165,8 +1165,9 @@ MACHINE_CONFIG_START(meritm_state::crt250_crt252_crt258) MCFG_MACHINE_START_OVERRIDE(meritm_state, crt250_crt252_crt258) - MCFG_DEVICE_ADD(m_uart, NS16550, UART_CLK) - MCFG_INS8250_OUT_TX_CB(WRITELINE(m_microtouch, microtouch_device, rx)) + NS16550(config, m_uart, UART_CLK); + m_uart->out_tx_callback().set(m_microtouch, FUNC(microtouch_device::rx)); + MCFG_MICROTOUCH_ADD(m_microtouch, 9600, WRITELINE(m_uart, ins8250_uart_device, rx_w)) MCFG_MICROTOUCH_TOUCH_CB(meritm_state, touch_coord_transform) MACHINE_CONFIG_END @@ -1183,8 +1184,9 @@ MACHINE_CONFIG_START(meritm_state::crt260) MCFG_WATCHDOG_TIME_INIT(attotime::from_msec(1200)) // DS1232, TD connected to VCC MCFG_MACHINE_START_OVERRIDE(meritm_state, crt260) - MCFG_DEVICE_ADD(m_uart, NS16550, UART_CLK) - MCFG_INS8250_OUT_TX_CB(WRITELINE(m_microtouch, microtouch_device, rx)) + NS16550(config, m_uart, UART_CLK); + m_uart->out_tx_callback().set(m_microtouch, FUNC(microtouch_device::rx)); + MCFG_MICROTOUCH_ADD(m_microtouch, 9600, WRITELINE(m_uart, ins8250_uart_device, rx_w)) MCFG_MICROTOUCH_TOUCH_CB(meritm_state, touch_coord_transform) MACHINE_CONFIG_END |