Skip to content

Commit

Permalink
SDS, Sigma: Make sure breakpoint's don't advance sim_time
Browse files Browse the repository at this point in the history
  • Loading branch information
markpizz committed Aug 30, 2016
1 parent 8eb3672 commit c33abec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions SDS/sds_cpu.c
Expand Up @@ -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;
}
}
Expand Down
1 change: 1 addition & 0 deletions sigma/sigma_cpu.c
Expand Up @@ -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? */
Expand Down

0 comments on commit c33abec

Please sign in to comment.