Expanding Game_Music_Emu to handle MMC5 and VRC7

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

Post Reply
User avatar
p1xl
Posts: 32
Joined: Sat May 15, 2010 4:13 pm
Location: U.S./Canada
Contact:

Expanding Game_Music_Emu to handle MMC5 and VRC7

Post by p1xl »

I'm looking to expand Blargg's Game_Music_Emu to handle the MMC5 and VRC7 audio portions. This is for my FlashNSF player.

While I don't have much experience in writing emulators, I'm willing to give it a go. But I wondered, since foo_gep uses Game_Music_Emu and foo_gep plays both MMC5 and VRC7 fine, has this been done already? And if so can I have access to those patches/source files?
User avatar
kode54
Posts: 67
Joined: Mon Jun 06, 2005 12:47 pm
Contact:

Post by kode54 »

An unreleased version already supports those, as well as FDS. I'm not sure why it hasn't made it into a public release yet.
User avatar
blargg
Posts: 3717
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA
Contact:

Post by blargg »

Because the author's life situation has made it difficult to get much of anything done. Feel free to make available any modified versions, with some kind of distinct version number.
User avatar
kode54
Posts: 67
Joined: Mon Jun 06, 2005 12:47 pm
Contact:

Post by kode54 »

Sorry, forgot about real life issues as an excuse. I thought it was a lack of motivation. :[

A friend has already shared the version I'm working with to the XBMC bug tracker, but I haven't actually versioned it. I really should version everything and maybe add some documentation as well.

Do you think it's significantly modified enough for a 0.6? (To save me a little bit of time, what method did you use to replace $vers in your file headers with the actual version number?)

Another person also suggested that we should be using a public source code repository and contribute our work towards that, rather than swapping archives around. That Google Code page you have set up looks like it could work for that purpose, since it already has a code repository. Hmm...
User avatar
blargg
Posts: 3717
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA
Contact:

Post by blargg »

The main issue is keeping the C (gme.h) API stable, and that makefile system someone else contributed to the google code repository version. I just can't deal with it at all right now.
User avatar
p1xl
Posts: 32
Joined: Sat May 15, 2010 4:13 pm
Location: U.S./Canada
Contact:

Post by p1xl »

Is there any hope that I could have access to this code? Several people have been asking me to support these expansion chips. I don't mind if things are a little messy.

Thanks!
Post Reply