1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-13 23:35:30 +00:00

KA10: Fixes to get WAITS III to work and prevent FE from droping chars.

This commit is contained in:
Richard Cornwell 2020-10-26 23:26:07 -04:00
parent e6f3fc69ff
commit 5fe9c4983a
2 changed files with 2 additions and 10 deletions

View File

@ -1797,7 +1797,7 @@ t_stat dteo_svc (UNIT *uptr)
while(not_empty(&cty_out)) {
char ch = cty_out.buff[cty_out.out_ptr];
if (ch != 0) {
if (sim_putchar(ch) != SCPE_OK) {
if (sim_putchar_s(ch) != SCPE_OK) {
sim_activate(uptr, 1000);
return SCPE_OK;;
}

View File

@ -4259,7 +4259,7 @@ in_loop:
}
/* Handle events during a indirect loop */
AIO_CHECK_EVENT; /* queue async events */
if (sim_interval-- <= 0) {
if (--sim_interval <= 0) {
if ((reason = sim_process_event()) != SCPE_OK) {
return reason;
}
@ -9049,14 +9049,6 @@ do_byte_setup(int n, int wr, int *pos, int *sz)
AB = MB & RMASK;
}
}
#if 0
/* Handle events during a indirect loop */
if (sim_interval-- <= 0) {
if (sim_process_event() != SCPE_OK) {
return -1;
}
}
#endif
};
/* Update pointer */
val1 &= PMASK;