mirror of
https://github.com/simh/simh.git
synced 2026-03-02 17:55:17 +00:00
SDS, Sigma: Make sure breakpoint's don't advance sim_time
This commit is contained in:
@@ -452,6 +452,7 @@ while (reason == 0) { /* loop until halted */
|
||||
reason = STOP_UBKPT; /* stop simulation */
|
||||
break;
|
||||
}
|
||||
sim_interval++; /* don't count non-executed instruction */
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -472,6 +472,7 @@ while (reason == 0) { /* loop until stop */
|
||||
if (sim_brk_summ &&
|
||||
sim_brk_test (PC, SWMASK ('E'))) { /* breakpoint? */
|
||||
reason = STOP_IBKPT; /* stop simulation */
|
||||
sim_interval++; /* don't count non-executed instruction */
|
||||
break;
|
||||
}
|
||||
if (PSW_QRX9 && (PC & PSW1_XA)) /* S9 real ext && ext? */
|
||||
|
||||
Reference in New Issue
Block a user