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:
parent
103c27784e
commit
1e318d266a
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user