Best way for testing a YM2612 emulator?
Moderator: BigEvilCorporation
Best way for testing a YM2612 emulator?
Hi,
I'm writing an emulator for the YM2203 sound chip, which then will evolve into a YM2608/2612 emulator (the YM2203 is the first chip in the OPN family and I need it for adding "1943" to my arcade emulator Tickle).
I've spent the last weeks reading all I could find about this chip and writing small prototypes to test parts of the emulator. The material published in this forum is awesome (thanks Nemesis!) but still leaves me with some big doubts especially in the area of self-feedback and using the output of an operator to phase modulate another one.
It's my understanding that no emulator gets the YM2612 100% right, but if you know one please let me know because the question I'm about to ask is: could you recommend a good hardware for easily test a real YM2612 chip?
The thing I dream about is a YM2612 that interfaces to a PC with a USB device... that would be fantastic! But I think that's just a dream... what do you guys use?
I'm writing an emulator for the YM2203 sound chip, which then will evolve into a YM2608/2612 emulator (the YM2203 is the first chip in the OPN family and I need it for adding "1943" to my arcade emulator Tickle).
I've spent the last weeks reading all I could find about this chip and writing small prototypes to test parts of the emulator. The material published in this forum is awesome (thanks Nemesis!) but still leaves me with some big doubts especially in the area of self-feedback and using the output of an operator to phase modulate another one.
It's my understanding that no emulator gets the YM2612 100% right, but if you know one please let me know because the question I'm about to ask is: could you recommend a good hardware for easily test a real YM2612 chip?
The thing I dream about is a YM2612 that interfaces to a PC with a USB device... that would be fantastic! But I think that's just a dream... what do you guys use?
Re: Best way for testing a YM2612 emulator?
Funny...GreenLine wrote:The thing I dream about is a YM2612 that interfaces to a PC with a USB device... that would be fantastic! But I think that's just a dream... what do you guys use?
I watched Luis presentation at Notacon06 last week end : he made a USB VGM player with a YM2612, a PSG and an Arduino
Look at SigFLUP youtube channel (http://www.youtube.com/user/assemblyassembly) or http://www.dreamincode.net/forums/topic ... t%26%2333/, (audio start part 4 from 08:00)
Since I'm in USB part right now, I think it will be totally possible to make a complex USB device with a Serial part to send data and an Audio In part to play the sound on PC, directly fron the chips output
I really would like to try this one...if I find time and a genny ready to lost its sound hearts
Arduino isn't 'true' usb
if you want to work on true usb look at thing like Teensy (http://www.pjrc.com/teensy/) or USnooBie (http://frank.circleofcurrent.com/usnoobie/)
They are Arduino compatible. The easiest way to learn stuff...
I swapped to pure C after that, mainly to use USB library LUFA....who has all the code you need for AudioIN (http://www.fourwalledcubicle.com/files/ ... evice.html)
no, no, I'm not telling you "DO IT"
if you want to work on true usb look at thing like Teensy (http://www.pjrc.com/teensy/) or USnooBie (http://frank.circleofcurrent.com/usnoobie/)
They are Arduino compatible. The easiest way to learn stuff...
I swapped to pure C after that, mainly to use USB library LUFA....who has all the code you need for AudioIN (http://www.fourwalledcubicle.com/files/ ... evice.html)
no, no, I'm not telling you "DO IT"
I like the Teensy! What holds me back is having the thing shipped all the way to Italy, not much for the extra cost but rather for having to wait for weeks and then risking that the package never arrives (shipping by courier is about $70, too much for me).
The Arduino Uno (http://arduino.cc/en/Main/ArduinoBoardUno) on the other hand is easy to find around here so even if it's more expensive eventually it's going to cost me less and... it's in the LUFA library support list! Still I have to understand, why it's not true USB?
The Arduino Uno (http://arduino.cc/en/Main/ArduinoBoardUno) on the other hand is easy to find around here so even if it's more expensive eventually it's going to cost me less and... it's in the LUFA library support list! Still I have to understand, why it's not true USB?
just read the doc about the UNO : you can go ahead !
no a lot of pins, but with IO Expander, it won't be a problem (work like a charm on teensy : I use only 7 pins for cartridge read/write...)
what I call not true usb ? exactly what they wrote on UNO doc :
no a lot of pins, but with IO Expander, it won't be a problem (work like a charm on teensy : I use only 7 pins for cartridge read/write...)
what I call not true usb ? exactly what they wrote on UNO doc :
no need for this $$^*$ FTDI anymore! so you can write any kind of USB hardware (mass storage, audio,....), not ONLY serial oneThe Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Instead, it features the Atmega8U2 programmed as a USB-to-serial converter
-
- Very interested
- Posts: 745
- Joined: Sat Dec 15, 2007 7:49 am
- Location: Kazakhstan, Pavlodar
Well... first things first! Yesterday I bought a Sega Genesis and today I spent quite a bit of time playing Golden Axe and other titles... what a wonderful system it is! There is no way I'm going to open and destroy that thing, so now I'll have to find another copy or some other way to get my hands on a YM2612. Next week I'll probably place the order for the Arduino (or Teensy, I'm still considering it) but whatever the choice it's not going to arrive soon so I still have two or three more weeks to try and get the Yamaha chip. Thanks again for your help, will try to keep you posted on the project progress!
-
- Very interested
- Posts: 58
- Joined: Thu May 12, 2011 2:25 pm
- Location: Buenos Aires, Argentina
- Contact:
Check the mother revision. I mean, are you sure that the Genesis that you bought does not have the VA7 revision of the motherboard?, because there's no YM2612 inside of that mother, only a nasty ASIC based sound generator.GreenLine wrote:Well... first things first! Yesterday I bought a Sega Genesis and today I spent quite a bit of time playing Golden Axe and other titles... what a wonderful system it is! There is no way I'm going to open and destroy that thing, so now I'll have to find another copy or some other way to get my hands on a YM2612. Next week I'll probably place the order for the Arduino (or Teensy, I'm still considering it) but whatever the choice it's not going to arrive soon so I still have two or three more weeks to try and get the Yamaha chip. Thanks again for your help, will try to keep you posted on the project progress!
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
The ASIC has YM3438 in it, which fixes quite a few bugs of YM2612, which results in cleaner sound... now if analog sides of those later models wren't so crap...
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: 58
- Joined: Thu May 12, 2011 2:25 pm
- Location: Buenos Aires, Argentina
- Contact:
Well, if the sound is better or bad compared to the YM2612 is another history (I think that sounds like crap compared to the YM2612). GreenLine is asking for testing a YM2612, so, I think that he needs a Mother revision with the YM2612, indeed.TmEE co.(TM) wrote:The ASIC has YM3438 in it, which fixes quite a few bugs of YM2612, which results in cleaner sound... now if analog sides of those later models wren't so crap...
Also, play around with the ASIC based is a contrary history, the pinout is completely different than the YM2612, and inside that ASIC chip is not only the sound generator, so, for FM SOUND programming tests, it's a waste of time and a lose of focus.
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
You should take some time to read and listen some of the samples you can find here :
http://nfggames.com/forum2/index.php?topic=3719.0
Mega Turrican : http://www.fileden.com/files/2008/4/21/ ... rrican.ogg
There's some comparison recordings of Thunder Force IV aswell, between MD1 VA4, MD2 VA1 and MD2 VA1+CCAM
http://nfggames.com/forum2/index.php?topic=3719.0
Mega Turrican : http://www.fileden.com/files/2008/4/21/ ... rrican.ogg
There's some comparison recordings of Thunder Force IV aswell, between MD1 VA4, MD2 VA1 and MD2 VA1+CCAM
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
Ohi Delek... you just sent a shiver down my spine! I don't know what I have, but I'll be able to post some pictures in a few hours. I can only say that it does seem to sound good to my old ears!Delek wrote:Check the mother revision. I mean, are you sure that the Genesis that you bought does not have the VA7 revision of the motherboard?, because there's no YM2612 inside of that mother, only a nasty ASIC based sound generator.