mirror of
https://github.com/open-simh/simh.git
synced 2026-03-03 18:26:48 +00:00
PDP11, Qbus & Unibus VAX: Fix DUP device loopback on device reset
- When the DUP TXCSR DEVICE_RESET bit is set, which clears the MAISEL bits, any existing tmxr loopback must also be removed.
This commit is contained in:
committed by
Mark Pizzolato
parent
b41acb30c1
commit
775e2f1f79
@@ -600,6 +600,8 @@ switch ((PA >> 1) & 03) { /* case on PA<2:1> */
|
||||
dup_txcsr[dup] |= (data & TXCSR_WRITEABLE);
|
||||
if (dup_txcsr[dup] & TXCSR_M_DRESET) {
|
||||
dup_clear(dup, dup_W3[dup]);
|
||||
/* must also clear loopback if it was set */
|
||||
tmxr_set_line_loopback (&dup_desc.ldsc[dup], FALSE);
|
||||
break;
|
||||
}
|
||||
if (TXCSR_GETMAISEL(dup_txcsr[dup]) != TXCSR_GETMAISEL(orig_val)) { /* Maint Select Changed */
|
||||
|
||||
Reference in New Issue
Block a user