diff --git a/PDP10/kx10_cpu.c b/PDP10/kx10_cpu.c index b460489..adb697c 100644 --- a/PDP10/kx10_cpu.c +++ b/PDP10/kx10_cpu.c @@ -4631,6 +4631,7 @@ no_fetch: #endif /* Handle indirection repeat until no longer indirect */ do { +#if 0 if ((!pi_cycle) & pi_pending #if KI | KL | KS & (!trap_flag) @@ -4638,6 +4639,7 @@ no_fetch: ) { pi_rq = check_irq_level(); } +#endif ind = TST_IND(MB) != 0; AR = MB; AB = MB & RMASK; @@ -4749,16 +4751,15 @@ in_loop: ind = 0; } #endif - /* Handle events during a indirect loop */ - AIO_CHECK_EVENT; /* queue async events */ - if (sim_interval <= 0) { - if ((reason = sim_process_event()) != SCPE_OK) { - return reason; - } - } + } + /* Handle events during a indirect loop */ + AIO_CHECK_EVENT; /* queue async events */ + if (sim_interval <= 0) { + if ((reason = sim_process_event()) != SCPE_OK) { + return reason; + } } -#if 0 if ((!pi_cycle) & pi_pending #if KI | KL | KS & (!trap_flag) @@ -4766,7 +4767,6 @@ in_loop: ) { pi_rq = check_irq_level(); } -#endif } while (ind & !pi_rq); /* If there is a interrupt handle it. */