time-travelling emulator?

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

Post Reply
ajb
Posts: 14
Joined: Thu Apr 08, 2021 5:51 am

time-travelling emulator?

Post by ajb »

Pardon if my search terms have been failing...

Is there a time-traveling debugger/emulator for NES? Or some such similar functionality with regular state snapshots that you can revert back to?

I see that Mesen will let me step backwards one instruction at a time, but maybe I'm missing more advanced functionality?
User avatar
Dwedit
Posts: 4924
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Re: time-travelling emulator?

Post by Dwedit »

I think Mesen has rewind, I wonder if that's what you're looking for?
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
ajb
Posts: 14
Joined: Thu Apr 08, 2021 5:51 am

Re: time-travelling emulator?

Post by ajb »

Thanks! Oh, interesting - found the keybinding for it.

Hmm, it triggers uninitialized memory read - probably a bug. Seems somewhat limited, but better than nothing.

It also has an automatic state save mechanism, but can't be set to faster than every 1 minute. And can't rewind from the state.
ajb
Posts: 14
Joined: Thu Apr 08, 2021 5:51 am

Re: time-travelling emulator?

Post by ajb »

Ok, took me building Mesen from source to figure out that "movies" are actually state movies which are debuggable! And that the history viewer can let you scrub and select a state to resume from.

Totally should have RTFM...
lidnariq
Posts: 11432
Joined: Sun Apr 13, 2008 11:12 am

Re: time-travelling emulator?

Post by lidnariq »

You might also be able to use other emulators with re-recording support?
ajb
Posts: 14
Joined: Thu Apr 08, 2021 5:51 am

Re: time-travelling emulator?

Post by ajb »

Ah, that's a new term for me. Interesting. Looks like FCEUX supports this.
Thanks!
Post Reply