mirror of
https://github.com/simh/simh.git
synced 2026-04-24 19:33:40 +00:00
PDP11, VAX: Fix XQ device identification probe logic.
Device probe logic when running VAXELN was unable to correctly initialize the XQ device when it was set to be a DELQA or DELQA-T, but worked when it was a DEQNA or a DELQA/DELQA-T in DEQNALock mode. Problem initially reported in #271
This commit is contained in:
@@ -2545,7 +2545,7 @@ t_stat xq_reset(DEVICE* dptr)
|
|||||||
break;
|
break;
|
||||||
case XQ_T_DELQA:
|
case XQ_T_DELQA:
|
||||||
case XQ_T_DELQA_PLUS:
|
case XQ_T_DELQA_PLUS:
|
||||||
xq->var->var = (xq->var->lockmode ? 0 : XQ_VEC_MS) | ((xq->var->sanity.enabled & XQ_SAN_HW_SW) ? XQ_VEC_OS : 0);
|
xq->var->var = (xq->var->lockmode ? XQ_VEC_MS : 0) | ((xq->var->sanity.enabled & XQ_SAN_HW_SW) ? XQ_VEC_OS : 0);
|
||||||
xq->var->mode = (xq->var->lockmode ? XQ_T_DEQNA : XQ_T_DELQA);
|
xq->var->mode = (xq->var->lockmode ? XQ_T_DEQNA : XQ_T_DELQA);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user