VAX, PDP11: Fix DZ device to also regulate input speeds when data is arriving on multiple lines.
This commit is contained in:
parent
01c410ab32
commit
fc001cad1f
1 changed files with 6 additions and 1 deletions
|
@ -569,6 +569,11 @@ if (t) { /* any enabled? */
|
||||||
dz_update_rcvi (); /* upd rcv intr */
|
dz_update_rcvi (); /* upd rcv intr */
|
||||||
tmxr_poll_tx (&dz_desc); /* poll output */
|
tmxr_poll_tx (&dz_desc); /* poll output */
|
||||||
dz_update_xmti (); /* upd xmt intr */
|
dz_update_xmti (); /* upd xmt intr */
|
||||||
|
for (dz = 0; dz < dz_desc.lines/DZ_LINES; dz++) {
|
||||||
|
if (dz_csr[dz] & CSR_RDONE)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (dz == dz_desc.lines/DZ_LINES) /* All idle? */
|
||||||
sim_clock_coschedule (uptr, tmxr_poll); /* reactivate */
|
sim_clock_coschedule (uptr, tmxr_poll); /* reactivate */
|
||||||
}
|
}
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
|
|
Loading…
Add table
Reference in a new issue