Page 1 of 1

Namco 106 (C163)

Posted: Sat Jan 28, 2012 5:46 pm
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

Posted: Sun Jan 29, 2012 7:12 pm
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

Posted: Sun Jan 29, 2012 9:07 pm
by Jarhmander
Heck, I read this just before going to bed. Guess I won't sleep after seeing this...

Posted: Sun Jan 29, 2012 10:22 pm
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.

Posted: Sun Jan 29, 2012 10:31 pm
by tepples
72-pin cartridges lack the pins for extra sound. If there is a synth in RAMBO-1, it's not hooked up.

Posted: Sun Jan 29, 2012 10:50 pm
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.

Posted: Thu Feb 16, 2012 6:07 pm
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:

Posted: Wed Feb 22, 2012 8:36 pm
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.

Posted: Wed Feb 22, 2012 9:16 pm
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.

Re: Namco 106 (C163)

Posted: Tue Aug 07, 2012 11:04 am
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

Re: Namco 106 (C163)

Posted: Tue Aug 07, 2012 3:25 pm
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 ?

Re: Namco 106 (C163)

Posted: Tue Aug 07, 2012 4:33 pm
by rainwarrior
I forgot to say earlier but this thread is pretty awesome. Good job on that QFP.

Re: Namco 106 (C163)

Posted: Tue Aug 07, 2012 5:36 pm
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.

Re: Namco 106 (C163)

Posted: Tue Aug 07, 2012 6:06 pm
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. ;)