Open
Description
Running the following code on Channel F
halt br halt
and setting the program counter with the following sequence
emu.pause()
manager:machine().devices[":maincpu"].state["PC0"].value = n
emu.unpause()
fails approx. 50% of the time, setting PC0 to an arbitrary value instead.
Adding a "nop" to the halting loop fixes the issue. See here for more context.