MMC1 pinout: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (whitespace fixup)
m (switch to using CPU/PRG and PPU/CHR for extra clarity)
Line 5: Line 5:
                 .--\/--.
                 .--\/--.
   PRG A14 (r) <- |01  24|  - +5V
   PRG A14 (r) <- |01  24|  - +5V
   PRG A15 (r) <- |02  23| <- M2/Phi2/CPU Clk       
   PRG A15 (r) <- |02  23| <- M2 (n)
   PRG A16 (r) <- |03  22| <- PRG A13 (s)
   PRG A16 (r) <- |03  22| <- CPU A13 (s)
   PRG A17 (r) <- |04  21| <- PRG A14 (n)
   PRG A17 (r) <- |04  21| <- CPU A14 (n)
   PRG /CE (r) <- |05  20| <- PRG /CE (n)
   PRG /CE (r) <- |05  20| <- /ROMSEL (n)
   WRAM CE (w) <- |06  19| <- PRG D7 (s)
   WRAM CE (w) <- |06  19| <- CPU D7 (s)
   CHR A12 (r) <- |07  18| <- PRG D0 (s)
   CHR A12 (r) <- |07  18| <- CPU D0 (s)
   CHR A13 (r) <- |08  17| <- PRG R/W  
   CHR A13 (r) <- |08  17| <- CPU R/W  
   CHR A14 (r) <- |09  16| -> CIRAM A10 (n)
   CHR A14 (r) <- |09  16| -> CIRAM A10 (n)
   CHR A15 (r) <- |10  15| <- CHR A12 (n)
   CHR A15 (r) <- |10  15| <- PPU A12 (n)
   CHR A16 (r) <- |11  14| <- CHR A11 (s)
   CHR A16 (r) <- |11  14| <- PPU A11 (s)
           GND  - |12  13| <- CHR A10 (s)
           GND  - |12  13| <- PPU A10 (s)
                 `------'
                 `------'
   
   
Line 26: Line 26:


SNROM:
SNROM:
           '''n/c''' <- |08  17| <- PRG R/W  
           '''n/c''' <- |08  17| <- CPU R/W  
           '''n/c''' <- |09  16| -> CIRAM A10 (n)
           '''n/c''' <- |09  16| -> CIRAM A10 (n)
           '''n/c''' <- |10  15| <- CHR A12 (n)
           '''n/c''' <- |10  15| <- PPU A12 (n)
   '''WRAM /CE (w)''' <- |11  14| <- CHR A11 (s)
   '''WRAM /CE (w)''' <- |11  14| <- PPU A11 (s)
           GND  - |12  13| <- CHR A10 (s)
           GND  - |12  13| <- PPU A10 (s)
                   `------'
                   `------'


SOROM:
SOROM:
           '''n/c''' <- |08  17| <- PRG R/W  
           '''n/c''' <- |08  17| <- CPU R/W  
           '''n/c''' <- |09  16| -> CIRAM A10 (n)
           '''n/c''' <- |09  16| -> CIRAM A10 (n)
   '''WRAM A14 (w)''' <- |10  15| <- CHR A12 (n)
   '''WRAM A14 (w)''' <- |10  15| <- PPU A12 (n)
           '''n/c''' <- |11  14| <- CHR A11 (s)
           '''n/c''' <- |11  14| <- PPU A11 (s)
           GND  - |12  13| <- CHR A10 (s)
           GND  - |12  13| <- PPU A10 (s)
                   `------'
                   `------'
SOROM is actually implemented using the WRAMs' /CE inputs and an inverter to select only one RAM at a time.
SOROM is actually implemented using the WRAMs' /CE inputs and an inverter to select only one RAM at a time.


SUROM:
SUROM:
           '''n/c''' <- |08  17| <- PRG R/W  
           '''n/c''' <- |08  17| <- CPU R/W  
           '''n/c''' <- |09  16| -> CIRAM A10 (n)
           '''n/c''' <- |09  16| -> CIRAM A10 (n)
           '''n/c''' <- |10  15| <- CHR A12 (n)
           '''n/c''' <- |10  15| <- PPU A12 (n)
   '''PRG A18 (r)''' <- |11  14| <- CHR A11 (s)
   '''PRG A18 (r)''' <- |11  14| <- PPU A11 (s)
           GND  - |12  13| <- CHR A10 (s)
           GND  - |12  13| <- PPU A10 (s)
                   `------'
                   `------'


SXROM:
SXROM:
           '''n/c''' <- |08  17| <- PRG R/W  
           '''n/c''' <- |08  17| <- CPU R/W  
   '''WRAM A14 (w)''' <- |09  16| -> CIRAM A10 (n)
   '''WRAM A14 (w)''' <- |09  16| -> CIRAM A10 (n)
   '''WRAM A15 (w)''' <- |10  15| <- CHR A12 (n)
   '''WRAM A15 (w)''' <- |10  15| <- PPU A12 (n)
   '''PRG A18 (r)''' <- |11  14| <- CHR A11 (s)
   '''PRG A18 (r)''' <- |11  14| <- PPU A11 (s)
           GND  - |12  13| <- CHR A10 (s)
           GND  - |12  13| <- PPU A10 (s)
                   `------'
                   `------'


Since the CHR A12 input's only purpose is to switch the CHR A12 .. A16 outputs, it's not clear why Nintendo didn't tie the MMC1's CHR A12 input low and connect CHR RAM A12 directly to the cartridge edge.
Since the PPU A12 input's only purpose is to switch the CHR A12 .. A16 outputs, it's not clear why Nintendo didn't tie the MMC1's PPU A12 input low and connect CHR RAM A12 directly to the cartridge edge.

Revision as of 00:01, 24 July 2012

MMC1 Chip: (24 pin shrink-DIP)

Comes in several varieties: 'MMC1', 'MMC1A', and 'MMC1B2'

                .--\/--.
 PRG A14 (r) <- |01  24|  - +5V
 PRG A15 (r) <- |02  23| <- M2 (n)
 PRG A16 (r) <- |03  22| <- CPU A13 (s)
 PRG A17 (r) <- |04  21| <- CPU A14 (n)
 PRG /CE (r) <- |05  20| <- /ROMSEL (n)
 WRAM CE (w) <- |06  19| <- CPU D7 (s)
 CHR A12 (r) <- |07  18| <- CPU D0 (s)
 CHR A13 (r) <- |08  17| <- CPU R/W 
 CHR A14 (r) <- |09  16| -> CIRAM A10 (n)
 CHR A15 (r) <- |10  15| <- PPU A12 (n)
 CHR A16 (r) <- |11  14| <- PPU A11 (s)
         GND  - |12  13| <- PPU A10 (s)
                `------'

(r) - this pin connects to the ROM chips only
(n) - this pin connects to the NES connector only
(s) - this pin is shared with the NES connector and ROM chips
(w) - this pin connects to the WRAM only

As with many other ASIC mappers, parts of the pinout are often repurposed:

SNROM:

          n/c <- |08  17| <- CPU R/W 
          n/c <- |09  16| -> CIRAM A10 (n)
          n/c <- |10  15| <- PPU A12 (n)
 WRAM /CE (w) <- |11  14| <- PPU A11 (s)
          GND  - |12  13| <- PPU A10 (s)
                 `------'

SOROM:

          n/c <- |08  17| <- CPU R/W 
          n/c <- |09  16| -> CIRAM A10 (n)
 WRAM A14 (w) <- |10  15| <- PPU A12 (n)
          n/c <- |11  14| <- PPU A11 (s)
          GND  - |12  13| <- PPU A10 (s)
                 `------'

SOROM is actually implemented using the WRAMs' /CE inputs and an inverter to select only one RAM at a time.

SUROM:

          n/c <- |08  17| <- CPU R/W 
          n/c <- |09  16| -> CIRAM A10 (n)
          n/c <- |10  15| <- PPU A12 (n)
  PRG A18 (r) <- |11  14| <- PPU A11 (s)
          GND  - |12  13| <- PPU A10 (s)
                 `------'

SXROM:

          n/c <- |08  17| <- CPU R/W 
 WRAM A14 (w) <- |09  16| -> CIRAM A10 (n)
 WRAM A15 (w) <- |10  15| <- PPU A12 (n)
  PRG A18 (r) <- |11  14| <- PPU A11 (s)
          GND  - |12  13| <- PPU A10 (s)
                 `------'

Since the PPU A12 input's only purpose is to switch the CHR A12 .. A16 outputs, it's not clear why Nintendo didn't tie the MMC1's PPU A12 input low and connect CHR RAM A12 directly to the cartridge edge.