CPU history shows incorrect values
Versatile Commodore Emulator
Brought to you by:
blackystardust,
gpz
Activate monitor, then execute:
dev 8:
a 700
.0700 jsr $ff4b
.0703 jmp $0700
.0706
r pc = 700
step
step
step
step
chis
Result:
.8:0700 20 4B 00 JSR $004B A:ff X:0a Y:ff SP:45 ..-....C 3192095
.8:ff4b 45 9A EOR $9A A:ff X:0a Y:ff SP:43 ..-....C 3192101
.8:ff4d 4C 25 EB JMP $EB25 A:fc X:0a Y:ff SP:43 N.-....C 3192104
JSR $004B is not what happened.
For the records: this happens ONLY on the drive, neither x64 (old CPU core, same as drive) nor x64sc show this
try r46026 :)
Thanks for the fix.
Btw, I spotted another chis bug earlier where the whole JSR instruction was replaced with a JAM (0x02) in the C64 CPU history:
but I couldn't reproduce it on a fresh VICE instance so the required steps remain unknown.
closing this - please make a new ticket if you figure out how to trigger that JSR/JAM problem