diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-03-23 21:02:00 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-03-23 21:02:07 -0400 |
commit | 42adc3edf75ed736a4deeaff1c1a5a656339441b (patch) | |
tree | c4b5148d942de6e29e0c1ae06fefca5f25efec27 | |
parent | de1c3df72243c66c86981c056c1a2be4db6d64fa (diff) |
ay31015: Fix receiver synchronization at start bit
-rw-r--r-- | src/devices/machine/ay31015.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/machine/ay31015.cpp b/src/devices/machine/ay31015.cpp index df122a498a3..7ff281eb1a0 100644 --- a/src/devices/machine/ay31015.cpp +++ b/src/devices/machine/ay31015.cpp @@ -303,7 +303,7 @@ void ay31015_device::rx_process() if (!get_si()) { m_rx_state = START_BIT; - m_rx_pulses = 16; + m_rx_pulses = 15; } return; @@ -316,11 +316,12 @@ void ay31015_device::rx_process() LOG("Receive false start bit\n"); m_rx_state = IDLE; } + else + LOG("Receive start bit\n"); } else if (!m_rx_pulses) // end of start bit { - LOG("Receive start bit\n"); m_rx_state = PROCESSING; m_rx_pulses = m_total_pulses; m_rx_bit_count = 0; |