mirror of
https://github.com/simh/simh.git
synced 2026-02-12 02:48:38 +00:00
sigma: Fix breakpoint state restore
This commit is contained in:
committed by
Mark Pizzolato
parent
cfce67f702
commit
d406b7771a
@@ -25,6 +25,8 @@
|
||||
|
||||
cpu central processor
|
||||
|
||||
12-Jul-22 RMS Fix incorrect decrement on breakpoint (Ken Rector)
|
||||
|
||||
The system state for the Sigma CPU is as follows:
|
||||
|
||||
RF[0:15][0:31]<0:31> register blocks
|
||||
@@ -476,6 +478,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++; /* undo decrement */
|
||||
break;
|
||||
}
|
||||
if (PSW_QRX9 && (PC & PSW1_XA)) /* S9 real ext && ext? */
|
||||
|
||||
Reference in New Issue
Block a user