Skip to content

Conversation

@thekovic
Copy link
Contributor

I put together a simple module to help access (read/write) SRAM saves to improve SRAM "support" from "it's easy to do but figure it out yourself" to "just call these".

Untested so far; please help me test before merging.

Side note: I think it would be nice to move PI register definitions from dma.h into its own pi.h header and properly define all the registers, including DOM1/DOM2 setup registers. Ideally, we would also use the "access via volatile struct" pattern over preprocessor definitions but that would require a lot of refactoring all over the place so perhaps that ship has sailed. Let's discuss here or on Discord.

Copy link
Collaborator

@rasky rasky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a very good starting point. I have left a few comments for improvements

@rasky rasky merged commit 8571b14 into DragonMinded:preview Jan 21, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants