NES 2.0 Mapper 290: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(WRAM)
mNo edit summary
Line 13: Line 13:
==Mode Register ($5000, write)==
==Mode Register ($5000, write)==
  Mask: $5003
  Mask: $5003
 
  7654 3210
  7654 3210
  ---------
  ---------

Revision as of 08:10, 17 February 2018

NES 2.0 Mapper 290 is used for HP10xx/HP20xx multicarts. It is a predecessor to FK23C, both in its register layout, and the fact that several multicarts exist in HPxx and FK23C versions. Its UNIF board name is BMC-HPxx.

Registers

DIP Switch ($5000, read)

Mask: Unknown

7654 3210
---------
.... ..DD
       ++- DIP Switch Setting

Mode Register ($5000, write)

Mask: $5003

7654 3210
---------
L... .MMM
|     +++- Select banking mode
|          0: MMC3: 256 KiB PRG, 256 KiB CHR
|          1: MMC3: 256 KiB PRG, 128 KiB CHR
|          2: MMC3: 128 KiB PRG, 256 KiB CHR
|          3: MMC3: 128 KiB PRG, 128 KiB CHR
|          4: NROM-128: 16 KiB PRG (mirrored at $8000 and $C000), 8 KiB CHR
|          5: NROM-256: 32 KiB PRG, 8 KiB CHR
|          6: CNROM: 32 KiB PRG, 16 KiB CHR
|          7: CNROM: 32 KiB PRG, 32 KiB CHR
+--------- 1= Lock, do not respond to further writes in the $5xxx range

In MMC3 modes, the final PRG/CHR bank number is the result of masking the MMC3 bank register content according to the specified size (128 or 256 KiB) and OR'ing with the opposite-masked content of the PRG ($5001) and CHR ($5002) Base registers. In the CNROM modes, the inner bank comes from the CNROM Latch (one bit only in 16 KiB CHR mode, two bits in 32 KiB CHR mode) OR'ed with the opposite-masked content of the CHR ($5002) Base register.

PRG Base Register ($5001, write)

Mask: $5003

7654 3210
---------
..PP PPPP
  ++-++++- Select 16 KiB PRG Base
  

CHR Base Register ($5002, write)

Mask: $5003

7654 3210
---------
.PPP PPPP
 +++-++++- Select 8 KiB CHR Base
 

CNROM Latch ($8000-$FFFF, write)

Mask: $8000

7654 3210
---------
.... ..LL
       ++- Select 8 KiB Inner CHR Bank in CNROM modes

MMC3-compatible registers ($8000-$FFFF, write)

Mask: $E001

$8000, $8001, $A000, $A001, $C000, $C001, $E000, $E001: As normal MMC3.

Notes

  • The description of CNROM mode is based on the FCEUX source code. None of the available ROM images actually use it; instead, the games on those multicarts that originally were CNROM have all been modified to directly modify the CHR Base register ($5002).
  • WRAM at $6000-$7FFF is supported.