YM3812
Moderator: BigEvilCorporation
-
- Very interested
- Posts: 326
- Joined: Mon Mar 12, 2007 1:53 am
- Contact:
YM3812
So, how similar are YM3812's to YM2612's? They are both of the OPx-2 Series (ones an L, and ones an N).
I have successfully got my YM3812 to play some 2612 music, via converting them to a special 3812 format...
(using my old IBM Model 25 with an 8MHz NEC V30 CPU to play them)...
though, as you hear, sometimes a note gets stuck, or heck, it goes off key for some reason, and some notes seem to fail to even emit. oh yea, sometimes the temp gets all screwy, but that might be the NEC V30 not being good for music...
Streets of Rage 2:
http://blackevilweredragon.spymac.com/sor2.mp3
Sonic Green Hill Zone:
http://blackevilweredragon.spymac.com/green.mp3
Sonic Star Light Zone:
http://blackevilweredragon.spymac.com/star.mp3
Sonic Marble Zone:
http://blackevilweredragon.spymac.com/marb.mp3
Sonic 3 Balloon Park:
http://blackevilweredragon.spymac.com/balloon.mp3
Sonic 3 Boss (oh god this one played the worse, literally "forgetting" to change a note too many times):
http://blackevilweredragon.spymac.com/s3boss.mp3
So, how different are the two? it seems the 2612 can do better metallic sounds, and the 3812 can do more "toned" sounds.. not to mention, the 3812 isn't even stereo...
I have successfully got my YM3812 to play some 2612 music, via converting them to a special 3812 format...
(using my old IBM Model 25 with an 8MHz NEC V30 CPU to play them)...
though, as you hear, sometimes a note gets stuck, or heck, it goes off key for some reason, and some notes seem to fail to even emit. oh yea, sometimes the temp gets all screwy, but that might be the NEC V30 not being good for music...
Streets of Rage 2:
http://blackevilweredragon.spymac.com/sor2.mp3
Sonic Green Hill Zone:
http://blackevilweredragon.spymac.com/green.mp3
Sonic Star Light Zone:
http://blackevilweredragon.spymac.com/star.mp3
Sonic Marble Zone:
http://blackevilweredragon.spymac.com/marb.mp3
Sonic 3 Balloon Park:
http://blackevilweredragon.spymac.com/balloon.mp3
Sonic 3 Boss (oh god this one played the worse, literally "forgetting" to change a note too many times):
http://blackevilweredragon.spymac.com/s3boss.mp3
So, how different are the two? it seems the 2612 can do better metallic sounds, and the 3812 can do more "toned" sounds.. not to mention, the 3812 isn't even stereo...
-
- Very interested
- Posts: 326
- Joined: Mon Mar 12, 2007 1:53 am
- Contact:
then shouldn't that mean that i should be able to get accurate YM2612 emulation on a 3812? it has the 4 operator mode, and has the sine wave...Shiru wrote:OPL and OPN is a different FM synth chips series. They not directly compatible, and has different set of synth abilities.
Main difference: OPN always was 4-op with one osc. waveform (sine); OPL was 2-op (with 4-op modes) and selectable osc. waveforms.
because it seems no matter how i try and run the YM3812, it just sounds weird.. (with the exception of Balloon Park being pretty damn close)
I don't think it's possible to get accurace YM2612 emulation on YM3812, but, as far as I remember, very first emulators of platforms with Yamaha FM chips (SMD, some arcade games) used this idea to emulate YM2612.evildragon wrote: then shouldn't that mean that i should be able to get accurate YM2612 emulation on a 3812? it has the 4 operator mode, and has the sine wave...
-
- Very interested
- Posts: 326
- Joined: Mon Mar 12, 2007 1:53 am
- Contact:
but it should be possible to get better sound than what im getting with my 3812... mine is just pathetic, it's not even trying to get a metalic bass sound..
perhaps someone can make a DOS GYM player for YM3812's.. it would be awesome! (of course no PSG or DAC support.. i'd be happy to see FM support though)..
ohhh TmEE, think you can do that in QBasic? all in real mode?
perhaps someone can make a DOS GYM player for YM3812's.. it would be awesome! (of course no PSG or DAC support.. i'd be happy to see FM support though)..
ohhh TmEE, think you can do that in QBasic? all in real mode?
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
I think I can, but I'm pretty sure your V30 isn't enough to get decent speed unless I use some amount of ASM (but I'm not too good at x86 ASM)... I need to get some info on the GYM/VGM formats. DAC wouldn't be too hard to add (through LPT DAC, or SB DAC).
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 326
- Joined: Mon Mar 12, 2007 1:53 am
- Contact:
I think the V30 should be able to pull it off, I mean SEGA made the Z80 do it...TmEE co.(TM) wrote:I think I can, but I'm pretty sure your V30 isn't enough to get decent speed unless I use some amount of ASM (but I'm not too good at x86 ASM)... I need to get some info on the GYM/VGM formats. DAC wouldn't be too hard to add (through LPT DAC, or SB DAC).
I wouldn't want DAC at all, even if we could get it to work. That might be too much for the V30 however.. But, if it did work, the YM3812 in this IBM does sit on a SoundBlaster (8-bit 22khz mono)
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
But SEGA made(and some of us) z80 do it in ASM not QB which is 6 times slower than C and around 8...10 times slower than plain ASM...
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 326
- Joined: Mon Mar 12, 2007 1:53 am
- Contact:
oh, yea, my bad..TmEE co.(TM) wrote:But SEGA made(and some of us) z80 do it in ASM not QB which is 6 times slower than C and around 8...10 times slower than plain ASM...
well, the V30 has the complete 80186 instruction set, and some 286 instructions (though it's a 286 overdrive of a sorts, it doesn't seem to have every 286 instruction, so i wouldn't count on that.. i'd count more on it's 8086 instructions)
-
- Very interested
- Posts: 616
- Joined: Thu Nov 30, 2006 6:30 am
The 4-op mode isn't a true 4-op mode. It's closer to two 2-op channels playing at the same t ime than a true 4-op channel. Also, I believe OPL-2 is strictly 2-op only. The pseudo 4-op mode doesn't come into the picture until OPL-3.evildragon wrote:then shouldn't that mean that i should be able to get accurate YM2612 emulation on a 3812? it has the 4 operator mode, and has the sine wave...Shiru wrote:OPL and OPN is a different FM synth chips series. They not directly compatible, and has different set of synth abilities.
Main difference: OPN always was 4-op with one osc. waveform (sine); OPL was 2-op (with 4-op modes) and selectable osc. waveforms.
-
- Very interested
- Posts: 326
- Joined: Mon Mar 12, 2007 1:53 am
- Contact:
is it possible to perhaps interpolate the operators into two? i know it would sound less, but even this Mystic Cave recording I did this morning on a 3812, is pretty good..Mask of Destiny wrote:The 4-op mode isn't a true 4-op mode. It's closer to two 2-op channels playing at the same t ime than a true 4-op channel. Also, I believe OPL-2 is strictly 2-op only. The pseudo 4-op mode doesn't come into the picture until OPL-3.evildragon wrote:then shouldn't that mean that i should be able to get accurate YM2612 emulation on a 3812? it has the 4 operator mode, and has the sine wave...Shiru wrote:OPL and OPN is a different FM synth chips series. They not directly compatible, and has different set of synth abilities.
Main difference: OPN always was 4-op with one osc. waveform (sine); OPL was 2-op (with 4-op modes) and selectable osc. waveforms.
(and PS: why is my 3812 so noisy in the morning, and so nice and quiet in the evening? it's freaky!)
http://blackevilweredragon.spymac.com/mystic.mp3
-
- Very interested
- Posts: 326
- Joined: Mon Mar 12, 2007 1:53 am
- Contact:
for anyone wanting the files used, to do this on your own YM3812 (or even the OPL3, which I have NOT heard play, yet)
http://blackevilweredragon.spymac.com/YM3812.zip
these are DOSBOX ready.. if you do this on real hardware, make sure you have a YM3812, and the sound card driver installed correctly.. if you don't have a 3812, replace SBFMDRV with the propper driver that goes with your OPL series..
there's one added song in there i haven't recorded, and one missing too...
if there's any files in the zip that begin with a period, or "._", you can delete those.. they are weird things the OS X Finder puts in folders for some reason...
http://blackevilweredragon.spymac.com/YM3812.zip
these are DOSBOX ready.. if you do this on real hardware, make sure you have a YM3812, and the sound card driver installed correctly.. if you don't have a 3812, replace SBFMDRV with the propper driver that goes with your OPL series..
there's one added song in there i haven't recorded, and one missing too...
if there's any files in the zip that begin with a period, or "._", you can delete those.. they are weird things the OS X Finder puts in folders for some reason...
-
- Very interested
- Posts: 326
- Joined: Mon Mar 12, 2007 1:53 am
- Contact: