From Nesdev wiki
Legend:
-------
(s) means this pin connects to the System
(r) this only connects to the ROM
(w) this is a SRAM/WRAM connection only
PRG : these connect to the PRG ROM and/or fami's PRG pins
WRAM : this hooks to the WRAM
Note: There is a 3.58Mhz ceramic resonator connected to the "X1" and "X2"
pins. it is the three-pin style with internal caps tied to the third pin
which is grounded.
Chip is physically marked: "VRV VII 053982"
.----\/----.
*1 (RAM&s) CHR /OE - |01 48| - NC
*1 (RAM&s) CHR /CE - |02 47| - M2 (s)
GND - |03 46| - /CE WRAM (w)
(s) R/W - |04 45| - PRG /A15 (s) (aka /CE)
(s) /IRQ - |05 44| - PRG ROM /CE (r)
(s) CIRAM A11 - |06 43| - Audio Out
(s) PD0 - |07 42| - +5V
(s) PD1 - |08 41| - NC
(s) PD2 - |09 40| - NC
(s) PD3 - |10 39| - NC
(s) PD4 - |11 38| - NC
(s) PD5 - |12 37| - NC
(s) PD6 - |13 36| - CHR RAM A12
(s) PD7 - |14 35| - CHR RAM A11
+5V - |15 34| - CHR RAM A10
(s) PRG A5 - |16 33| - CHR A12 (s)
Crystal X2 - |17 32| - CHR A11 (s)
Crystal X1 - |18 31| - CHR A10 (s)
(s) PRG A4 - |19 30| - +5V
(r) PRG ROM A13 - |20 29| - PRG A14 (s)
(r) PRG ROM A14 - |21 28| - PRG A13 (s)
(r) PRG ROM A15 - |22 27| - PRG A12 (s)
(r) PRG ROM A16 - |23 26| - PRG ROM A18 (r)
GND - |24 25| - PRG ROM A17 (r)
| |
`----------'