MMC1,2,3,4/Sunsoft-5B reproduction circuit boards. INL-ROM

A place that you can discuss reproduction of classic titles or "licensed-for-reproduction" homebrew for personal use.

Moderators: B00daW, Moderators

Forum rules
1. NO BLATANT PIRACY. This includes reproducing homebrew less than 10 years old, with the exception of free software.
2. No advertising your reproductions, with the exception of free software.
3. Be nice. See RFC 1855 if you aren't sure what this means.
Post Reply
User avatar
nintendo2600
Posts: 367
Joined: Mon Mar 30, 2009 4:40 pm

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by nintendo2600 »

MottZilla wrote:I believe he was talking about "adding" the pin. That's not a reliable method in the long term. But he was probably pointing out that the "rare fully pinned SMB2" cartridges are not the only way to make bootleg FF3 English carts.
bingo!
User avatar
infiniteneslives
Posts: 2102
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by infiniteneslives »

Update:

Finally got my JTAG and EPROM programmer issues resolved to allow me to get some functionality out of my prototype. Still have a few bugs to work out, but with the mess of wires I have I'm not sure if it's worth the effort until I get boards in hand. It'll certainly be much easier.

Bit the BIG bullet this past week on a large order of parts and boards. Lets just say there should be enough to go around for a while :)

Boards will be here in a few weeks, I'm excited to see how they turn out!
If you're gonna play the Game Boy, you gotta learn to play it right. -Kenny Rogers
User avatar
infiniteneslives
Posts: 2102
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by infiniteneslives »

GOOD NEWS!!!

Well the boards showed up Monday and I got the first one up and running perfectly this evening. :D

As I feared the yellow turned out a little more like lime when there isn't copper below the solder mask. But oh well, I'm still pretty happy with how they turned out!

I did have one bonehead error with ONE thing, the dang battery. During design I changed it I don't know how many times... Anyways I messed it up and got the polarity backwards. The silkscreen is right, i just mixed it up in the schematic and didn't catch it. Not that big of deal though, easy fix with an exacto knive. Not to mention since I used surface mount components for the battery backing circuitry I had already planned on assembling all of those parts for anyone who requests battery backing. To make my loss your gain I'll probably just provide atleast the clip and soldering for free for anyone who thinks the might maybe at some point choose to use the battery backing. If you know you'll NEVER use it and would rather me not solder on the clip then I can leave it off at your own risk.

Anyways I've only tested and ran the full fledged MMC3 with 512KB PRG-ROM and 256KB CHR-ROM, with WRAM. So I've still got to test out a few more configurations on the MMC3. Then I'll move on to MMC1, discretes, customs, etc...

My goal is to make up a wiki for them to explain exactly how each jumper works and provide pictures with each board config and such. There is quite a bit of configurability on these to allow them from going to NROM, CNROM, BNROM, AxROM, UxROM, MMC1, MMC3, CHR RAM/ROM, 28-or-32 DIP PRG and CHR memories. Four screen, 32KB WRAM, ENIO, yada yada yada... So all those solder jumpers you see on the bottom are what select all those choices. I think I labeled things pretty well with silk screen, and ALL the jumpers are on the bottom for easy access. I have an unfair advantage since I designed them, but based on the silk I can make all the jumper choices without needing to look a the schematic or board layout, which I will be providing to some degree to keep people from needing to reverse engineer the thing to figure out what signal goes where. But I'm thinking the wiki will be more useful for that stuff. Additionally if you designate which mapper/board and memories you plan to use I'll configure all the solder jumpers for you at no charge.

Other than that I for anyone interested in getting boards supplied with socketed memory/cpld's like seen in the photos I'll be allowing that as an option for a small cost. That would allow someone to use one board and swap out mappers and such as desired. Or if a 'new' mapper were to come out like the hybrid MMC3 we're discussing currently, you could just buy new CPLD's and slap em in yourself. The CPLD sockets will fit inside a case but the DIP ROM sockets obviously don't...

Things are in pretty good shape now. I will be ready to start selling them in a few weeks. If there's a specific mapper/board you'd like to see tested sooner vice later feel free to chime in. TNROM will be one of the first ones up now that I've basically got TNROM/TKROM verified.

Image

Image

Image
If you're gonna play the Game Boy, you gotta learn to play it right. -Kenny Rogers
SnoopKatt
Posts: 47
Joined: Tue Aug 14, 2012 8:37 pm

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by SnoopKatt »

That's great to hear! I love that everything just drops in as well. Good stuff :D
User avatar
MottZilla
Posts: 2835
Joined: Wed Dec 06, 2006 8:18 pm

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by MottZilla »

Awesome. Congrats on getting this far. I'll be looking forward to hearing more. Shame about the battery polarity mix up but it could have been worse.
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by tokumaru »

Nice board!
User avatar
rainwarrior
Posts: 8062
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by rainwarrior »

It's beautiful!
User avatar
thefox
Posts: 3139
Joined: Mon Jan 03, 2005 10:36 am
Location: Tampere, Finland
Contact:

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by thefox »

All in one board, nice!
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
User avatar
infiniteneslives
Posts: 2102
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by infiniteneslives »

Thanks for the compliments!
MottZilla wrote:Awesome. Congrats on getting this far. I'll be looking forward to hearing more. Shame about the battery polarity mix up but it could have been worse.
Yeah definitely could have been worse, I'm glad it ended up being something that I can repair that's mapper independent. So I can make the repair and hopefully not concern people much. It'll only cost me the few mins to do fix each board. Not sure the best way to handle the fact people might not even want the battery clip on there though. Because the components for the battery backing are SMT as well, and it doesn't make sense to put those on for every board if people don't intend to use it at all. The battery clip it's self is pretty cheap, I'd be more than willing to take the hit on one of those for each board I ship, making it so you'd basically have to opt out to not get the clip. Then getting the components to support battery backing would be optional with the associated (small) cost. At least that way there wouldn't be the conundrum of changing one's mind if you actually wanted battery backing. The clip would always be there as if it were considered part of the PCB, and you could add SMT or through hole components on your own down the road if desired. My real goal is to prevent people from being concerned/doubtful of the board/battery backing. If I can spend the cost of the clip to alleviate those concerns I'd be happy. Do you guys have any other suggestions? Or does this sound like a decent solution?

thefox wrote:All in one board, nice!
Yeah I think I always had the misconception that making a board that supported nearly every licensed mapper wasn't very possible. But once I got working on this thing it really started to show it was possible and not actually that hard. It really helps having the CPLDs high configurability. Additionally the fact I'm using 2 separate CPLDs really helps out. Because you don't have to have one big (expensive) CPLD to allow for a 'simple' MMC1. You could have something excessively more powerful than discrete for only ~1.20 (36Mcells). Or you can have a FULL MMC3 with two larger CPLDs for $2.25 x 2 = $5.50 (144 Mcells total). With all those choices it allows the mapper cost to be trimmed to as low as possible. The large perf area is just the icing on the cake that allows for practically anything. Since the PCB supports them 'infinite' configurability I was able justify the investment to buy in fairly high quantities to get the best cost per PCB and pass the savings on to everyone.

I'll be keeping the same prices I posted a few pages back for small quantity/individual sales since everything went as planned. I'll probably have some deal where if you buy so many boards you get one more free as well. If anyone is interested in using them for publishing a homebrew we can negotiate cost, but basically I'd only be looking to charge for labor costs essentially.

I'm going to be making a few batches this week. I'm actually using a $5 toaster oven I picked up from goodwill to solder on the surface mount components :) I can't believe how well it works! Just bake until all the solder melts then shut her down to cool. The key is in the solder paste stencil I had made up that makes sure you've got just the right amount of solder paste. I'll have to post some pictures to share the process with you guys.
If you're gonna play the Game Boy, you gotta learn to play it right. -Kenny Rogers
User avatar
nintendo2600
Posts: 367
Joined: Mon Mar 30, 2009 4:40 pm

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by nintendo2600 »

I think that is the sexiest PCB I've ever seen! :shock: Congrats and count me in for a at least a half dozen to start. :mrgreen:
User avatar
infiniteneslives
Posts: 2102
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by infiniteneslives »

Some good news!

Sat down with good ol' FME7 this evening. I was able to get nearly the entire chip without much trouble. I've tested and ran 256KB PRG, 256KB CHR, and 8KB WRAM and it's working great! At the moment I wasn't able to fit the 512KB PRG in there, I think I can fit it in if desired but it might come at the cost of something minor that's not necessary. I might be able to fit it in if I mix things up again between the two CPLDs. But it plays both games that used this mapper, and any desire to have 512KB would be a homebrew so things could be modified as desired for the full 512KB PRG if desired. Actually it wasn't the number of macrocells that was causing fitting problems with the extra PRG A18 bit, it was trying to "map 64 equations into 5 function blocks" that prevented it from fitting. I've ran into that a few times, so if I mix things around enough I can probably fit everything in, but should be good enough for now ;)

Next task is to iron out the details of slapping the YM2419/8910 FM synth on the board to get the GLORIOUS Sunsoft5 with full audio! :P
If you're gonna play the Game Boy, you gotta learn to play it right. -Kenny Rogers
User avatar
MottZilla
Posts: 2835
Joined: Wed Dec 06, 2006 8:18 pm

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by MottZilla »

That is good news. =)
SnoopKatt
Posts: 47
Joined: Tue Aug 14, 2012 8:37 pm

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by SnoopKatt »

That sounds pretty epic! Good to hear it's going well :)
User avatar
infiniteneslives
Posts: 2102
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Re: MMC3 (or similar) reproduction circuit boards. INL-ROM

Post by infiniteneslives »

Even better news:
infiniteneslives wrote:Next task is to iron out the details of slapping the YM2419/8910 FM synth on the board to get the GLORIOUS Sunsoft5 with full audio! :P
Mark that one off the list ;) LONG LIVE THE JOKER!!!

Image

Image

So the clock divider and $C000/E000 decoding is all within the CPLD. One other bonus I forgot to point out that I made use of here is the 3.3V regulator provides a reset signal at power up. So that's the blue wire you see on top that resets the synth, you could use it for anything if desired. But you can also choose the power up state of the CPLD cells internally so it's not of much use except for cases like this.

A few wires here and there but really not too shabby. The mixing resistors are all below the 8910, but they'd fit nicely elsewhere if I had concerns about closing it up in a case. The bottom side of the PCB would actually have been even better than the route I took.

Wowzers I can't believe the how awesome it sounds coming out of the NES. I knew it was supposed to be good but wow. I've only heard it in emulators and youtube previously, hearing it from the NES is like hearing your favorite band in person for the first time. :D Awhile back I heard that they really didn't use the 8910 for much more than percussion, not sure what they were smoking...
If you're gonna play the Game Boy, you gotta learn to play it right. -Kenny Rogers
User avatar
rainwarrior
Posts: 8062
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: MMC3/Sunsoft-5B reproduction circuit boards. INL-ROM

Post by rainwarrior »

infiniteneslives wrote:Wowzers I can't believe the how awesome it sounds coming out of the NES. I knew it was supposed to be good but wow. I've only heard it in emulators and youtube previously, hearing it from the NES is like hearing your favorite band in person for the first time. :D Awhile back I heard that they really didn't use the 8910 for much more than percussion, not sure what they were smoking...
Actually, they used it for 3 square channels in Gimmick!, and ignore the noise and envelope generators. The reasons are sensible, I think. The 2A03 already has noise. The envelope generator as an envelope is kind of made obsolete by volume macros. The envelope generator as bass is okay, though at the given clock rate it's really hard to tune. However, Sunsoft already had a strong tradition of DPCM bassline technology, so it wasn't needed anyway.

The other thing is it's a YM2149F, not an AY-3-8910, and the reason this is important is that the YM2149 has a pin setting that divides the input clock by half (which is how it is used in the Sunsoft 5B), so if you're using an AY-3-8910 you'll need to manually divide the clock if you want the correct pitch.
Post Reply