Read cartridge SRAM from RAM with safe wait states
This commit is contained in:
4 files changed
+27
-3
No files matched your search
@@ -93,6 +93,8 @@ The v6 format is 19 bytes: `FQSP` (0–3), version 6 (4), v5 flags (5: Sprout bi
|
||||
|
||||
The ROM uses homebrew game code `QST0`. The previous `FQ01` collided with mGBA 0.10.5's Classic NES detection, which forced EEPROM instead of SRAM.
|
||||
|
||||
The SRAM backend sets eight waitstates without changing other WAITCNT bits and performs byte reads from a startup-relocated EWRAM routine; writes use byte accesses from ROM. Physical cartridges remain unverified. Hot cartridge removal and its Game Pak IRQ protection are not supported; power off before removing a cartridge.
|
||||
|
||||
## Music
|
||||
|
||||
Three original four-bar chiptunes loop automatically: a bright village tune (112 BPM), a calmer trail/indoor tune (94 BPM), and a faster battle tune (160 BPM). Two hardware square-wave channels play melody and bass, with quiet noise-channel percussion in the village and battle tracks. Menus and conversations keep the current tune playing; entering a battle switches themes, and leaving it restores the location's theme.
|
||||
|
||||
Reference in new issue
Block a user