Open Calindro opened 8 months ago
Hmm, the step-back functionality is implemented by going back to a previous snapshot of the entire node state.
https://github.com/floooh/v6502r/blob/bcedbdd9269459f8b58989877b688d494cdf3018/src/trace.c#L666-L675
Maybe there's some confusion when the step-back hits the first entry...
I won't have time to work on v6502r stuff anytime soon. But in any case many thanks for the bug report!
When stepping back to the beginning in visualz80r, there seems to be some inconsistency.
I hadn't seen the Reset button before so I stepped back to the beginning via the step back buttons instead. This has led to some kind of inconsistent state where all registers display as 0000 and all checkmarks get ticked. Then, after stepping 2 half-cycles, suddenly all values change at once.
Steps to reproduce: Reset Step half-cycle Step back half-cycle