~grauw/vgmplay-msx#41: 
YM2203 / YM2608 prescaler support

Currently YM2203 / YM2608 assumes a fixed prescaler setting that suits the clock. However there are some VGMs which do use the prescaler setting after all. In that case, we should adjust the frequency we set, either by shifting the fnum / incrementing the octave.

On the YM2608 the prescaler only affects the FM and PSG, the ADPCM is unaffected. The YM2610 and YM2612 don’t have a prescaler.

When there’s frequency translation we should probably also adjust the base clock. I think we can just check if it’s less than half the reference frequency, etc. This can also be used to predict the prescaler setting prior to actual playback.

Example VGM which uses prescaling:

  • Atomic Robokid
Status
REPORTED
Submitter
bitbucket:Laurens Holst
Assigned to
No-one
Submitted
5 years ago
Updated
3 years ago
Labels
No labels applied.

~grauw 3 years ago

Another example:

  • Ghosts ’n Goblins
Register here or Log in to comment, or comment via email.