VRC7 pinout
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"
.----\/----.
(RAM&s) CHR /OE -> |01 48| -- NC
(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| -> CHR RAM/ROM A17 (r)
(s) PD2 -> |09 40| -> CHR RAM/ROM A16 (r)
(s) PD3 -> |10 39| -> CHR RAM/ROM A15 (r)
(s) PD4 -> |11 38| -> CHR RAM/ROM A14 (r)
(s) PD5 -> |12 37| -> CHR RAM/ROM A13 (r)
(s) PD6 -> |13 36| -> CHR RAM/ROM A12 (r)
(s) PD7 -> |14 35| -> CHR RAM/ROM A11 (r)
+5V -- |15 34| -> CHR RAM/ROM A10 (r)
(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)
`----------'