pete-gordon / oricutron

Portable Oric-1/Atmos/Telestrat and Pravetz 8D emulator
http://www.petergordon.org.uk/oricutron/
GNU General Public License v2.0
69 stars 25 forks source link

Add monitor memory search #180

Closed cedricp closed 2 years ago

cedricp commented 2 years ago

Hi, I added a memory search functionnality. I did it to hack some games and finally finish them ! Here's a quick doc :

At this point you should get one or more memory match (refine more if necessary) now you should know where the lives counter is in memory, just do a mm <new lives#> to set new lives number and you're done.

new commands :

The search is made in free ram (0x500-0x97FF)

Hope you'll like it :)

cedricp commented 2 years ago

Let me find a way to make it work correctly

iss000 commented 2 years ago

@all: Let's test the new addition :)

iss000 commented 2 years ago

@ALL: Let's test the new addition :)

Well, it works for me! IMHO it's useful and nice. Maybe possible improvement: no need to repeat typing 'mp' to see next page with results but just press enter (i.e. like commands 'd' or 'm').

cedricp commented 2 years ago

This was working before you asked me to go back to 'mp' command. Will try to find a hack for that

iss000 commented 2 years ago

Done! Now everything works!

cedricp commented 2 years ago

Done, look here : https://github.com/cedricp/oricutron/commit/becfaef240235e338b7ea80ff3f42bf7eed3b9e1

cedricp commented 2 years ago

FYI : Just finished Xenon1, and funny thing, the live counter is at the same memory place as Zorgon's revenge ! Attaching a memory watch to it and removing the decrease operation gave me infinite lives, love it :) Glad you like it

iss000 commented 2 years ago

Done, look here : cedricp@becfaef

Well, done! My changes are the same in detail but bit more 'user friendly' for feature updates ;).