INES Mapper 246: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(update according to Ice Man's findings)
(partial rewrite)
Line 1: Line 1:
[[Category:iNES Mappers|246]]
[[Category:iNES Mappers|246]]
  This is no longer Disch's original notes: 
[[iNES Mapper 246]] seems to be a singleton for the Taiwanese game ''Fong Shen Bang - Zhu Lu Zhi Zhan''.
  ========================
 
  =  Mapper 246         =
It provides 2 KiB of RAM from $6800-$6FFF.
  ========================
 
 
   Mask:  $FFE7
 
  Example Game:
  --------------------------
  Fong Shen Bang - Zhu Lu Zhi Zhan
 
 
  Notes:
  --------------------------
 
  Regs lie at $6000-601F; SRAM exists at $6800-6FFF.
 
 
  Registers:
  ---------------------------
 
   Range,Mask:  $6000-601F, $6007
 
    
    
    $6000-6003:  PRG Regs
  $6000-6003:  PRG Regs
    $6004-6007:  CHR Regs
  $6004-6007:  CHR Regs
    
    
    
    
Line 47: Line 30:
   Powerup/Reset:
   Powerup/Reset:
   ---------------------------
   ---------------------------
   $6003 set to $FF on powerup only
   $6003 set to $FF on cold boot. (All other registers probably also, but not required)


The present hardware seems to be:
The present hardware seems to be:
Line 55: Line 38:
* Miscellaneous resistors, diodes, and a battery to power the PRG RAM
* Miscellaneous resistors, diodes, and a battery to power the PRG RAM


There is additionally some weird behavior on reads from $FFE4-$FFFF, but most existing dumps have been fixed to not need this.
There is additionally some weird behavior on reads from $FFE4-$FFFF:
* PRG ROM access when A15..A5 AND A2 are all HIGH should instead occur from a bank where PRG A17 is high, i.e. ( [$6003] | $10 )
However, the existing dumps in GoodNES have been pre-patched to not require this.


See also:
See also:
* http://forums.nesdev.org/viewtopic.php?t=13969 Why does Fong Shen Bang only work in Famiclones?
* http://forums.nesdev.org/viewtopic.php?t=13969 Why does Fong Shen Bang only work in Famiclones?

Revision as of 01:48, 30 March 2016

iNES Mapper 246 seems to be a singleton for the Taiwanese game Fong Shen Bang - Zhu Lu Zhi Zhan.

It provides 2 KiB of RAM from $6800-$6FFF.

 Mask:   $FFE7
 
 $6000-6003:  PRG Regs
 $6004-6007:  CHR Regs
 
 
 CHR Setup:
 ---------------------------
 
       $0000   $0400   $0800   $0C00   $1000   $1400   $1800   $1C00 
     +---------------+---------------+---------------+---------------+
     |     $6004     |     $6005     |     $6006     |     $6007     |
     +---------------+---------------+---------------+---------------+
 
 
 PRG Setup:
 ---------------------------
 
       $8000   $A000   $C000   $E000  
     +-------+-------+-------+-------+
     | $6000 | $6001 | $6002 | $6003 |
     +-------+-------+-------+-------+
 
 
 Powerup/Reset:
 ---------------------------
 $6003 set to $FF on cold boot. (All other registers probably also, but not required)

The present hardware seems to be:

  • Four 74LS670 4 x 4bit dual-ported memory
  • One GAL16V8
  • PRG ROM (up to 2 MiB), CHR ROM (up to 512 KiB), PRG RAM (8 KiB)
  • Miscellaneous resistors, diodes, and a battery to power the PRG RAM

There is additionally some weird behavior on reads from $FFE4-$FFFF:

  • PRG ROM access when A15..A5 AND A2 are all HIGH should instead occur from a bank where PRG A17 is high, i.e. ( [$6003] | $10 )

However, the existing dumps in GoodNES have been pre-patched to not require this.

See also: