And also, nice chorus if I do ?usr(5) a bunch of times .
The most interesting feature of this coder is hidden
One can shift the pitch of a sample on fly and use samples as instruments
I've tested myself on my new just arrived Megaflashrom Scc+ SD and after many attempts I succeeded in making it boot and detect the SCC, but in basic the USR() does not play any sound...
I see the SCC slot number at boot, but just after that, it goes in nextor and MM starts.
I have to quit it and go in basic manually
In basic the USR() returns the sfx number but it does not play any sound
BTW this last version of the code can play longer samples (up to 68 secs per sample)
https://drive.google.com/open?id=1aMwwDCNsIqWsP6l0xLfc44lxwk...
This version does work, even the usr (0).
Use opfxsd name.rom /k5 /u, as @Pencioner says.
If I enter the basic after the reset itself.
I think that the problem is that MM somehow resets the sub-slot register after the rom initialization and before basic starts
Consult with the manufacturer. Surely it will clarify this.
For MegaflashROM, I remember something related to hold "S" key on boot to use as SCC (but for self-boot ROMs not booting to DOS or BASIC):
https://www.msx.org/es/node/38665?page=3
I think that the problem is that MM somehow resets the sub-slot register after the rom initialization and before basic starts
Verify that you are selecting the right slot and subslot when accessing the SCC (and then restoring the previous ones)
After the ROM inicializatión, Nextor (in a different subslot) is initializated. So the BIOS changes the subslot.
For MegaflashROM, I remember something related to hold "S" key on boot to use as SCC (but for self-boot ROMs not booting to DOS or BASIC):
https://www.msx.org/es/node/38665?page=3
It is not necessary to hold "S" key to enable the SCC. That feature is only for DSK loaded with the old method (/Dx option)
yes, my code set the subslot at initialization but relies on this setting during execution
I should add subslot setting in the ISR and this should fix the problem
Following with the development of a future Music+ISR Replayer I've uploaded a new test, still on beta:
Note that some of the 5 channel samples can reproduce Vocal+Chorus oO