1
0
mirror of https://github.com/simh/simh.git synced 2026-02-11 02:31:35 +00:00

frontpanel: Fix remote console event queuing when in HALT state

- Update sim_frontpanel API version to 13
- Correct event queuing when halted avoids sim_time running backwards
This commit is contained in:
Mark Pizzolato
2022-12-28 10:58:08 -10:00
parent 2dd8ededd3
commit b0cdb3e831
4 changed files with 43 additions and 10 deletions

View File

@@ -927,8 +927,8 @@ if (sim_vm_post != NULL) /* optionally let the simulator
(*sim_vm_post) (TRUE); /* something might have changed */
if (!sim_processing_event) {
sim_ttrun (); /* set console mode */
sim_cancel (rem_con_data_unit); /* force immediate activation of sim_rem_con_data_svc */
sim_activate (rem_con_data_unit, -1);
sim_cancel (rem_con_data_unit); /* force immediate activation of sim_rem_con_data_svc with the */
sim_activate (rem_con_data_unit, -1); /* special case delay (-1) which forces it to the head of the queue */
}
sim_switches = saved_switches; /* restore original switches */
}