Skip to content

Commit

Permalink
I7000: Minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcornwell committed Mar 12, 2024
1 parent 9462ee6 commit 3f579ed
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 10 additions & 8 deletions I7000/i7090_cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3405,14 +3405,16 @@ sim_instr(void)
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;
Expand Down
1 change: 0 additions & 1 deletion I7000/tests/i7090_test.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3f579ed

Please sign in to comment.