These have lurked in my firmware ever since its initial beta-1 release, and I finally want to get rid of 'em.
1. Some older (?) SPCs, mainly from SquareSoft games, only play with echo-like artifacts right at the beginning. I made a short video to show what I mean exactly: http://manuloewe.de/snestuff/temp/spc.flv
I should mention that the SPC uploader used is blargg's, just like what sd2snes uses (and where I stole the code from, actually ). I've already tried tweaking the timing by relocating some buffer vars from/to the direct page, but to no avail. I also tried to revert to the latest version of mic_'s uploader at some point, which I could only get to play the very first note or chord of any given song, and then freeze. Tell you what, the exact same artifacts could still be heard.
2. Occasionally, SPCs won't play at all (e.g. 01:36 in the video). I do clear the RDNMI flag before re-enabling NMI and IRQ after the upload procedure has completed, in case that matters.
Needless to say, neither of these issues occurs on sd2snes.
Here's the code: SPC player / SPC uploading routines
Thanks for any helpful input on this!
1. Some older (?) SPCs, mainly from SquareSoft games, only play with echo-like artifacts right at the beginning. I made a short video to show what I mean exactly: http://manuloewe.de/snestuff/temp/spc.flv
I should mention that the SPC uploader used is blargg's, just like what sd2snes uses (and where I stole the code from, actually ). I've already tried tweaking the timing by relocating some buffer vars from/to the direct page, but to no avail. I also tried to revert to the latest version of mic_'s uploader at some point, which I could only get to play the very first note or chord of any given song, and then freeze. Tell you what, the exact same artifacts could still be heard.
2. Occasionally, SPCs won't play at all (e.g. 01:36 in the video). I do clear the RDNMI flag before re-enabling NMI and IRQ after the upload procedure has completed, in case that matters.
Needless to say, neither of these issues occurs on sd2snes.
Here's the code: SPC player / SPC uploading routines
Thanks for any helpful input on this!