A forum to show appreciation and respect for classic video game systems and games. Whether you're a modder, a programmer, or just a collector, this forum is about appreciating classic games and systems in a constructive community environment.
 
HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  

Share | 
 

 Gimmick! famicom perfect reproduction cart!

View previous topic View next topic Go down 
AuthorMessage
Drakon
Admin
Admin
avatar

Posts : 1607
Join date : 2012-01-25
Location : Canada

PostSubject: Gimmick! famicom perfect reproduction cart!   Fri Jan 18, 2013 11:51 am

I have no clue if this'll work or not but there's a good chance it will. The japanese cart of gimmick! comes with a chip in the cart that adds extra audio to the famicom. The problem is that this chip was only ever used in gimmick! famicom carts and nothing else. A gimmick! famicom cart costs a small fortune to get your hands on due to rarity, the game isn't fun enough to justify the cost. As good as the nes powerpak may be, it doesn't recreate custom famicom audio chips 100% like the real thing. I've always wanted to experience gimmick! using the actual audio chip.

The audio chip in gimmick is called the sunsoft 5b, the 5b is part of a series of compatible chips which are the fme 7, the 5a, and the 5b. All three of these chips are compatible with each other, the fme 7 has no audio capability and the 5a nobody knows if it can produce audio or not (probably not). I looked up the sunsoft 5b, on the nes cart database they have a picture of a gremlins 2 famicom cartridge that came with a sunsoft 5b inside of it. I read up on this, a lot of people posted that nesdev that they bought gremlins 2 famicom carts but found they only got the sunsoft 5a, so it seems that finding a gremlins 2 with a sunsoft 5b is very rare. I'm guessing sunsoft only stuck the 5b chip into a gremlins 2 cart when they ran out of 5a chips.

I found a cheap gremlins 2 famicom cart on ebay and bought it, if it didn't have the 5b in it that wouldn't be a huge deal the game is still pretty fun. I opened up the cart annnnddddd.....



Apparently it was my lucky day.

I did also have a backup plan, it's possible to take a cart with a fme7 / sunsoft 5a and wire up a stand alone version of the audio chip that gimmick uses, but it's 10x the amount of work and nobody knows how accurate it sounds compared to the sunsoft 5b. The whole idea is being able to build something that sounds 100% identical to the real gimmick! famicom cartridge.

You can see in this above picture that I socketed the maskroms, that's because I'm going to be burning eproms of gimmick (when my ebay eproms show up) and wiring them in. Here's some pictures showing that everything still works after socketing:





Once I get the eproms wired up and working I'll probably remove the sockets and hard solder in the eproms since the pcb won't fit in the case with sockets installed. The eprom wiring is going to be a bit of a b#tch to do. After desoldering the maskroms I studied the wiring of the eproms with the help of the very useful nesdev documents.

Using a combination of this maskrom / eprom pinout:

http://wiki.nesdev.com/w/index.php/Mask_ROM_pinout

This maskrom pinout:

http://nesdev.com/NES%20ROM%20Pinouts.txt

This sunsoft 5b / fme7 pinout:

http://wiki.nesdev.com/w/index.php/Sunsoft_5_pinout

And this nes / famicom cartridge slot pinout:

http://www.benheck.com/Downloads/NES_Famicom_Pinouts.pdf

I was able to rework the pinouts of the maskroms used on this gremlins 2 pcb.....yes this part was a massive amount of work where I learned a lot. I also took my batman return of the joker fme 7 nes cart, desoldered the maskroms and the fme 7, and took a picture:



Then I installed sockets for the maskroms and re-soldered on the fme7 and everything works fine. Studying the batman return of the joker pcb both maskroms use standard eprom wiring. I tested this by taking the maskroms from the return of the joker pcb, sticking them into my eprom burner / dumper, dumping the roms, taking the return of the joker rom I downloaded from the internet, splitting that downloaded rom into chr and prg, and comparing my maskrom dumps to the split rom from the internet. The crc's of my dumps are 100% identical to the split internet rom meaning my files are 100% identical so the dumps are good. Since I stuck the maskroms into my eprom dumper without rewiring this confirms that the maskrom spots on the return of the joker pcb use standard eprom wiring and not the funky nes wiring.

Studying the gremlins 2 pcb had interesting results. The gremlins 2 pcb the chr maskrom uses standard eprom wiring but the 128k prg rom uses custom nes wiring. I did the same rom dumping test with my gremlins 2 chr maskrom and that matched the chr rom I downloaded from the internet as well. The prg maskrom spot for gremlins 2 uses the custom 28 pin 128k nintendo wiring, so wiring up a 32 pin 256k eprom into that spot will require a little rewiring magic to get it going. Also there's an a17 pin on the sunsoft 5b that should get connected to the eprom, the a17 pin wasn't connected before because 128k roms don't use a17 but 256k roms do.

The other thing to worry about is the audio circuit. Me and Ace looked at the gimmick! famicom pcb pictures on the nes cart database and reworked as much of the audio mixing circuit as we could:

*deleted I found the schematic*

We managed to rework almost the entire circuit. The two capacitors we don't know the strengths of but most audio stuff uses 10 uf caps. The only other unknown thing is which end of the 100k ohm resistor connects to which pin of the sunsoft 5b chip. One end connects to the 5b pin 3, the other to 5b pin 18. There's only two possible ways to wire this so a little trial and error should get that sorted out.

I ordered the proper eproms and resistors on ebay last night. So I won't be able to work on this until the hardware shows up. The first challenge will be converting the cart into gimmick! I have the wiring worked out but you never know until you actually wire it up and see if it works. Once the game conversion gets done then I can wire up the audio circuit and see how that sounds.


Last edited by Drakon on Sat Jan 19, 2013 12:32 am; edited 1 time in total
Back to top Go down
View user profile http://16bitgamer.canadian-forum.com/
Drakon
Admin
Admin
avatar

Posts : 1607
Join date : 2012-01-25
Location : Canada

PostSubject: Re: Gimmick! famicom perfect reproduction cart!   Sat Jan 19, 2013 12:31 am

I went into google images and typed in "sunsoft 5b". And I came across this....



http://applesorce.b.sourceforge.jp/2011/09/27/%e3%82%b5%e3%83%b3%e3%82%bd%e3%83%95%e3%83%88%e3%81%ae%e6%8b%a1%e5%bc%b5%e9%9f%b3%e6%ba%90%e3%81%ae%e5%b0%81%e5%8d%b0%e3%82%92%e8%a7%a3%e3%81%84%e3%81%a6%e9%b3%b4%e3%82%89%e3%81%99%e6%96%b9%e6%b3%95/

Well then...that takes care of that.
Back to top Go down
View user profile http://16bitgamer.canadian-forum.com/
Drakon
Admin
Admin
avatar

Posts : 1607
Join date : 2012-01-25
Location : Canada

PostSubject: Re: Gimmick! famicom perfect reproduction cart!   Sat Jan 19, 2013 9:17 pm

Found out that I need to disconnect pin 2 from vcc but the trace is under the sunsoft 5b. Desoldered the chip:



Cut the trace, resoldered, added pins to all the 5b pins I'll need to tap to wire up audio and wire in eproms:



And yes it still runs gremlins 2 just fine.
Back to top Go down
View user profile http://16bitgamer.canadian-forum.com/
Drakon
Admin
Admin
avatar

Posts : 1607
Join date : 2012-01-25
Location : Canada

PostSubject: Re: Gimmick! famicom perfect reproduction cart!   Thu Jan 31, 2013 9:46 pm

Back to top Go down
View user profile http://16bitgamer.canadian-forum.com/
Sponsored content




PostSubject: Re: Gimmick! famicom perfect reproduction cart!   

Back to top Go down
 
Gimmick! famicom perfect reproduction cart!
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Perfect 2012
» Perfect 2013
» Perfect 2015 books are released !
» The Perfect Girl (Genie Meanie Miney Mo Part 2)
» Building the Perfect Sandbox/Open-world Game

Permissions in this forum:You cannot reply to topics in this forum
 :: Projects / Showcase :: Works in Progress-
Jump to: