z80scc: don't invent data (nw)

This commit is contained in:
Patrick Mackinlay 2020-05-06 13:42:52 +07:00
parent 4694bdd46b
commit 505e8a4310

View File

@ -1858,6 +1858,7 @@ void z80scc_channel::do_sccreg_wr0(uint8_t data)
of these modes is selected and this command is issued before the data has been read from the of these modes is selected and this command is issued before the data has been read from the
Receive FIFO, the data is lost */ Receive FIFO, the data is lost */
LOGCMD("%s: %c : WR0_ERROR_RESET - not implemented\n", owner()->tag(), 'A' + m_index); LOGCMD("%s: %c : WR0_ERROR_RESET - not implemented\n", owner()->tag(), 'A' + m_index);
if (m_rx_fifo_wp != m_rx_fifo_rp)
m_rx_fifo_rp_step(); // Reset error state in fifo and unlock it. unlock == step to next slot in fifo. m_rx_fifo_rp_step(); // Reset error state in fifo and unlock it. unlock == step to next slot in fifo.
break; break;
case WR0_SEND_ABORT: // Flush transmitter and Send 8-13 bits of '1's, used with SDLC case WR0_SEND_ABORT: // Flush transmitter and Send 8-13 bits of '1's, used with SDLC