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

Add support for MSU-1 data storage for the sound data #437

Open
KungFuFurby opened this issue Jun 27, 2024 · 0 comments
Open

Add support for MSU-1 data storage for the sound data #437

KungFuFurby opened this issue Jun 27, 2024 · 0 comments
Labels
c++-side Involves the AddMusicK program itself in some way. enhancement New feature or request snes-side Involves the 65816 code. May or may not be specific to Super Mario World.

Comments

@KungFuFurby
Copy link
Owner

KungFuFurby commented Jun 27, 2024

Requested by Fernap and Burning Loaf on the SMWCentral Discord Server. Instead of storing the music data in the ROM and potentially consuming space there, the music data could instead be stored on the MSU-1 side via its internal data file. The amount of space that is available there is up to I think 4GB... the only game I can think of at this time that has taken full advantage of this, at least in terms of the graphical data, is Super Road Blaster.

This requires both a C++ side and a SNES side modification. The C++ side must be modified in order to compile all of the music data for the MSU-1 data file (and that's not counting if there are any potential conflicts). The SNES side has to be modified to read from the MSU-1 in order to load all of that data to the SPC700. Read times are not guaranteed to be instantaneous, so load times to the SPC700 can becomes less consistent when done this way, so I need to be careful on that one.

There also must be a fallback in case of no MSU-1: namely, no music, but have all stock SFX and samples on hand so that the audio doesn't completely break.

@KungFuFurby KungFuFurby added enhancement New feature or request c++-side Involves the AddMusicK program itself in some way. snes-side Involves the 65816 code. May or may not be specific to Super Mario World. labels Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++-side Involves the AddMusicK program itself in some way. enhancement New feature or request snes-side Involves the 65816 code. May or may not be specific to Super Mario World.
Projects
None yet
Development

No branches or pull requests

1 participant