====== N-SPC (AddmusicK) ====== Community-developed driver created for Super Mario World hacks. Based on the N-SPC prototype with extensions. ===== Instruments ===== Unlike the prototype, this variant uses the standard 6 byte instrument format. It still uses separate instrument and percussion tables, but also adds a 3rd table for song-specific instruments. ===== VCMDs ===== ^ VCMD ID ^ Description ^ Arguments ^ |$00 | Phrase Termination/End of Subroutine | | |$01-$7F | Note Duration | (%0yyyzzzz) | |$80-$C5 | Note | | |$C6 | Tie | | |$C7 | Rest | | |$C8-$D9 | Percussion | | |$DA | Instrument | xx | |$DB | Panning | %xyzzzzz | |$DC | Panning Fade | xx yy | |$DD | Pitch Slide to Note | xx yy zz | |$DE | Vibrato On | xx yy zz | |$DF | Vibrato Off | | |$E0 | Song Volume | xx | |$E1 | Song Volume Fade | xx yy zz | |$E2 | Tempo | xx | |$E3 | Tempo Fade | xx yy | |$E4 | Global Absolute Transposition | xx | |$E5 | Tremolo On | xx yy zz | |$E6 | Subloop Start* | xx | |$E7 | Volume | xx | |$E8 | Volume Fade | xx yy | |$E9 | Subroutine | xx xx yy | |$EA | Vibrato Fade In | xx | |$EB | Note Pitch Envelope To | xx yy zz | |$EC | Note Pitch Envelope From | xx yy zz | |$ED | Set ADSR/GAIN* | xx yy | |$EE | Fine Tune | xx | |$EF | Echo Enable Bits and Volume | %xxxxxxxx yy zz| |$F0 | Echo Off | | |$F1 | Echo Parameter Setup | xx yy zz | |$F2 | Echo Volume Fade | xx yy zz | |$F3 | Sample Load* | xx yy | |$F4 | Special commands (1)* | xx | |$F5 | Set FIR* | aa bb cc dd ee ff gg hh | |$F6 | Write DSP Register* | xx yy | |$F7 | Invalid | | |$F8 | Enable Noise* | xx | |$F9 | Send Data* | xx yy | |$FA | Special commands (2)* | xx yy | |$FB | Special commands (3)* | xx ??? | |$FC | Remote command* | ww xx yy zz | |$FD - $FF| Invalid | | * Unique to this variant