Chat

Author Topic: SID in VGM specification  (Read 2355 times)

Offline trawen

  • Newbie
  • Posts: 3
  • Delek FTW
    • Email
SID in VGM specification
« on: July 25, 2016, 07:04:08 pm »
Do I understand correctly that the SID is supported in VGM informally?
I read VGM specification and did not find any mention of the SID.
I want to know header and structure of SID in VGM to play it on real hardware.

Offline Delek

  • Sali para ver
  • Administrator
  • Hero Member
  • Posts: 1813
    • Delek's Website
    • Email
SID in VGM specification
« Reply #1 on: July 25, 2016, 09:06:49 pm »
Yeah I added "informally" and used the YM2151 clock place to store SID rate in this way:
rate=44100/hz;
finalValue=(c64_mode<<16) | rate;

And the C64 data is 0xB6 aa bb.

Btw, if you're planning to convert vgm->sid and your software does a better job than the Deflemask rom builder I will be interested in adding it as the official builder for Deflemask.