hostingsoftgo.blogg.se

Colecovision emulator for mac
Colecovision emulator for mac









colecovision emulator for mac

Remote: Total 616 (delta 295), reused 456 (delta 143), pack-reused 0 I think you can get away with simply introducing a delay on writes to fix the pitch.

#COLECOVISION EMULATOR FOR MAC CODE#

I think the SMS APU code you're using currently is doing PCM samples correctly, since I do hear the samples, but the pitch is wrong. Here are some references from Joll圜V that explain a bit of this: There is also the write delay to keep in mind when writing data to the PSG. I have not truly figured out the answer to this entire question, but it does have to do with not flipping the waveform when the length counter reload value is 1, or in the case of Squish'em Sam, 16 seems to be the magic number. In Sewer Sam and Squish'em Sam, you can see this exhibited. There is also the issue of PCM samples having too high a pitch. LFSR is one bit shorter on the TI chip (same on SG-1000) vs the Sega PSG, this should be 15 rather than 16: Tapped bits for ColecoVision (and SG-1000) are 0x0003, not 0x0009: The TI chip does not double the noise channel's volume, so removing * 2 here will make it more accurate:











Colecovision emulator for mac