Namcot 163 family pinout
Namcot 163
.----\/----.
(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) (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)
`----------'