From 2e12cd553ef78498ed925e763a0d52aae9818f19 Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Tue, 9 Feb 2021 22:37:46 -0500 Subject: [PATCH] KA10: Fix IRQ to work on ITS better. --- PDP10/kx10_cpu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PDP10/kx10_cpu.c b/PDP10/kx10_cpu.c index 8625489..2dc61a8 100644 --- a/PDP10/kx10_cpu.c +++ b/PDP10/kx10_cpu.c @@ -4738,13 +4738,13 @@ in_loop: if ((reason = sim_process_event()) != SCPE_OK) { return reason; } - if ((!pi_cycle) & pi_pending + } + if ((!pi_cycle) & pi_pending #if KI | KL | KS - & (!trap_flag) + & (!trap_flag) #endif - ) { - pi_rq = check_irq_level(); - } + ) { + pi_rq = check_irq_level(); } #if KS /* I/O Instructions don't do repeat indirect */