mirror of
https://github.com/simh/simh.git
synced 2026-02-26 16:54:22 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user