INES Mapper 014: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(mapper 14 as determined from Nestopia)
 
(Category)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:iNES Mappers|014]][[Category:MMC3-like mappers|014]]
{{DEFAULTSORT:014}}[[Category:iNES Mappers]][[Category:MMC3-like mappers]][[Category:Mappers with scanline IRQs]][[Category:Multi-ASIC mappers]]
'''iNES Mapper 014''' denotes the 哥德 (Gouder) '''SL-1632''' PCB, used on the 8-character version of ''Samurai Spirits'' by Rex Soft. Like [[INES Mapper 116]], it uses the '''Huang-1''' ASIC together with a PAL that provides a supervisor register for selecting CHR A18 and for switching between [[MMC3]] and [[VRC2]] modes (A0/A1, VRC2b), but moves the supervisor register address to $A131, overlapping the MMC3 and VRC2 registers there. Its UNIF board name is '''UNL-SL1632'''.


[[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.
According to Nestopia's mapper source code, mirroring can only be controlled in VRC2 mode, and the VRC2 PRG and mirroring registers do not respond to address mirrors. These behaviors contradict other emulators and have not been verified on original hardware.


== Registers ==
==Supervisor Register ($A131, write)==
 
Mask: $FFFF?
The following notes are based on Nestopia's SOMERITEAM SL-1632 mapper implementation.
 
  D~7654 3210
=== MMC3 Mode Control: $A131 ===
  ---------
 
  A.B. C.M.
  7  bit  0
  | |  | +-- Mapper mode
---------
  | |  |      0: VRC2
xxxx xxMx
  | |  |      1: MMC3
        |
  | |  +---- CHR A18 for PPU $0000-$0FFF
        +- MMC3 mode (1: on, 0: off)
  | +------- CHR A18 for PPU $1000-$17FF
 
  +--------- CHR A18 for PPU $1800-$1FFF
* 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).
 
=== MMC3 Mode Set ===
 
Note that when the MMC3 Mode bit is set, this mapper operates mostly like the MMC3, except the $A000-BFFE even register does not control the nametable mirroing (it can only be controlled with the MMC3 mode clear). 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
 
=== Ex Mode Clear ===
 
When the Ex Mode bit is clear, PRG banking is controlled by a 2 alternative registers, and CHR banking is controlled by 8 alternative registers. These banking registers are independent of the banking registers used when MMC3 Mode is set.
 
* PRG bank 0 - 8k at $8000-9FFF
* PRG bank 1 - 8k at $A000-BFFF
* PRG fixed - 16k at $C000-FFFF (fixed to last bank)
 
* TODO complicated CHR banking logic
 
==== $8000-8FFC (0 of 4) ====
* Selects 8k PRG bank at $8000-9FFF
* Only responds if address % $3 is 0
 
==== $9000-9FFC (0 of 4) ====
 
7  bit  0
---------
xxxx xxxM
        |
        +- [[Mirroring]] (0: vertical; 1: horizontal)
 
* Selects nametable mirroring. Note that mirroring cannot be set when this mapper is in MMC3 mode.
* Only responds if address % $3 is 0
 
==== $A000-AFFC (0 of 4) ====
*Selects 8k PRG bank at $A000-EFFF
* Only responds if address % $3 is 0
 
==== $B000-E003 ====
* TODO complicated CHR banking logic

Latest revision as of 09:53, 18 June 2022

iNES Mapper 014 denotes the 哥德 (Gouder) SL-1632 PCB, used on the 8-character version of Samurai Spirits by Rex Soft. Like INES Mapper 116, it uses the Huang-1 ASIC together with a PAL that provides a supervisor register for selecting CHR A18 and for switching between MMC3 and VRC2 modes (A0/A1, VRC2b), but moves the supervisor register address to $A131, overlapping the MMC3 and VRC2 registers there. Its UNIF board name is UNL-SL1632.

According to Nestopia's mapper source code, mirroring can only be controlled in VRC2 mode, and the VRC2 PRG and mirroring registers do not respond to address mirrors. These behaviors contradict other emulators and have not been verified on original hardware.

Supervisor Register ($A131, write)

Mask: $FFFF?

D~7654 3210
  ---------
  A.B. C.M.
  | |  | +-- Mapper mode
  | |  |      0: VRC2
  | |  |      1: MMC3
  | |  +---- CHR A18 for PPU $0000-$0FFF
  | +------- CHR A18 for PPU $1000-$17FF
  +--------- CHR A18 for PPU $1800-$1FFF