INES Mapper 014

From NESdev Wiki
Revision as of 17:27, 18 May 2015 by Lidnariq (talk | contribs) (add cat:scanlineIRQ, DEFAULTSORT)
Jump to navigationJump to search


iNES Mapper 014 is an MMC3 variant mapper used in the pirate port of Samurai Spirits by Rex Game Soft. It is very similar to an MMC3, but contains an alternative mode that when used controls banking and mirroring independently of the normal MMC3 mode.

This mapper is not widely supported by emulators. The following notes are based on Nestopia's SOMERITEAM SL-1632 mapper implementation.

GoodNES 3.1.4 has Samurai Spirits as a UNIF dump with MAPR UNL-SL1632 and as iNES Mapper 116. However, the documentation for mapper 116 implies that SL1632 is substantively different.

Mapper Mode Control: $A131

7  bit  0
---------
A.B. C.M.
       |
       +- Mode (1: MMC3, 0: VRC2)
  • When M is set, writes to $8000-FFFF operate mostly as normal for MMC3.
  • When M is clear, alternative functions appear (see MMC3 Mode Clear below).
  • When M is written, the CHR and PRG banks must be switched either to their MMC3 banks (MMC3 Mode Set), or the alternative banks (MMC3 Mode Clear).

In MMC3 mode, bits 7, 5, and 3 of this register also control high bits of the CHR banks, allowing 512k of CHR ROM. This works in conjunction with the current 2k/1k CHR banking mode.

  • If A is set add $100 to both 2k CHR banks.
  • If B is set add $100 to lower two 1k CHR banks.
  • If C is set add $100 to upper two 1k CHR banks.

MMC3 Mode

Note that when the Mode bit is set to MMC3, this mapper operates mostly like the MMC3, except the $A000-BFFE even register does not control the nametable mirroring (it can only be controlled when in VRC2 mode). Additionally, a write to the specific address $A131 will alter the MMC3 Mode bit as above.

  • $8000-9FFE even - as MMC3
  • $8001-9FFF odd - as MMC3
  • $A000-BFFE even - ignored
  • $A001-BFFF odd - as MMC3
  • $C000-DFFE even - as MMC3
  • $C001-DFFF odd - as MMC3
  • $E000-FFFE even - as MMC3
  • $E001-FFFF odd - as MMC3

There may be a conflict between $A131 and the $A001-BFFF odd register if PRG RAM is present. The Nestopia implementation also writes to the corresponding MMC3 register when writing $A131 if the MMC3 Mode bit is set.

VRC2 Mode

This mode is very similar to VRC2b.

These banking registers are independent of the banking registers used when MMC3 Mode is set.

  • $8000-$8FFC - as VRC2
    • $8001, $8002, $8003, and their mirrors do not respond
  • $9000-$9FFC - subset of VRC2
    • $9001, $9002, $9003, and their mirrors do not respond
    • It is unclear whether the 2s bit exists, supporting H/V/1a/1b mirroring, or just the 1s bit (as the MMC3)
  • $A000-$AFFC - as VRC2
    • $A001, $A002, $A003, and their mirrors do not respond
  • $B000-$EFFF - superset of VRC2b
    • Reportedly the $800s bit should be ORed into the 2s bit to select which CHR register is updated. This is odd: perhaps this actually describes two different versions of the hardware. (If so, what other games use it?)