iNES Mapper 068 denotes PCBs using the Sunsoft-4 mapper IC. In the US it was only used in the game After Burner. It has the unusual ability to map CHR ROM into the part of the PPU's address space used for nametables.
Example games:
Only for the game Nantettatte!! Baseball, when WRAM is disabled ($F000.4 is 0), writes to this register reset a timer in the external option ROM cartridge. The external ROM is only readable while banked into $8000-$BFFF and the timer has not expired; once it has, reads from the external ROM should return open bus.
The game verifies that the timer expires after 107516 to 107575 M2 cycles (most likely exactly 107520=1024·105) by reading a signature from the end of the external ROM.
While WRAM is disabled, reads from $6000-$7FFF return open bus for all games. (The licensing IC isn't readable because it is connected to only M2, WRAM +CE, WRAM /CE, and R/W. None of the data pins connect.)
Map a 2 KiB CHR ROM bank into PPU $0000.
Map a 2 KiB CHR ROM bank into PPU $0800.
Map a 2 KiB CHR ROM bank into PPU $1000.
Map a 2 KiB CHR ROM bank into PPU $1800.
Map a 1 KiB CHR ROM bank in place of the lower nametable (CIRAM $000-$3FF). Only D6-D0 are used; D7 is ignored and treated as 1, so nametables must be in the last 128 KiB of CHR ROM.
Map a 1 KiB CHR ROM bank in place of the upper nametable (CIRAM $400-$7FF). Only D6-D0 are used; D7 is ignored and treated as 1.
7654 3210 | || | ++- Mirroring | 0: vertical (0101); 1: horizontal (0011); | 2: 1-screen (0000); 3: 1-screen (1111) +------ Chip select for PPU $2000-$2FFF (nametables): 0 for CIRAM or 1 for CHR ROM
Nametable mirroring works the same way in both CIRAM and CHR ROM modes.
7 bit 0 ---- ---- ...E BBBB | |||| | ++++- Select 16 KiB PRG banked into $8000-$BFFF +------ 1:Enable PRG RAM = WRAM +CS2
Nantettatte!! Baseball repurposes some of the bits:
7 bit 0 ---- ---- ...E RBBB | |||| | |+++- Select 16 KiB PRG banked into $8000-$BFFF | +---- 1: select internal ROM | 0: select external ROM +------ 1:Enable PRG RAM = WRAM +CS2 0:Enable licensing verification
Note that although the external ROM could be up to 128KiB, both known subcartridges contain 16KiB of data, doubled to fill a 32KiB EPROM, mirrored across the bottom 128KiB.
The fixed bank is always from the internal ROM.
The US release of After Burner has CHR ROM split into two 28-pin chips. The Japanese releases exist both as two 32-pin 128KiB CHR ROMs with extra enables and as one 32-pin 256KiB ROM.
Categories: NES 2.0 mappers with submappers, Mappers with ROM nametables, In NesCartDB, INES Mappers