That's a bit of a cheap trick, but I suppose it works.
Printable View
That's a bit of a cheap trick, but I suppose it works.
Arent cheap tricks actually better for speed?
[quote author=Hola link=board=dcemu;num=1083323639;start=315#321 date=08/04/04 at 10:51:50]Arent cheap tricks actually better for speed?[/quote]
At times. It all depends on what its doing. Usually cheap tricks replace really complex yet more appropriate code. It may or may not be faster but usually is not as 'proper'.
I remember back in the day when Gencyst was popular I remember everyone saying its sound core didnt even emulate the genesis at all but simulated it.
Would simulated sound or cpu improved speed yet keep the desired output?
have you ever heard of the Sega Smash Pack? It has simulated sound, but is fullspeed. It sounds horrible.
But Gencryst sounded just fine.
Yeah, but the Smash Pack didn't ;D It's a shame that it even exists - and it was officially coded by SEGA... >:(
BlackAura told me that it was some kind of a cheap MIDI styled hack for sound emulation. It only 'worked' halfway decent on Shining Force & Phantasy Star but still sounded bad.
Chris
As far as I can tell, the Smash Pack's sound emulation wasn't. It emulates the programmable part of the sound chip correctly (like the registers and the timers), but that's about it. Beyond that, it seems to just take the frequency parameters for each channel, and play a sine wave at that frequency. That's certainly what it sounds like anyway.
So how goes that Sh4 core?
The core is in the right way and i hope to get it finished in the first half of september, but i do not promise anything cause debugging work could delay it.
Cheers.