Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoomten/sgb-music-test
Game Boy ROM test of flashing SNES music sequence data through the Super Game Boy
https://github.com/zoomten/sgb-music-test
Last synced: about 6 hours ago
JSON representation
Game Boy ROM test of flashing SNES music sequence data through the Super Game Boy
- Host: GitHub
- URL: https://github.com/zoomten/sgb-music-test
- Owner: ZoomTen
- Created: 2020-10-17T15:15:35.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-11T05:37:12.000Z (almost 2 years ago)
- Last Synced: 2023-10-21T00:07:03.200Z (about 1 year ago)
- Language: Assembly
- Size: 11.7 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SGB Music Test ROM
## About
Demonstration of making the Super Game Boy play SNES music. Currently this will
not work on a bog-standard GameBoy emulator (not even BGB)The SGB reads this music data by reading the screen when prompted by a `SOU_TRN`
packet. As a consequence, the screen will be full of garbage, and it should be hidden from view by using `MASK_EN` before the data is rendered to VRAM. This is not implemented here.The music data itself is in the [SBN format](https://github.com/LuigiBlood/SBN2SPC/blob/main/README.md) (a very simple, block-based container
for SPC music data basically)The SPC data itself is just song sequence data in the basic [N-SPC](https://sneslab.net/wiki/N-SPC_Engine) format.
The instruments are all coming from the Super Game Boy itself, in other words,
the Super Game Boy has a "soundfont" built in :pThis ROM has only been tested with SGB1/SGB2 with BSNES.
Included is a **MIDI to SBN** script, which you can use, distribute, modify, whatever.
## Building
What do you need?
* RGBDS
* Python 3
* Python Mido package (just do `pip install mido`)
* GNU Make
* A Super Game Boy (1 or 2) boot ROM, if you're gonna test this in BSNESHow build?
* `make`
How test?
* In BSNES, go to System -> Load Special -> Load Super Game Boy Cartridge
* Load the boot ROM to Base cartridge, and the built ROM to Game Boy cartridge