1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

SWTP6800, IBMPC, IBMPCXT, isys8010, isys8020, imds-225: sim_interval fix

Properly sequence change to sim_interval so that debug behavior is as
expected.
This commit is contained in:
Bill
2016-10-11 15:56:10 -07:00
parent 5e9d8e0996
commit 6b5ab2bc06
5 changed files with 6 additions and 8 deletions

View File

@@ -584,7 +584,6 @@ int32 sim_instr (void)
if (sim_interval <= 0) { /* check clock queue */
if (reason = sim_process_event ()) break;
}
sim_interval--; /* countdown clock */
if (int_req > 0) { /* interrupt? */
/* 8088 interrupts not implemented yet. */
@@ -596,6 +595,7 @@ int32 sim_instr (void)
break;
}
sim_interval--; /* countdown clock */
PCX = IP;
IR = OP = fetch_byte(0); /* fetch instruction */