INES Mapper 159: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(however, a few of my ROMs had the wrong mappers on them, so note exactly which ones should use which mapper)
(→‎Registers: what's the distinction between the X24C01 and 24C01? elucidate.)
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''iNES Mapper 159''' represents a [[Bandai EPROM mapper|board used by Bandai with EPROM save]].
[[Category:iNES Mappers|159]][[Category:Mappers with cycle IRQs|159]]
[[iNES Mapper 016]] is the same thing with a different save type.
iNES Mapper 159 is used for [[Bandai FCG]] boards with an [[Bandai LZ93D50 pinout|LZ93D50 ASIC]] and a 128-byte serial EEPROM (X24C01). The 128 bytes must be denoted as PRG-NVRAM in the [[NES 2.0]] header using byte value $10.
=Game List=
* ''Dragon Ball Z: Kyoushuu! Saiya-jin''
* ''Magical Taruruuto-kun: Fantastic World!!''
* ''Magical Taruruuto-kun 2: Mahou Daibouken''
* ''SD Gundam Gaiden - Knight Gundam Monogatari''


The following games using this mapper use a 24C01 128-byte serial EEPROM to store their save data:
=Banks=
* Dragon Ball Z - Kyoushuu! Saiya Jin (J) [!]
* CPU $8000-$BFFF: 16 KiB switchable PRG ROM bank
* Magical Taruruuto-kun - Fantastic World!! (J) (V1.0) [!]
* CPU $C000-$FFFF: 16 KiB PRG ROM bank, fixed to the last bank
* Magical Taruruuto-kun - Fantastic World!! (J) (V1.1) [!]
* PPU $0000-$03FF: 1 KiB switchable CHR ROM bank
* Magical Taruruuto-kun 2 - Mahou Daibouken (J)
* PPU $0400-$07FF: 1 KiB switchable CHR ROM bank
* SD Gundam Gaiden - Knight Gundam Monogatari (J) (V1.0) [!]
* PPU $0800-$0BFF: 1 KiB switchable CHR ROM bank
* SD Gundam Gaiden - Knight Gundam Monogatari (J) (V1.1) [!]
* PPU $0C00-$0FFF: 1 KiB switchable CHR ROM bank
* SD Gundam Gaiden - Knight Gundam Monogatari 2 - Hikari no Kishi (J) [!]
* PPU $1000-$13FF: 1 KiB switchable CHR ROM bank
* PPU $1400-$17FF: 1 KiB switchable CHR ROM bank
* PPU $1800-$1BFF: 1 KiB switchable CHR ROM bank
* PPU $1C00-$1FFF: 1 KiB switchable CHR ROM bank


[[Category:iNES Mappers]]
=Registers=
All registers function the same way as [[INES Mapper 016]], submapper 5, except that the serial EEPROM is not a 24C02 but Xicor's X24C01. This EEPROM has operational differences compared to both the larger 24C02 and other vendors' 24C01.  Bandai's developers consistently thought the X24C01 was a little-endian device, and their code clocks in address and data bytes assuming this. However, it's actually a big-endian device, and a multi-byte read or write from EEPROM will increment the address accordingly.

Latest revision as of 00:11, 10 May 2020

iNES Mapper 159 is used for Bandai FCG boards with an LZ93D50 ASIC and a 128-byte serial EEPROM (X24C01). The 128 bytes must be denoted as PRG-NVRAM in the NES 2.0 header using byte value $10.

Game List

  • Dragon Ball Z: Kyoushuu! Saiya-jin
  • Magical Taruruuto-kun: Fantastic World!!
  • Magical Taruruuto-kun 2: Mahou Daibouken
  • SD Gundam Gaiden - Knight Gundam Monogatari

Banks

  • CPU $8000-$BFFF: 16 KiB switchable PRG ROM bank
  • CPU $C000-$FFFF: 16 KiB PRG ROM bank, fixed to the last bank
  • PPU $0000-$03FF: 1 KiB switchable CHR ROM bank
  • PPU $0400-$07FF: 1 KiB switchable CHR ROM bank
  • PPU $0800-$0BFF: 1 KiB switchable CHR ROM bank
  • PPU $0C00-$0FFF: 1 KiB switchable CHR ROM bank
  • PPU $1000-$13FF: 1 KiB switchable CHR ROM bank
  • PPU $1400-$17FF: 1 KiB switchable CHR ROM bank
  • PPU $1800-$1BFF: 1 KiB switchable CHR ROM bank
  • PPU $1C00-$1FFF: 1 KiB switchable CHR ROM bank

Registers

All registers function the same way as INES Mapper 016, submapper 5, except that the serial EEPROM is not a 24C02 but Xicor's X24C01. This EEPROM has operational differences compared to both the larger 24C02 and other vendors' 24C01. Bandai's developers consistently thought the X24C01 was a little-endian device, and their code clocks in address and data bytes assuming this. However, it's actually a big-endian device, and a multi-byte read or write from EEPROM will increment the address accordingly.