1
0
mirror of https://github.com/simh/simh.git synced 2026-04-27 12:28:49 +00:00

PDP8: Refinement to prior fix for issue #86. Avoid data loss if prior character hasn't been read yet when a poll event happens.

This commit is contained in:
Mark Pizzolato
2013-11-03 13:08:17 -08:00
parent be46bac750
commit 6f4e718fda
5 changed files with 33 additions and 6 deletions

View File

@@ -1317,6 +1317,7 @@ if (lp->conn && lp->rcve) { /* conn & enb? */
} /* end if conn */
if (lp->rxbpi == lp->rxbpr) /* empty? zero ptrs */
lp->rxbpi = lp->rxbpr = 0;
tmxr_debug_return(lp, val);
return val;
}