mirror of
https://github.com/simh/simh.git
synced 2026-04-27 20:38:04 +00:00
ALL: make sure all useful state is in simh registers while processing events
This commit is contained in:
@@ -433,6 +433,10 @@ while (reason == 0) { /* loop until stop */
|
||||
}
|
||||
|
||||
if (sim_interval <= 0) { /* event queue? */
|
||||
/* make sure all useful state is in simh registers while processing events */
|
||||
pcq_r->qptr = pcq_p; /* update pc q ptr */
|
||||
cpu_assemble_PSD (); /* visible PSD */
|
||||
set_rf_display (R); /* visible registers */
|
||||
if (reason = sim_process_event ()) /* process */
|
||||
break;
|
||||
int_hireq = io_eval_int (); /* re-evaluate intr */
|
||||
|
||||
Reference in New Issue
Block a user