Difference between revisions of "NES 2.0 submappers/Proposals"

From Nesdev wiki
Jump to: navigation, search
(004: MMC3: migrating MMC3 back to spec)
(moving 034 to proposal (need is unclear))
Line 46: Line 46:
 
KH allocated a submapper specifically for the N163-using game Mindseeker. It is not known what is different about this game.
 
KH allocated a submapper specifically for the N163-using game Mindseeker. It is not known what is different about this game.
  
<!-- Tentative suggestion:<br/>
+
Tentative suggestion:<br/>
 
Mapper 19:<br/>
 
Mapper 19:<br/>
 
1: N163, expansion audio unused (mixing resistor: 0Ω)<br/>
 
1: N163, expansion audio unused (mixing resistor: 0Ω)<br/>
Line 53: Line 53:
 
4: N163, mixing resistor: 15kΩ<br/>
 
4: N163, mixing resistor: 15kΩ<br/>
 
9: N129. Expansion audio is known buggy relative to N163, but other differences are not known.<br/>
 
9: N129. Expansion audio is known buggy relative to N163, but other differences are not known.<br/>
-->
+
 
 
Source: [http://blog.kevtris.org/blogfiles/nes/submappers.txt KH's submappers]
 
Source: [http://blog.kevtris.org/blogfiles/nes/submappers.txt KH's submappers]
  
Line 90: Line 90:
 
* 23.15 is VRC2 ($xxx0, $xxx1, $xxx2, $xxx3)
 
* 23.15 is VRC2 ($xxx0, $xxx1, $xxx2, $xxx3)
 
* 25.15 is VRC2 ($xxx0, $xxx2, $xxx1, $xxx3)
 
* 25.15 is VRC2 ($xxx0, $xxx2, $xxx1, $xxx3)
 +
 +
== [[iNES Mapper 034|034]]: [[BNROM]] / [[NINA-001]] ==
 +
This iNES mapper unfortunately combines the unrelated [[BNROM]] and [[NINA-001]] mappers.
 +
 +
=== 034: 0 ===
 +
Normal. Both mappers can be implemented simultaneously without incompatibility.
 +
 +
Because the NINA-001 supports CHR banking and BNROM does not, the presence of more than 8 KiB of CHR implies NINA-001, and could be used to select between two exclusive mapper implementations.
 +
 +
=== 034: 1 ===
 +
NINA-001 only.
 +
* ''(no extant games require this)''
  
 
== [[iNES Mapper 185]] ==
 
== [[iNES Mapper 185]] ==

Revision as of 14:53, 7 August 2015

This page collects proposals for NES 2.0 submappers that are not yet ready for implementation.


005: MMC5

Status: Wishlist

Vertical split mode:
0: SL (all known hardware)
1: CL

If only one kind (battery or non-battery) of PRG-RAM present:
0: PRG-RAM is contiguous (EKROM, EWROM)
2: PRG-RAM is not contiguous; is split in half across two chips

If both kinds of PRG-RAM present:
0: Chip 0 is battery-backed (ETROM (note: verify this))
2: Chip 1 is battery-backed

Pulse waves volume:
0: R1 is 6.8kΩ (as in all games that use expansion audio)
4: R1 is 15kΩ (the nominal value of this resistor)

It is safe to leave the submapper number at 0 for all known games.

002, 003, 007: UxROM, CNROM, AxROM

Status: Draft

AxROM (mapper 7) is the only known licensed discrete logic mapper to unreliably come with bus conflict prevention circuitry. While no game documented in NesCartDB was released in one region on multiple board variants, several games did change boards when localized.

The following table is tentatively offered-
0: Normal (No advisory statement is made as to whether this game has bus conflicts) (uninvestigated AOROM)
1: Bus conflicts do not occur (ANROM)
2: Bus conflicts occur (AMROM)

Although all Nintendo-manufactured games using normal CNROM (mapper 3), normal UxROM (mapper 2), and inverted UxROM (mapper 180) had bus conflicts, apparently several unlicensed games require their absence, as does the updated version of Donkey Kong with the pie factory level.[1] This same table should be used for them, too.

CNROM with security diodes (mapper 185) has a different set of submapper definitions.

019: Namco 129 and 163

Status: Problem outline

Mapper 19 designates the Namco 129 and 163, which supports expansion sound, IRQs, and ROM nametables.

Different 163-using PCBs used a different resistor to change the volume of the expansion audio relative to the internal 2A03 audio. It is unclear if this variation warrants a submapper.

KH allocated a submapper specifically for the N163-using game Mindseeker. It is not known what is different about this game.

Tentative suggestion:
Mapper 19:
1: N163, expansion audio unused (mixing resistor: 0Ω)
2: N163, mixing resistor: 4.7kΩ
3: N163, mixing resistor: 10kΩ
4: N163, mixing resistor: 15kΩ
9: N129. Expansion audio is known buggy relative to N163, but other differences are not known.

Source: KH's submappers

021, 023, 025: VRC4

Konami's VRC4 mapper has five known variations of how the board connects low CPU address lines among A7-A0 to the port select lines of the mapper. These are spread across three mappers: two for 21, two for 25, and one for 23. There are theoretically 8*7 = 56 ways to wire these, but in all five extant possibilities, two adjacent address lines are used: A2 and A1, A0 and A1, A7 and A6, A2 and A3, and A3 and A2. All 14 combinations of two adjacent address lines easily fit in a submapper number:

3210
||||
|+++- Which address line corresponds is wired to the A1 in the VRC4a
+---- 0: Use next lower address line for VRC4a A2; 1: use next higher line

The values 0 (A0 and next lower) and 15 (A7 and next higher) are impossible.

The VRC4 article describes the ports by mapping them to the variant called "VRC4a" on that page, which uses A2 and A1, putting the four VRC IRQ ports (IRQ Latch low, IRQ Latch high, IRQ Control, and IRQ Acknowledge) at $F000, $F002, $F004, and $F006.

Nickname A2 A1 Registers iNES mapper NES 2.0 submapper
VRC4a A2 A1 $x000, $x002, $x004, $x006 21 9
VRC4b A0 A1 $x000, $x002, $x001, $x003 25 1
VRC4c A7 A6 $x000, $x040, $x080, $x0C0 21 14
VRC4d A2 A3 $x000, $x008, $x004, $x00C 25 3
VRC4e A3 A2 $x000, $x004, $x008, $x00C 23 10

023, 025: VRC2

Mappers 23 and 25 are used for both Konami's VRC2 and VRC4. It is tentatively suggested that submapper 15 (invalid per the VRC4 definitions) be used to mark VRC2-using games, to handle the bit at $6000 and lack of interrupts. Neither divides CHR bank select by two, unlike #22.

  • 23.15 is VRC2 ($xxx0, $xxx1, $xxx2, $xxx3)
  • 25.15 is VRC2 ($xxx0, $xxx2, $xxx1, $xxx3)

034: BNROM / NINA-001

This iNES mapper unfortunately combines the unrelated BNROM and NINA-001 mappers.

034: 0

Normal. Both mappers can be implemented simultaneously without incompatibility.

Because the NINA-001 supports CHR banking and BNROM does not, the presence of more than 8 KiB of CHR implies NINA-001, and could be used to select between two exclusive mapper implementations.

034: 1

NINA-001 only.

  • (no extant games require this)

iNES Mapper 185

Status: Draft

A few NROM-like games were released on CNROM boards where all four bits of the latch were solely used as an anti-piracy measure. While a documented heuristic exists for which values were used, we tentatively suggest that the submapper here indicate the value to be written to the latch for normal operation (submapper = (latch&0x30)/4+(latch&3))

3210  
||||
|||+- Bit 0 (bank number)
||+-- Bit 1 (bank number)
|+--- Bit 4 (diode config)
+---- Bit 5 (diode config)

In the case that any of the bits are "don't care", use 0.