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:
Mark Pizzolato 2016-02-06 06:58:57 -08:00
parent f03bae6cb6
commit 4d51d63ae4

View file

@ -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;
} }