Mapper 99 is a simple mapper used by Vs. System games such as Vs. Super Mario Bros. It is comparable to CNROM, but without bus conflicts.
The Vs. System has other ports related to coin insertion and DIP switches that must be emulated to get games to advance past attract mode, and most games' palettes differ from the standard RGB NES palette used by Duck Hunt and PlayChoice games. See Vs. System for more information.
7 bit 0 ---- ---- xxxx xBRC | +--- Select both PRG ROM and CHR ROM bank
Note that the two LSBs are used for other things (see Vs. System), so you'll probably need to keep a copy of the value stored.
The banking configuration described by mapper 99 connects the 2A03's OUT2 pin to a simple 1-to-2 demultiplexer to select between two CHR ROMs.
Only Vs. Gumshoe uses the 40KiB PRG variant; in the iNES encapsulation, the 8KiB banks are arranged as 0, 1, 2, 3, 0alternate, empty. (The hardware adds a wire to EPROM socket 2D or 6D, connecting OUT2 to A13)
Note: unlike all other mappers, an undersize mapper 99 image implies open bus instead of mirroring. The original hardware has six sockets, and if any of them are not populated, the corresponding area isn't driven. Most pertinently, this means that for games with only 8 KiB of CHR, when the bank select bit is high the PPU will have no tile data to render!
Although this hardware has never been used officially outside the Vs. System, its behavior is well-defined in the absence of the for Vs. System or four-screen VRAM bits.
An NES-compatible bootleg of Vs. Super Mario Bros. was produced, with DIP switches. They must be implemented differently than the Vs. switches, because there's no way to prevent a bus conflict on reads from the lower five bits of the controller ports.
Categories: Mappers with overlapping PRG and CHR registers, CNROM-like mappers, INES Mappers