Namco 106 (C163)

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
l_oliveira
Posts: 409
Joined: Wed Jul 13, 2011 6:51 am
Location: Brasilia, Brazil

Namco 106 (C163)

Post by l_oliveira »

CUSTOM 163 aka Namco 106 with SOUND.

The chip is a QFP (quad flat pack) with 48 pins

Code: Select all

               .----\/----. 
(n) SOUND   <- |01      48| -  CHR A14  (r) 
(r)  CHR A13<- |02      47| -  CHR A15  (r) 
(r)  CHR A12<- |03      46| -> CHR A16  (r) 
(r)  CHR A11<- |04      45| <- CHR A17  (r) 
(s) CHR A10 -> |05      44| -> CHR A18  (r) (Not sure about this as it could be a special enable for CHR RAM instead, NC on my board)
        GND  - |06      43| -> +5v 
(r) PRG A18 <- |07      42| -> CIRAM /CE(n) 
(r) PRG A17 <- |08      41| -> CHRROM/CE(r) 
(r) PRG A16 <- |09      40| <-  WRAM /CE(w) (Megami Tensei II working fine with 6264 /CE connected to this pin)
(r) PRG A15 <- |10      39| <- /IRQ     (n) 
(r) PRG A14 <- |11      38| <- CHR A10  (n) 
(r) PRG A13 <- |12      37| <- CHR A11  (n) 
(s)  PRG D7<-> |13      36| -> CHR A12  (n) 
(s)  PRG D6<-> |14      35| -> CHR A13  (n) 
(s)  PRG D5<-> |15      34| -> GND 
(s)  PRG D4<-> |16      33| -> GND 
(s)  PRG D3<-> |17      32| -> +5V           (This is used to power the waveform RAM. Can be used as backup memory if connected to a battery)
(s)  PRG D2<-> |18      31| -  GND
(s)  +5v    -  |19      30| -> M2       (n) 
(s)  PRG D1<-> |20      29| -> PRG R/W  (s) 
(s)  PRG D0<-> |21      28| -> PRG /CE  (n) 
       GND  -  |22      27| -> PRG A14  (n) 
(r) PRG /CE -> |23      26| -> PRG A13  (n) 
(s) PRG A11 -> |24      25| -> PRG A12  (s) 
               `----------'

Edit:

This morning I got Megami Tensei 2 work with 8KB WRAM added.

Some signals were changed from (n) to (s)
This mapper not only can change mirroring on the fly, it also divides the CIRAM in two 1KB pages accessible through the mapping mechanism. That caused me a lot of confusion yesterday. So CHR A10 goes to both ROM and CIRAM A10.

An 4K7 pull-up resistor is required on M2 pin.

Sound should be added in series with a 10K load resistor or else there will be no sound output from C163 on the RCA jack:

Famicom slot pin46>10k resistor > C146 pin 1 > Pin 45
Last edited by l_oliveira on Mon Jan 30, 2012 6:53 am, edited 2 times in total.
User avatar
l_oliveira
Posts: 409
Joined: Wed Jul 13, 2011 6:51 am
Location: Brasilia, Brazil

Post by l_oliveira »

Something to give people nightmares:

Front:
Image

Back:
Image
(Hanging' wire is one of the two "unknown" signals... the one I labeled "CHR A18")

Rolling Thunder rollin' on it:
Image

Image

Megami Tensei II:
Image
Edit: Fix outdated picture links
Last edited by l_oliveira on Thu Jul 24, 2014 3:22 pm, edited 3 times in total.
User avatar
Jarhmander
Formerly ~J-@D!~
Posts: 521
Joined: Sun Mar 12, 2006 12:36 am
Location: Rive nord de Montréal

Post by Jarhmander »

Heck, I read this just before going to bed. Guess I won't sleep after seeing this...
User avatar
infiniteneslives
Posts: 2102
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Post by infiniteneslives »

Impressive, and for everyone who said your solder skills lacked, I'd like to see them dead bug a 48-QFP like you just did...

So does Tengen's RAMBO-1 not have the same sound as the namco 106? I would hate to hear I'm missing something on my version of rolling thunder all these years.
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

72-pin cartridges lack the pins for extra sound. If there is a synth in RAMBO-1, it's not hooked up.
User avatar
infiniteneslives
Posts: 2102
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Post by infiniteneslives »

tepples wrote:72-pin cartridges lack the pins for extra sound. If there is a synth in RAMBO-1, it's not hooked up.
Yeah I guess I knew that. So really I guess I'm curious about the quality of sound difference between the two versions of Rolling Thunder. Have to add that to the reasons to buy a FC.
User avatar
l_oliveira
Posts: 409
Joined: Wed Jul 13, 2011 6:51 am
Location: Brasilia, Brazil

Post by l_oliveira »

Best thing ever was I go to Bakutendo today and see that way before I did this he was already having fun with the CUSTOM 163 chip and I could had saved half of the work using the information he collected already:

http://bakutendo.blog87.fc2.com/?q=namcot

:roll:
leonk
Posts: 83
Joined: Sat Mar 05, 2005 2:01 pm

Post by leonk »

Have you ever considered printing your own custom PCB (similar to what retrousb does)?

In the long run, surface mount soldering that mapper would be easier, and it will still boot up 20 years from now.
User avatar
MottZilla
Posts: 2835
Joined: Wed Dec 06, 2006 8:18 pm

Post by MottZilla »

That is crazy how you stuck it to the board with a huge glob of solder. LeonK is right, a custom PCB would be much better. Is there anywhere locally for you that could produce a prototype PCB for you for a reasonable price? Of course then you need to design the whole PCB.
plgDavid
Posts: 27
Joined: Tue Aug 07, 2012 11:01 am

Re: Namco 106 (C163)

Post by plgDavid »

Not sure if I'm following the need to unsolder the 163, but here is my version:
http://ploguechipsounds.blogspot.ca/201 ... -cart.html
User avatar
l_oliveira
Posts: 409
Joined: Wed Jul 13, 2011 6:51 am
Location: Brasilia, Brazil

Re: Namco 106 (C163)

Post by l_oliveira »

plgDavid wrote:Not sure if I'm following the need to unsolder the 163, but here is my version:
http://ploguechipsounds.blogspot.ca/201 ... -cart.html

If you are fortunate enough to get a cart whose ROMs are not epoxy blobs you can do that. I bet that cart was a copy of Dragon Ninja ... Is that correct ?
User avatar
rainwarrior
Posts: 8062
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: Namco 106 (C163)

Post by rainwarrior »

I forgot to say earlier but this thread is pretty awesome. Good job on that QFP.
plgDavid
Posts: 27
Joined: Tue Aug 07, 2012 11:01 am

Re: Namco 106 (C163)

Post by plgDavid »

l_oliveira wrote: If you are fortunate enough to get a cart whose ROMs are not epoxy blobs you can do that. I bet that cart was a copy of Dragon Ninja ... Is that correct ?
Thats correct! Thanks to NesCartDB, I was able to make a proper choice.
User avatar
l_oliveira
Posts: 409
Joined: Wed Jul 13, 2011 6:51 am
Location: Brasilia, Brazil

Re: Namco 106 (C163)

Post by l_oliveira »

plgDavid wrote:
l_oliveira wrote: If you are fortunate enough to get a cart whose ROMs are not epoxy blobs you can do that. I bet that cart was a copy of Dragon Ninja ... Is that correct ?
Thats correct! Thanks to NesCartDB, I was able to make a proper choice.

I had to pick all of the carts I could and I lucked to find one that had a QFP chip and epoxy roms. So I did the mess with the wires. ;)
Post Reply