vgmrips

The forum about vgm files
It is currently 2017-11-22, 11:15:45

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2015-05-17, 8:55:00 

Musicians Musicians
Contributors Contributors
Offline

Joined: 2012-09-29, 11:45:48
Posts: 214
Location: Australia
I got bored last night and attempted to write a simple program that converts F-Num commands for the FM channels on OPN chips, as I wanted to see if I could listen to ~8MHz VGMs on the Sega Megadrive, which runs on 7.67MHz therefore will sound flat when imported verbatim.

Source:
https://dl.dropboxusercontent.com/u/128 ... ckupdate.c

win32 binary:
https://dl.dropboxusercontent.com/u/128 ... opnclk.exe

Working notes written at 2am-5am:
https://dl.dropboxusercontent.com/u/128 ... 20Copy.txt

Last updated 23 May 2015:
Changes:
  • DAC/Data block skipping fixed
  • Added cases of other VGM chip commands to skip.

Known bugs:
  • Still some issues with rounding issues on the extracted fnote. This has an effect for edge cases where the F-Num is very close to the 11-bit limits.
  • SSG frequency update not supported (yet. this is for YM2203/YM2608 integrated YM2149)
  • Low notes don't work correctly fixed!
  • Command-line argument validation not implemented.
  • Command-line usage not present (yet)
  • Seems to misbehave when other chips such as SN76489 are attached to the vgm. This otherwise works flawlessly on vgm's with just YM2612 - mostly fixed

Examples:
https://dl.dropboxusercontent.com/u/128 ... 2clock.vgm (~8MHz -> 7.67MHz)
https://dl.dropboxusercontent.com/u/128 ... 580000.vgm (~8MHz -> 3.58MHz)
EDIT- fixed? https://dl.dropboxusercontent.com/u/128 ... imized.vgm
https://dl.dropboxusercontent.com/u/128 ... psgfix.vgm

Problem examples:
https://dl.dropboxusercontent.com/u/128 ... tfinal.vgm (when running vgm_opnclk with SN commands attached)
https://dl.dropboxusercontent.com/u/128 ... ockfix.vgm (what happens when you don't update F-num for playback on Megadrive. Except PSG was a manual fix via vgm_ayconv (source was ym2608 SSG) -> vgm2mid -> mid2vgm_PSG)

_________________
-dj.tuBIG/MaliceX


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group