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

Adds support for flashing reproduction HuCards #977

Merged
merged 8 commits into from
Jun 30, 2024

Conversation

partlyhuman
Copy link
Collaborator

@partlyhuman partlyhuman commented Jun 30, 2024

Adds support for reproduction HuCards that use SST39SF010, SST39SF020, SST39SF040, MX29F040, or MX29F080 flash chips. One such open-source design is by Ichigo: https://github.com/partlyhuman/HuCARD-repro. There may be others out there — I have only tested this with the linked one but would be willing to extend support to others as requested.

This can be disabled to save program space by removing flash repro support (#undef ENABLE_FLASH). Made every attempt to minimize additional program size (maximized string reuse).

Additionally, includes a fix for broken compilation when building SFC/SNES support without flash support.

Comments welcome.

IMG_2690

Timeline.1_proc.mp4

@@ -124,7 +124,7 @@

/****/

/* [ Flashrom Programmer for SNES repros -------------------------- ]
/* [ Flashrom Programmer for repro carts -------------------------- ]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Since enabling this option actually turns on repro carts for not just SNES but MD, N64 and now PCE.

@@ -58,14 +58,19 @@ void sfmMenu() {
case 0:
sfmGameMenu();
break;
#ifdef CORE_SFM_FLASH
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Without this, would not build when ENABLE_SNES && !ENABLE_FLASH

@partlyhuman
Copy link
Collaborator Author

Was just made aware of the existence of https://www.gamebank-web.com/product/328 which I believe I should be able to extend support to if I can get ahold of one.

@sanni sanni merged commit c11690b into sanni:master Jun 30, 2024
5 checks passed
@partlyhuman partlyhuman deleted the pce-tg16-flashing branch June 30, 2024 22:34
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