In the bsnes WIP News, byuu wrote:Lastly, some fixes to the S-SMP opcode core. Added support for reads that occur during most of the mov instructions, and corrected cmpw to take four cycles instead of five like addw and subw. I also adjusted the S-DSP to run at 32040hz, and moved PAL S-CPU's speed back to 21281370hz, which is more in line of what has been observed in the past. NTSC S-CPU remains unchanged at 21477272hz. Earthworm Jim 2 sound effects still work in all regions.
So does that mean that 32040 Hz is the real "SNES sound sample rate"?
(Oops, this is probably a stupid question... The question is merely about my understanding of the text.)
... yes. In reality, it probably varies, but is usually observed as being faster than 32khz. I still play back audio at 32khz (because not much supports 32040hz in hardware), so in a sense, emulation is infinitesimally slower than real hardware.
... yes. In reality, it probably varies, but is usually observed as being faster than 32khz. I still play back audio at 32khz (because not much supports 32040hz in hardware), so in a sense, emulation is infinitesimally slower than real hardware.
That explains why this wasn't seriously acted upon before...
byuu wrote:And the development forum is where this goes.
Sorry about that - I won't be doing any emulator development for any system in quite a while, which is why I put this in the "wrong" forum.