diff options
author | 2018-09-04 22:05:25 +0200 | |
---|---|---|
committer | 2018-09-04 22:08:26 +0200 | |
commit | c5f8c29d1c72fcc49771abe360dd73c8eb404917 (patch) | |
tree | 43892cb84293ef81c75ea62970364f081deb2221 /src/devices/bus/pofo/hpc102.cpp | |
parent | 4cb48c238df9da2abbcac6ef15d9548cf48d8194 (diff) |
-in8250: De-MCFG, nw
Diffstat (limited to 'src/devices/bus/pofo/hpc102.cpp')
-rw-r--r-- | src/devices/bus/pofo/hpc102.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/bus/pofo/hpc102.cpp b/src/devices/bus/pofo/hpc102.cpp index 0ad264a9051..f473b0c7d78 100644 --- a/src/devices/bus/pofo/hpc102.cpp +++ b/src/devices/bus/pofo/hpc102.cpp @@ -34,18 +34,18 @@ DEFINE_DEVICE_TYPE(POFO_HPC102, pofo_hpc102_device, "pofo_hpc102", "Atari Portfo //------------------------------------------------- MACHINE_CONFIG_START(pofo_hpc102_device::device_add_mconfig) - MCFG_DEVICE_ADD(M82C50A_TAG, INS8250, XTAL(1'843'200)) // should be INS8250A - MCFG_INS8250_OUT_TX_CB(WRITELINE(RS232_TAG, rs232_port_device, write_txd)) - MCFG_INS8250_OUT_DTR_CB(WRITELINE(RS232_TAG, rs232_port_device, write_dtr)) - MCFG_INS8250_OUT_RTS_CB(WRITELINE(RS232_TAG, rs232_port_device, write_rts)) - MCFG_INS8250_OUT_INT_CB(WRITELINE(*this, device_portfolio_expansion_slot_interface, eint_w)) + INS8250(config, m_uart, XTAL(1'843'200)); // should be INS8250A + m_uart->out_tx_callback().set(RS232_TAG, FUNC(rs232_port_device::write_txd)); + m_uart->out_dtr_callback().set(RS232_TAG, FUNC(rs232_port_device::write_dtr)); + m_uart->out_rts_callback().set(RS232_TAG, FUNC(rs232_port_device::write_rts)); + m_uart->out_int_callback().set(FUNC(device_portfolio_expansion_slot_interface::eint_w)); MCFG_DEVICE_ADD(RS232_TAG, RS232_PORT, default_rs232_devices, nullptr) - MCFG_RS232_RXD_HANDLER(WRITELINE(M82C50A_TAG, ins8250_uart_device, rx_w)) - MCFG_RS232_DCD_HANDLER(WRITELINE(M82C50A_TAG, ins8250_uart_device, dcd_w)) - MCFG_RS232_DSR_HANDLER(WRITELINE(M82C50A_TAG, ins8250_uart_device, dsr_w)) - MCFG_RS232_RI_HANDLER(WRITELINE(M82C50A_TAG, ins8250_uart_device, ri_w)) - MCFG_RS232_CTS_HANDLER(WRITELINE(M82C50A_TAG, ins8250_uart_device, cts_w)) + MCFG_RS232_RXD_HANDLER(WRITELINE(m_uart, ins8250_uart_device, rx_w)) + MCFG_RS232_DCD_HANDLER(WRITELINE(m_uart, ins8250_uart_device, dcd_w)) + MCFG_RS232_DSR_HANDLER(WRITELINE(m_uart, ins8250_uart_device, dsr_w)) + MCFG_RS232_RI_HANDLER(WRITELINE(m_uart, ins8250_uart_device, ri_w)) + MCFG_RS232_CTS_HANDLER(WRITELINE(m_uart, ins8250_uart_device, cts_w)) MACHINE_CONFIG_END |