NES 2.0 Mapper 260: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(Swapping Mapper 260 and 290 assignments, because FCEUX had already assigned Mapper 260 to HPxx.)
(Nametable arrangement in (C)NROM modes)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Multicart mappers]]NES 2.0 Mapper 260 is used for HP10xx/HP20xx multicarts. It is a predecessor to [[INES Mapper 176|FK23C]], both in its register layout, and the fact that
[[Category:Multicart mappers|221]][[Category:MMC3-like mappers|221]][[Category:Mappers with scanline IRQs|221]]NES 2.0 Mapper 260 is used for HP10xx/HP20xx multicarts. It is a predecessor to [[INES Mapper 176|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'''.
several multicarts exist in HPxx and FK23C versions. Its UNIF board names are '''BMC-HPxx''' and '''BMC-HP2018-A'''.


=Registers=
=Registers=
Line 12: Line 12:
   
   
==Mode Register ($5000, write)==
==Mode Register ($5000, write)==
  Mask: $5003
  Mask: $F003
   
   
  7654 3210
  7654 3210
Line 31: Line 31:
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,
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.
two bits in 32 KiB CHR mode) OR'ed with the opposite-masked content of the CHR ($5002) Base register.
The nametable arrangement/mirroring is determined by MMC3 register A000 only in modes 0-3. In modes 4-7, it is determined by the [[#CNROM/Nametable Arrangement Latch ($8000-$FFFF, write)|latch]]'s M bit..


==PRG Base Register ($5001, write)==
==PRG Base Register ($5001, write)==
  Mask: $5003
  Mask: $F003
   
   
  7654 3210
  7654 3210
Line 41: Line 43:
    
    
==CHR Base Register ($5002, write)==
==CHR Base Register ($5002, write)==
  Mask: $5003
  Mask: $F003
   
   
  7654 3210
  7654 3210
Line 48: Line 50:
   +++-++++- Select 8 KiB CHR Base
   +++-++++- Select 8 KiB CHR Base
    
    
==CNROM Latch ($8000-$FFFF, write)==
==CNROM/Nametable Arrangement Latch ($8000-$FFFF, write)==
  Mask: $8000
  Mask: $8000
   
   
  7654 3210
  7654 3210
  ---------
  ---------
  .... ..LL
  .... .MLL
        ++- Select 8 KiB Inner CHR Bank in CNROM modes
      |++- Select 8 KiB Inner CHR Bank in CNROM modes
      +--- Nametable arrangement
            0: Horizontal arrangement/Vertical mirroring
            1: Vertical arrangement/Horizontal mirroring
==MMC3-compatible registers ($8000-$FFFF, write)==
==MMC3-compatible registers ($8000-$FFFF, write)==

Latest revision as of 22:13, 28 October 2024

NES 2.0 Mapper 260 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 names are BMC-HPxx and BMC-HP2018-A.

Registers

DIP Switch ($5000, read)

Mask: Unknown

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

Mode Register ($5000, write)

Mask: $F003

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.

The nametable arrangement/mirroring is determined by MMC3 register A000 only in modes 0-3. In modes 4-7, it is determined by the latch's M bit..

PRG Base Register ($5001, write)

Mask: $F003

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

CHR Base Register ($5002, write)

Mask: $F003

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

CNROM/Nametable Arrangement Latch ($8000-$FFFF, write)

Mask: $8000

7654 3210
---------
.... .MLL
      |++- Select 8 KiB Inner CHR Bank in CNROM modes
      +--- Nametable arrangement
           0: Horizontal arrangement/Vertical mirroring
           1: Vertical arrangement/Horizontal mirroring

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.
  • The KY6009 6-in-1 multicart menu times its music by polling $2002 bit 7 but does not take the race condition into account. As a result, its music is audibly slowed down irregularly when played on an original NES/Famicom console.