From 7256e0908c718759b224b8c036a5d29081f8099e Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 19 Dec 2014 08:45:47 -0800 Subject: [PATCH] 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. --- PDP11/pdp11_cpu.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/PDP11/pdp11_cpu.c b/PDP11/pdp11_cpu.c index ba38d650..186be394 100644 --- a/PDP11/pdp11_cpu.c +++ b/PDP11/pdp11_cpu.c @@ -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; }