1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-26 12:12:52 +00:00

sigma: Correct DP Sense Length error(Bob Supnik)

This commit is contained in:
ken rector
2023-06-22 10:59:11 -07:00
committed by Paul Koning
parent d901d676c4
commit fcaf741d19

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;