Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory comparison/search feature #39

Open
npiegdon opened this issue Dec 28, 2023 · 0 comments
Open

Memory comparison/search feature #39

npiegdon opened this issue Dec 28, 2023 · 0 comments
Labels

Comments

@npiegdon
Copy link
Sponsor

In most emulators this is usually found near the "cheat" features, but something like (the NES emulator) FCEUX's Tools --> RAM Search window would be very helpful while tracking things down during decompiling work.

The essence of the feature is grabbing a snapshot of RAM (and maybe VRAM?) at the start of a search session, then, whenever one of the >, <, >=, <=, =, or != buttons are clicked, Gearcoleco would compare the current values in RAM to those from the snapshot and discard anything that doesn't match. There are a few more details (like data size and signed/unsigned comparisons) that FCEUX covers pretty well.

Implementation-wise, because all 1k of the Colecovision's RAM can fit on screen pretty easily, instead of having a separate window that lists the matches, the memory search feature could just change the text highlight in the RAM window. Maybe green if it still matches and ImGui's disabled color if it doesn't? (This would override the "Grey Out Zeroes" option.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants