mirror of
https://github.com/rcornwell/sims.git
synced 2026-04-03 20:32:34 +00:00
KA10: Fixed to allow KA and KL ITS to work correctly.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user