Mapper: Difference between revisions
Line 140: | Line 140: | ||
| [[File:Mfr icon tools.png|16px]] [[INES Mapper 100|100]] | | [[File:Mfr icon tools.png|16px]] [[INES Mapper 100|100]] | ||
| [[File:Mfr icon Jaleco.png|16px]] [[INES Mapper 101|101]] | | [[File:Mfr icon Jaleco.png|16px]] [[INES Mapper 101|101]] | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 102|102]] | ||
| [[File:Mfr icon Generic.png|16px]] [[INES Mapper 103|103]] | | [[File:Mfr icon Generic.png|16px]] [[INES Mapper 103|103]] | ||
| [[File:Mfr icon Codemasters.png|16px]] [[INES Mapper 104|104]] | | [[File:Mfr icon Codemasters.png|16px]] [[INES Mapper 104|104]] | ||
Line 147: | Line 147: | ||
| [[File:Mfr icon Generic.png|16px]] [[INES Mapper 107|107]] | | [[File:Mfr icon Generic.png|16px]] [[INES Mapper 107|107]] | ||
| [[File:Mfr icon Generic.png|16px]] [[INES Mapper 108|108]] | | [[File:Mfr icon Generic.png|16px]] [[INES Mapper 108|108]] | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 109|109]] | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 110|110]] | ||
| [[File:Mfr icon homebrew.png|16px]] [[INES Mapper 111|111]] | | [[File:Mfr icon homebrew.png|16px]] [[INES Mapper 111|111]] | ||
|- | |- | ||
Line 161: | Line 161: | ||
| [[File:Mfr icon Generic.png|16px]] [[INES Mapper 120|120]] | | [[File:Mfr icon Generic.png|16px]] [[INES Mapper 120|120]] | ||
| [[File:Mfr icon NT.png|16px]] [[INES Mapper 121|121]] | | [[File:Mfr icon NT.png|16px]] [[INES Mapper 121|121]] | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 122|122]] | ||
| [[File:Mfr icon Generic.png|16px]] [[INES Mapper 123|123]] | | [[File:Mfr icon Generic.png|16px]] [[INES Mapper 123|123]] | ||
| [[File:Mfr icon Missing.png|16px]] [[INES Mapper 124|124]] | | [[File:Mfr icon Missing.png|16px]] [[INES Mapper 124|124]] | ||
Line 169: | Line 169: | ||
|- | |- | ||
| [[File:Mfr icon Missing.png|16px]] [[INES Mapper 128|128]] | | [[File:Mfr icon Missing.png|16px]] [[INES Mapper 128|128]] | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 129|129]] | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 130|130]] | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 131|131]] | ||
| [[File:Mfr icon TXC.png|16px]] [[INES Mapper 132|132]] | | [[File:Mfr icon TXC.png|16px]] [[INES Mapper 132|132]] | ||
| [[File:Mfr icon Sachen.png|16px]] [[INES Mapper 133|133]] | | [[File:Mfr icon Sachen.png|16px]] [[INES Mapper 133|133]] | ||
| [[File:Mfr icon Generic.png|16px]] [[INES Mapper 134|134]] | | [[File:Mfr icon Generic.png|16px]] [[INES Mapper 134|134]] | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 135|135]] | ||
| [[File:Mfr icon Sachen.png|16px]] [[INES Mapper 136|136]] | | [[File:Mfr icon Sachen.png|16px]] [[INES Mapper 136|136]] | ||
| [[File:Mfr icon Sachen.png|16px]] [[INES Mapper 137|137]] | | [[File:Mfr icon Sachen.png|16px]] [[INES Mapper 137|137]] | ||
Line 202: | Line 202: | ||
| [[File:Mfr icon Bandai.png|16px]] [[INES Mapper 159|159]] | | [[File:Mfr icon Bandai.png|16px]] [[INES Mapper 159|159]] | ||
|- | |- | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 160|160]] | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 161|161]] | ||
| [[File:Mfr icon pirate.png|16px]] [[INES Mapper 162|162]] | | [[File:Mfr icon pirate.png|16px]] [[INES Mapper 162|162]] | ||
| [[File:Mfr icon Nanjing.png|16px]] [[INES Mapper 163|163]] | | [[File:Mfr icon Nanjing.png|16px]] [[INES Mapper 163|163]] | ||
Line 222: | Line 222: | ||
| [[File:Mfr icon Generic.png|16px]] [[INES Mapper 177|177]] | | [[File:Mfr icon Generic.png|16px]] [[INES Mapper 177|177]] | ||
| [[File:Mfr icon Waixing.png|16px]] [[INES Mapper 178|178]] | | [[File:Mfr icon Waixing.png|16px]] [[INES Mapper 178|178]] | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 179|179]] | ||
| [[File:Mfr icon Nichibutsu.png|16px]] [[INES Mapper 180|180]] | | [[File:Mfr icon Nichibutsu.png|16px]] [[INES Mapper 180|180]] | ||
| [[File:Mfr icon Missing.png|16px]] [[INES Mapper 181|181]] | | [[File:Mfr icon Missing.png|16px]] [[INES Mapper 181|181]] | ||
Line 268: | Line 268: | ||
| [[File:Mfr icon Ntdec.png|16px]] [[INES Mapper 221|221]] | | [[File:Mfr icon Ntdec.png|16px]] [[INES Mapper 221|221]] | ||
| [[File:Mfr icon pirate.png|16px]] [[INES Mapper 222|222]] | | [[File:Mfr icon pirate.png|16px]] [[INES Mapper 222|222]] | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 223|223]] | ||
|- | |- | ||
| [[File:Mfr icon Jncota.png|16px]] [[INES Mapper 224|224]] | | [[File:Mfr icon Jncota.png|16px]] [[INES Mapper 224|224]] | ||
Line 298: | Line 298: | ||
| [[File:Mfr icon Waixing.png|16px]] [[INES Mapper 249|249]] | | [[File:Mfr icon Waixing.png|16px]] [[INES Mapper 249|249]] | ||
| [[File:Mfr icon Generic.png|16px]] [[INES Mapper 250|250]] | | [[File:Mfr icon Generic.png|16px]] [[INES Mapper 250|250]] | ||
| [[File:Mfr icon | | [[File:Mfr icon Bad.png|16px]] [[INES Mapper 251|251]] | ||
| [[File:Mfr icon Waixing.png|16px]] [[INES Mapper 252|252]] | | [[File:Mfr icon Waixing.png|16px]] [[INES Mapper 252|252]] | ||
| [[File:Mfr icon Waixing.png|16px]] [[INES Mapper 253|253]] | | [[File:Mfr icon Waixing.png|16px]] [[INES Mapper 253|253]] |
Revision as of 01:26, 27 May 2020
NES games come in cartridges, and inside of those cartridges are various circuits and hardware. Different games use different circuits and hardware, and the configuration and capabilities of such cartridges is commonly called their mapper. Mappers are designed to extend the system and bypass its limitations, such as by adding RAM to the cartridge or even extra sound channels. More commonly though, mappers are designed to allow games larger than 40K to be made.
The term "mapper" arises from the concept of memory mapping: translating memory hardware into the CPU's and PPU's address spaces. A memory map describes which addresses correspond to which physical locations of memory.
Common capabilities
Multiple functions can be performed by the hardware and circuitry on a cartridge's printed circuit board:
- Mapping of the CHR and PRG chips into the NES's address space, which may be expanded by…
- (often) Bank switching: dynamically changing the memory mapping of cartridge memory into the NES's address spaces. By doing so, the cartridge may have more data than the address space would allow, allowing larger games to be made.
- (often) Using a battery-backed volatile RAM chip, or rarely an EEPROM, to maintain save data between play sessions
- (always) Nametable Mirroring: controlling which way the nametables are arranged, as the NES only has two nametables' worth of CIRAM but four tables addressed.
- (rarely) Providing cartridge-side CHR-RAM or ROM to supplement or replace the nametable CIRAM (4-Screen mirroring).
- (commonly) Generating interrupts, especially ones timed to occur when the PPU reaches a certain scanlines.
- (rarely) Providing additional sound-generation. The Famicom sent its audio through the cartridge port to allow the cartridge to mix in additional channels; the NES does not without modification.
- (rarely) Altering how the attribute table is mapped to provide finer attribute control.
- (rarely) Other sundry functions like fast multiplication.
Most mappers fall into one of two categories: discrete logic, and ASIC based. Some discrete logic mappers are susceptible to bus conflicts. Nintendo uses the term Memory Management Controller (or MMC for short) for its ASIC mappers ("Why Game Paks Never Forget" article in Nintendo Power) (note: it may have originally stood for "Multi Memory Controller", at least according to Japanese).
Naming scheme
Discrete logic mappers are often referred to by the name of a board that they are commonly used in (e.g. "UNROM"). ASIC mappers are named after the ASIC (e.g. "MMC1" or "FME-7"), except in boards that use an ASIC in an unusual way (such as "TQROM", "TLSROM", or "NES-EVENT"). The emulation community generally refers to mappers by a numbering scheme that originated with the iNES emulator (e.g. "mapper 002").
The notation used in Disch's docs describing mappers is explained here.
To allocate a mapper number, you should have A. a hardware implementation or B. an emulator implementation and a sketch of hardware. You should also have a publicly-available dump of an existing commercial cart or most of a homebrew game written.
iNES 1.0 mapper grid
This is the plane 0 table. These mappers do not require a NES 2.0 header.
Most icons next to mapper numbers refer to publishers. Nintendo-made boards with numerous publishers get the Nintendo icon; Nintendo-made boards dominated by one publisher get that publisher's icon. Other icons refer to status:
- This mapper is "bad": it was used for something other than an actual cartridge. Some are mapper hacks designed for early disk-based copiers. Others are duplicate mappers that were assigned by mistake.
- "Bad" mappers reserved for use by tools, such as emulator internal use or private use during development of a new mapper.
- Mappers developed by members of the NES homebrew scene for cart releases.
- "Pirate MMC3" mappers. Many are used for unauthorized demakes of 16-bit fighting games.
- Mappers used primarily by illegally copied games, usually multicarts, sometimes single-game mapper hacks.
- Mappers for which we have some information but no identified manufacturer.
- Mappers that are not yet documented on this wiki. Do not assume undocumented mappers are currently unassigned; consult the source code for well-used emulators like Nestopia, FCEUX and Nintendulator.
Plane 1
Plane 1 (NES 2.0 mappers 256-511)
Key |
---|
|
Plane 2
Plane 2 (NES 2.0 mappers 512-767)
Key |
---|
|
Common mappers for homebrewers
- NROM: About the simplest mapper there is; 32K PRG and 8K CHR. Most beginners start with this.
- UxROM, BxROM: CHR RAM plus PRG bank switching. These are simple and cheap cartridge boards that hold far more memory than NROM.
- MMC1, MMC3: These mappers provide finely grained bank switching and features such as scanline counters. Their design involves an ASIC, which makes them more complicated and expensive than other mappers.
See also
- Nintendo: MMC1, MMC2, MMC3, MMC4, MMC5 with audio, MMC6
- Konami: VRC1, VRC2, VRC3, VRC4, VRC6 with audio, VRC7 with audio, VRC IRQs
- Others: Color Dreams, Namco 163 with audio, NINA-001, NINA-03/06, SUBOR, Sunsoft FME-7 with audio (Sunsoft 5B)
- List of mappers with board names
- List of mappers by Release Date
- List of discrete logic mappers
- List of iNES mapper numbers
- Comparison of Nintendo mappers
- List of mapper names and corresponding iNES mapper numbers
- Hardware pinout, including mapper pinouts
References
- Nintendulator source code
- Nestopia source code
- FCEUX source code
- Planes proposal
External links
- Disch's detailed list of over 50 mappers at romhacking.net
- Kevtris's mapper checklist as implemented in his FPGA NES