diff options
Diffstat (limited to 'src/mame/drivers/sapi1.cpp')
-rw-r--r-- | src/mame/drivers/sapi1.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/sapi1.cpp b/src/mame/drivers/sapi1.cpp index f72c6ea7d3e..374d886c06b 100644 --- a/src/mame/drivers/sapi1.cpp +++ b/src/mame/drivers/sapi1.cpp @@ -699,12 +699,12 @@ MACHINE_CONFIG_START(sapi1_state::sapi3a) MCFG_MACHINE_RESET_OVERRIDE(sapi1_state, sapizps3 ) /* video hardware */ - MCFG_DEVICE_ADD("uart", AY51013, 0) // Tesla MHB1012 - MCFG_AY51013_TX_CLOCK(XTAL(12'288'000) / 80) // not actual rate? - MCFG_AY51013_RX_CLOCK(XTAL(12'288'000) / 80) // not actual rate? - MCFG_AY51013_READ_SI_CB(READLINE("v24", rs232_port_device, rxd_r)) - MCFG_AY51013_WRITE_SO_CB(WRITELINE("v24", rs232_port_device, write_txd)) - MCFG_AY51013_AUTO_RDAV(true) // RDAV not actually tied to RDE, but pulsed by K155AG3 (=74123N): R25=22k, C14=220 + AY51013(config, m_uart); // Tesla MHB1012 + m_uart->set_tx_clock(XTAL(12'288'000) / 80); // not actual rate? + m_uart->set_rx_clock(XTAL(12'288'000) / 80); // not actual rate? + m_uart->read_si_callback().set("v24", FUNC(rs232_port_device::rxd_r)); + m_uart->write_so_callback().set("v24", FUNC(rs232_port_device::write_txd)); + m_uart->set_auto_rdav(true); // RDAV not actually tied to RDE, but pulsed by K155AG3 (=74123N): R25=22k, C14=220 MCFG_DEVICE_ADD("v24", RS232_PORT, default_rs232_devices, "terminal") MCFG_SLOT_OPTION_DEVICE_INPUT_DEFAULTS("terminal", terminal) |