mirror of
https://github.com/open-simh/simh.git
synced 2026-01-23 11:07:45 +00:00
PDP11, VAX: Only generate DZ output complete interrupt each line once
As reported in #782
This commit is contained in:
parent
11fed22dc7
commit
236716845a
@ -668,7 +668,8 @@ for (dz = 0; dz < dz_desc.lines/DZ_LINES; dz++) { /* loop thru muxes */
|
||||
for (i = 0; i < DZ_LINES; i++) { /* loop thru lines */
|
||||
j = (j + 1) & DZ_LNOMASK; /* next line */
|
||||
line = (dz * DZ_LINES) + j; /* get line num */
|
||||
if ((linemask & (1 << j)) && tmxr_txdone_ln (&dz_ldsc[line])) {
|
||||
if ((linemask & (1 << j)) && /* if enabled && */
|
||||
(1 == tmxr_txdone_ln (&dz_ldsc[line]))) { /* done just now */
|
||||
CSR_PUTTL (dz_csr[dz], j); /* put ln in csr */
|
||||
dz_csr[dz] |= CSR_TRDY; /* set xmt rdy */
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user