nanospc
nanospc copied to clipboard
SNES SPC music player for Tang Nano 20k
nanoSPC - SNES SPC music player for Tang Nano 20k
This plays classic Super Nintendo game music from MicroSD cards on the Tang Nano 20k FPGA board. The core originally comes from srg320's FpgaSNES.
- 32Khz stereo playback through HDMI (480p video).
- Up to 99 songs on one microsd card.
- LED audio level display.
- No additional hardware required other than Tang Nano 20K.
Usage
Grab a nanoSPC release. Use scripts/spc2img.py to pack spc files into an sd card image (python spc2img.py *.spc will do). Burn the image to a MicroSD card with balenaEtcher. Now insert the card into nano.
Then program the nanospc.fs file to the nano 20k. Connect HDMI to your TV or sound-capable monitor to start playing. Press S1 button on nano for next song, S2 for previous song.
If your SPC music is in .rsn format. Use unrar to extract the separate SPC files before running spc2img.py (.rsn is just rar archives).
More
- The nanoSPC User interface.
- I converted the main components (SPC700 and DSP) from VHDL to Verilog.
- There's a verilator simulation set-up.
make traceormake simto generate audio.make audioto convert that audio to wave filesnes.wav. The embedded spc data plays a 'ding' sound. - The Gowin IDE project file is included if you'd like to build your own image.