1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-23 11:07:45 +00:00

PDP11: Simplified idle call logic to leave the idle decision to sim_idle().

Removed the unused references to wait_enable which the comments suggest was related to an old style idle.
This commit is contained in:
Mark Pizzolato 2014-12-19 08:45:47 -08:00
parent 549779fb10
commit 7256e0908c

View File

@ -832,11 +832,7 @@ while (reason == 0) {
if (tbit)
setTRAP (TRAP_TRC);
if (wait_state) { /* wait state? */
if (sim_idle_enab) /* idle enabled? */
sim_idle (TMR_CLK, TRUE);
else if (wait_enable) /* old style idle? */
sim_interval = 0; /* force check */
else sim_interval = sim_interval - 1; /* count cycle */
sim_idle (TMR_CLK, TRUE);
continue;
}