This commit is contained in:
Robbbert 2018-05-10 00:46:09 +10:00
parent 4720e8cc11
commit b3e05a1111

View File

@ -439,9 +439,9 @@ void sol20_state::sol20_io(address_map &map)
map.unmap_value_high();
map.global_mask(0xff);
map(0xf8, 0xf8).rw(this, FUNC(sol20_state::sol20_f8_r), FUNC(sol20_state::sol20_f8_w));
map(0xf9, 0xf9).rw(m_uart, FUNC(ay51013_device::receive), FUNC(ay51013_device::transmit));
map(0xf9, 0xf9).rw(m_uart_s, FUNC(ay51013_device::receive), FUNC(ay51013_device::transmit));
map(0xfa, 0xfa).rw(this, FUNC(sol20_state::sol20_fa_r), FUNC(sol20_state::sol20_fa_w));
map(0xfb, 0xfb).rw(m_uart_s, FUNC(ay51013_device::receive), FUNC(ay51013_device::transmit));
map(0xfb, 0xfb).rw(m_uart, FUNC(ay51013_device::receive), FUNC(ay51013_device::transmit));
map(0xfc, 0xfc).r(this, FUNC(sol20_state::sol20_fc_r));
map(0xfd, 0xfd).rw(this, FUNC(sol20_state::sol20_fd_r), FUNC(sol20_state::sol20_fd_w));
map(0xfe, 0xfe).w(this, FUNC(sol20_state::sol20_fe_w));
@ -752,8 +752,6 @@ MACHINE_CONFIG_START(sol20_state::sol20)
MCFG_CASSETTE_INTERFACE("sol20_cass")
MCFG_DEVICE_ADD("uart", AY51013, 0) // TMS6011NC
MCFG_AY51013_READ_SI_CB(READLINE("rs232", rs232_port_device, rxd_r))
MCFG_AY51013_WRITE_SO_CB(WRITELINE("rs232", rs232_port_device, write_txd))
MCFG_AY51013_TX_CLOCK(4800.0)
MCFG_AY51013_RX_CLOCK(4800.0)
MCFG_AY51013_AUTO_RDAV(true) // ROD (pin 4) tied to RDD (pin 18)
@ -761,6 +759,8 @@ MACHINE_CONFIG_START(sol20_state::sol20)
MCFG_DEVICE_ADD("rs232", RS232_PORT, default_rs232_devices, nullptr)
MCFG_DEVICE_ADD("uart_s", AY51013, 0) // TMS6011NC
MCFG_AY51013_READ_SI_CB(READLINE("rs232", rs232_port_device, rxd_r))
MCFG_AY51013_WRITE_SO_CB(WRITELINE("rs232", rs232_port_device, write_txd))
MCFG_AY51013_TX_CLOCK(4800.0)
MCFG_AY51013_RX_CLOCK(4800.0)
MCFG_AY51013_AUTO_RDAV(true) // ROD (pin 4) tied to RDD (pin 18)