1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-22 18:41:11 +00:00

IBM360: Clear command on program I/O error.

This commit is contained in:
Richard Cornwell 2020-09-21 19:11:15 -04:00
parent 103c27784e
commit 1e318d266a

View File

@ -350,6 +350,7 @@ loop:
/* Check invalid count */
if (ccw_count[chan] == 0) {
chan_status[chan] |= STATUS_PCHK;
ccw_cmd[chan] = 0;
irq_pend = 1;
return 1;
}
@ -364,6 +365,7 @@ loop:
/* Check if invalid command */
if ((ccw_cmd[chan] & 0xF) == 0) {
chan_status[chan] |= STATUS_PCHK;
ccw_cmd[chan] = 0;
irq_pend = 1;
return 1;
}