1
0
mirror of https://github.com/simh/simh.git synced 2026-02-27 01:00:07 +00:00

sigma: Correct DP Sense Length error(Bob Supnick)

This commit is contained in:
ken rector
2023-06-22 10:59:11 -07:00
committed by Mark Pizzolato
parent 70ec37ce58
commit c331284b7c

View File

@@ -780,7 +780,7 @@ switch (uptr->UCMD) {
if (CHS_IFERR (st)) /* channel error? */
return dp_chan_err (dva, st);
}
if ((i != DPS_NBY) || (st != CHS_ZBC)) { /* length error? */
if (!DP_Q10B (ctx->dp_ctype) && (st != CHS_ZBC)) { /* 16B only: length error? */
ctx->dp_flags |= DPF_PGE; /* set prog err */
if (chan_set_chf (dva, CHF_LNTE)) /* do we care? */
return SCPE_OK;