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

[Feature request] Expose Scratchpad memory for Retroachievements #907

Open
PopovMark opened this issue Sep 3, 2024 · 0 comments
Open

[Feature request] Expose Scratchpad memory for Retroachievements #907

PopovMark opened this issue Sep 3, 2024 · 0 comments

Comments

@PopovMark
Copy link

Description

The Scratchpad is a cache-like memory region that is 1KB in size and starts at 1F800000 in the console memory. It is used occasionally for certain speed optimizations and other things.
See this link for more details:
https://psx-spx.consoledev.net/memorymap/

Currently, Scratchpad memory is not exposed in the core's memory map. This is used extensively in a few games (notably, the Rockman Complete Works ports of the first six Mega Man games have critical values in that region such as health, lives, weapon ammo, e.t.c.). Here is the relevant bits of the log:

363927184-dbb53197-34b1-451e-8ff3-4bc9722dd0bb

I am mostly requesting this to be able to use this region for cheat codes and for Retroachievements.
Currently, the Duckstation standalone and apparently BizHawk already have this feature, but the former has issues processing achievements when savestates are involved, and the latter's achievement functionality is relatively new and not as stable or convenient to use. Thank you for understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant