This is a bit weird and specialized, and was inspired by the cheat finder
in ZSNES.
http://3.buric.co/aiicheat.zip
Source included. Periodically, you need to go into the debugger, save all
of main memory (bsave "filename.dmp",0,c000). First, you type
"ofilename.dmp" to tell it where to look for data. Then:
* r - reset; mark all bytes as matching.
* c - close; stop looking at the current filename.
* d - display all matching bytes.
* < - match only marked bytes which are LESS than they were before.
* > - match only marked bytes which are GREATER than they were before.
* = - match only marked bytes which HAVE NOT changed.
* # - match only marked bytes which HAVE changed.
* : - followed by a number (it should support 0x for hex, but not
tested) matches only marked bytes which equal this exact value.
* q - quit.
As an example, I created this infinite lives code for Mr. Cool:
4C47: EA EA EA
-uso.