ExtremeElectronics / RC2040

Z80 CP/M80 emulation of an RC2014 using the RP2040 (PI PICO) processor
GNU General Public License v3.0
41 stars 7 forks source link

ACIA Serial emulated interrupts missing characters #1

Closed ExtremeElectronics closed 2 years ago

ExtremeElectronics commented 2 years ago

Appears to be the code missing characters by an overrun in the emulated ACIA. Tests prove that the serial circular buffers from USB and UART are passing the characters correctly to the ACIA

ExtremeElectronics commented 2 years ago

UART sorted by adding a lie that there are no further characters available when the ACIA is still in an interrupt.

Cant do the same to USB until I can work out how to implement my own circular buffer with the USB serial

ExtremeElectronics commented 2 years ago

Fake interrupt (polling from the emulation loop) for the USB RX allows a circular buffer, so both USB and UART now work reasonably well now.

ExtremeElectronics commented 2 years ago

Closing, Works with tx and cr delays, (but even the hardware ones do this, so I'm happy)

ExtremeElectronics commented 2 years ago

Close