1
0
mirror of https://github.com/rcornwell/sims.git synced 2026-01-11 23:52:48 +00:00

I7000: Minor fixes.

This commit is contained in:
Richard Cornwell 2024-03-12 12:27:59 -04:00
parent 9462ee624f
commit 3f579eddfd
2 changed files with 10 additions and 9 deletions

View File

@ -3405,14 +3405,16 @@ prottrap:
ihold = 1; /* Hold interupts for one cycle */
break;
case SCPE_OK:
temp = (MA >> 9) & 017;
if (temp == 0) {
if (opcode==IO_RDS)
MQ = 0;
chan_clear(0, CHS_EOF|CHS_EOT|DEV_REOR);
} else {
iotraps &= ~(1 << temp);
chan_clear(temp, CHS_EOF|CHS_EOT|DEV_REOR);
{ uint16 temp16;
temp16 = (MA >> 9) & 017;
if (temp16 == 0) {
if (opcode==IO_RDS)
MQ = 0;
chan_clear(0, CHS_EOF|CHS_EOT|DEV_REOR);
} else {
iotraps &= ~(1 << temp16);
chan_clear(temp16, CHS_EOF|CHS_EOT|DEV_REOR);
}
}
ihold = 1; /* Hold interupts for one cycle */
break;

View File

@ -1,7 +1,6 @@
cd %~p0
cd i7090
rm test.log
set noasync
set console -n -q log=test.log
set cpu 709
set dk disable