Looks good! I can confirm that at SVN revision r44076 (which has the fix), the issue doesn't show up anymore. Nice work! That was quick turnaround.
Upon reset, maincpu_clk (and thus, *cia_context->clk_ptr) is set back down to 6. However, I don't see anything that would re-add idle_alarm based on the new clock value?
The emulator stalls. The behavior of the emulated machine itself is fine.
The emulator stalls. The behavior of the machine itself is fine.
The version I tested with is built from svn source, on 2023-05-07. I can confirm that there's no calls to ciacore_idle between the reset and when the bug occurs. After the bug, calls to ciacore_idle kick back in. USE_IDLE_CALLBACK is true for me.
"No Bounds / G*P" triggers half-second delay in ciat_update