Skip to content

Feat: 8M Memory Pack support for slotted carts - #301

Open
ludufre wants to merge 3 commits into
mrehkopf:masterfrom
ludufre:feat-8m-slotted
Open

Feat: 8M Memory Pack support for slotted carts#301
ludufre wants to merge 3 commits into
mrehkopf:masterfrom
ludufre:feat-8m-slotted

Conversation

@ludufre

@ludufre ludufre commented Jun 19, 2026

Copy link
Copy Markdown

Hello!

This PR add support to 8M Memory Pack slot carts and enable Derby Stallion 96 and Sound Novel Tsukuru

Only the SA-1 carts are left out of memory pack support at the moment.

The currently already working slotted games area checked during boot for the presense of a pack (.mpk file, just .bs renamed to .mpk inside /sd2snes/saves/) and if found, the game is scanned for the vendor probe to detect if it's a real slotted cart. If so, the pack is loaded into PSRAM and mapped to the correct address range depending on the cart type (LoROM or HiROM). The pack is also flash memory, so it can be written to by the game, and these writes are saved back to the .mpk file on disk.

Derby Stallion 96 and Sound Novel Tsukuru are 3 MB LoROM carts with one odd thing: banks $80-$9F point at the top 1 MB
of the ROM (file $200000+) instead of mirroring $00-$1F so they can fit the pack window there.

ludufre added 3 commits June 19, 2026 06:51
Program skips $FF so AND-writes keep the slot name. Erase takes the block from the $D0 confirm address, not $20, so deleting one slot no longer wipes another. LoROM and HiROM.
Pack read through the SuperMMC, flash FSM mirrors the base core (erase by $D0 address). Write stays synchronous since SA-1 slotted carts are read-only.
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.

1 participant