M1 for Genesis music

For anything related to sound (YM2612, PSG, Z80, PCM...)

Moderator: BigEvilCorporation

SmartOne
Very interested
Posts: 77
Joined: Sun Sep 21, 2008 5:18 am

M1 for Genesis music

Post by SmartOne » Sun Oct 12, 2008 5:36 pm

I don't know if you are aware of using M1 to emulate Genesis music by use of the actual roms, but the newest version sounds really great. I daresay it's the best way to listen to Genesis music yet based on my own ears.

How does it stack up technically with the new YM2612 findings and all?

http://www.bannister.org/forums/ubbthre ... 427&page=1

Newest version...? http://rbelmont.mameworld.info/m1078a10-w32.zip (Don't click the link. Visit the site and append the filename.)

GUI: http://www.e2j.net/downloads.html

Eke
Very interested
Posts: 884
Joined: Wed Feb 28, 2007 2:57 pm
Contact:

Post by Eke » Sun Oct 12, 2008 6:20 pm

How does it stack up technically with the new YM2612 findings and all?
well, Richard Belmont once came here so it should be based on the modification I made to the MAME ym2612 core, related to Nemesis findings and some other fixes I figured...

however, this was still not quite correct at the time being, they should probably update to my current implementation which is more accurate and fixes some issues,

...or better, ask Jarek to rewrite some parts of the core to get everything cleaner than I did :wink:

SmartOne
Very interested
Posts: 77
Joined: Sun Sep 21, 2008 5:18 am

Post by SmartOne » Sun Oct 12, 2008 6:28 pm

Yeah, I've listened to a few more games and have noticed some inaccuracies. Hopefully it gets better, though. :)

Arbee
Interested
Posts: 16
Joined: Sat Aug 02, 2008 5:35 pm
Location: USA
Contact:

Post by Arbee » Sun Oct 12, 2008 10:05 pm

Yeah, I've backported Eke's fixes from up to genplus-gx's fm.c rev 157 but MAME's in lockdown for 0.128 final right now so I can't submit it yet. I'm looking forward to the fixes for Battletech to appear in the meantime :) And once everything's caught up I'll post a new M1 with the latest.

Jarek's either too busy or not interested enough to help, but it seems like progress is being made just fine anyway.

Snake
Very interested
Posts: 206
Joined: Sat Sep 13, 2008 1:01 am

Post by Snake » Mon Oct 13, 2008 12:00 am

I imagine that Jarek already knew all this stuff anyway.

Arbee
Interested
Posts: 16
Joined: Sat Aug 02, 2008 5:35 pm
Location: USA
Contact:

Post by Arbee » Mon Oct 13, 2008 12:37 am

Yup. He did all his OPN reverse-engineering on the 2203 AFAIK so some details have turned out a bit different, but in general the areas where MAME's emulation wasn't right were things he already knew but didn't have a test case for (the abuse of PEG overflow that several GEMS games do is certainly something that no arcade game using the 2612 or 3834 did).

Snake
Very interested
Posts: 206
Joined: Sat Sep 13, 2008 1:01 am

Post by Snake » Mon Oct 13, 2008 7:50 am

Out of interest, you wouldn't happen to know what he tested on? Some real board containing a 2203? Or did he build something?

I'd *love* a custom made device containing several Yamaha chips ;)

Eke
Very interested
Posts: 884
Joined: Wed Feb 28, 2007 2:57 pm
Contact:

Post by Eke » Mon Oct 13, 2008 8:33 am

Here are the only things that I fixed in MAME implementation, beside the Phase overflow thingie, unused CSM mode and inaccurate SSG-EG already mentionned by Nemesis:

- LFO was not properly handled in CH3 special mode (mentionned as TODO in the code :wink: )

- Attack rate was not properly updated in some case (this was a code regression, older versions of fm.c were fine)

- Enveloppe Generator transition went wrong in some specific case: indeed, volume for phase transitions was only checked when updated, this will obviously sound wrong in games using extreme values, such as SL=0 with very slow rates ... btw, I 'm still not sure if the EG implementation behaves correctly in all case

Anyway, it seems like these bugs are due to the way he optimized his code and the fact that you need very specific situations to figure them out, which only happen if you test MANY games like we crazy people do :wink:

Arbee
Interested
Posts: 16
Joined: Sat Aug 02, 2008 5:35 pm
Location: USA
Contact:

Post by Arbee » Mon Oct 13, 2008 1:05 pm

Snake: he used a custom ISA card that was reconfigured for each chip under test. One reason he doesn't work on it now is that he doesn't actively use an ISA machine anymore. And yes, I wouldn't mind some (more modern) way to hook up real Yamaha chips to a PC and then drive them from a VST or something.

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Mon Oct 13, 2008 1:11 pm

Regarding making FM chips work in a PC, does anyone have any schematics of a simple LPT port hookup, or I'm gonna have to make one myself ? I have a spare chip (the SE-95 clone chip) and I'd like to make a LPT interface for it for easy testing... LPT is not missing from all modern machines, and you can still buy PCI LPT add on cards...
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

Shiru
Very interested
Posts: 786
Joined: Sat Apr 07, 2007 3:11 am
Location: Russia, Moscow
Contact:

Post by Shiru » Mon Oct 13, 2008 3:55 pm

TmEE co.(TM) wrote:does anyone have any schematics of a simple LPT port hookup
http://sue.niko.to/ps98/ - different schematics, not sure about LPT, but helpful
http://nedopc.org/nedopc/journal/NedoPC_4.pdf - here is article about YM2612-based 'LPT sound card' (schematics etc), but text in russian

TmEE co.(TM)
Very interested
Posts: 2440
Joined: Tue Dec 05, 2006 1:37 pm
Location: Estonia, Rapla City
Contact:

Post by TmEE co.(TM) » Mon Oct 13, 2008 5:30 pm

I think I'm going to build the variant in the russian article... hmmm.... it doesn't allow reads, I'm going for my way then. The PSG chip is a standard part, and this could possible be added too... only if I'd have that chip anywhere.
I just wanted some possible compatibility with existing stuff... but seems existing doesn't things I'd like to have.
Is there any info on the PCS8593 and TA-07 chips which are YM2612 compatible ?
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

Richter X
Newbie
Posts: 8
Joined: Thu Sep 11, 2008 9:06 pm
Location: Hagan, Georgia, USA

Post by Richter X » Tue Oct 14, 2008 1:59 am

Speaking of M1's genesis support. Since they already know the play addresses and all that stuff. Why couldn't someone use it to finally make a rippable music format for Sega Genesis games? It's been long overdue. LONG LONG overdue. :p

SmartOne
Very interested
Posts: 77
Joined: Sun Sep 21, 2008 5:18 am

Post by SmartOne » Tue Oct 14, 2008 3:19 am

Probably because then you'd presumably have two copies of basically the same data. The sound code in the actual rom and the ripped format. They probably figure most people have the roms anyway, so why create a new format?

HardWareMan
Very interested
Posts: 745
Joined: Sat Dec 15, 2007 7:49 am
Location: Kazakhstan, Pavlodar

Post by HardWareMan » Tue Oct 14, 2008 3:37 am

TmEE co.(TM) wrote:I think I'm going to build the variant in the russian article... hmmm.... it doesn't allow reads, I'm going for my way then. The PSG chip is a standard part, and this could possible be added too... only if I'd have that chip anywhere.
I just wanted some possible compatibility with existing stuff... but seems existing doesn't things I'd like to have.
Is there any info on the PCS8593 and TA-07 chips which are YM2612 compatible ?
You need just add an 74LS245 and route bits D0, D1 and D7 to LPT inputs (BUSY and etc.). I already told this to author of this scheme. This works (analog part you can and must do your way):
Image

Post Reply