INES Mapper 119: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (add cat:scanlineIRQ, DEFAULTSORT)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{DEFAULTSORT:119}}[[Category:iNES Mappers]][[Category:MMC3 with CHR ROM and CHR RAM]][[Category:in NesCartDB]][[Category:Nintendo licensed mappers]][[Category:Mappers with scanline IRQs]]
{{DEFAULTSORT:119}}[[Category:iNES Mappers]][[Category:MMC3 with CHR ROM and CHR RAM]][[Category:in NesCartDB]][[Category:Nintendo licensed mappers]][[Category:Mappers with scanline IRQs]]
[[iNES Mapper 119]] is used to designate the TQROM board, which uses the [[Nintendo MMC3]] like other [[TxROM]] boards but uses the CHR bank number in such a way so as to allow both CHR ROM and CHR RAM to be used simultaneously.
[[iNES Mapper 119]] is used to designate the '''TQROM''' board, which uses the [[Nintendo MMC3]] like other [[TxROM]] boards but uses the CHR bank number in such a way so as to allow both CHR ROM and CHR RAM to be used simultaneously.
 
Example games:
* ''High Speed''
* ''Pin-Bot''


== Registers ==
== Registers ==
See [[MMC3]]
Other than the CHR bank register described below, see [[MMC3]] for a full description.


=== Bank data ($8001-$9FFF, odd) ===
=== Bank data ($8001-$9FFF, odd) ===
Line 30: Line 34:
A [[7432|74HC32]] IC controls the CHR ROM's enable line. PPU A13 is ORed with CHR A16 in order to create a /CE signal for the CHR ROM. CHR A16 also directly connects the positive CE pin on the [[6264]] SRAM used as CHR RAM.
A [[7432|74HC32]] IC controls the CHR ROM's enable line. PPU A13 is ORed with CHR A16 in order to create a /CE signal for the CHR ROM. CHR A16 also directly connects the positive CE pin on the [[6264]] SRAM used as CHR RAM.


For some totally unknown reason (board space?) official TQROM boards doesn't allow PRG ROMs greater than 128 KB. However, a third party board could expand this mapper up to 512 KB of PRG ROM, like any other MMC3 boards,
For some totally unknown reason (board space?) official TQROM boards doesn't allow PRG ROMs greater than 128 KB. However, a third party board could expand this mapper up to 512 KB of PRG ROM, like any other MMC3 boards, and split a 128 KiB CHR ROM between banks 0-63 and banks 128-191.
and split a 128 KiB CHR ROM between banks 0-63 and banks 128-191.
 
Both TQROM games used an 8 KiB CHR RAM.


== Variants ==
== Variants ==
Line 38: Line 43:
== References ==
== References ==
*[http://kevtris.org/mappers/mmc3/NES_TQROM.html NES-TQROM] by Kevin Horton
*[http://kevtris.org/mappers/mmc3/NES_TQROM.html NES-TQROM] by Kevin Horton
 
* [http://www.romhacking.net/documents/362/ Disch's Mapper Notes]
  Here are Disch's original notes:
  ========================
  =  Mapper 119          =
  ========================
 
  aka
  --------------------------
  TQROM
  MMC3 (alternate)
 
 
  Example Games:
  --------------------------
  High Speed
  Pinbot
 
 
  Notes:
  ---------------------------
  In addition to any CHR-ROM present, this mapper has 8k CHR-RAM.  CHR-RAM is selectable just like ROM.  Bit 6
  of each CHR Reg (R:0 - R:5) indicates whether ROM or RAM is selected (1=use RAM).
 
  Other than that, this mapper is your plain, vanilla MMC3.  See mapper 004 for details.

Latest revision as of 06:17, 5 March 2019

iNES Mapper 119 is used to designate the TQROM board, which uses the Nintendo MMC3 like other TxROM boards but uses the CHR bank number in such a way so as to allow both CHR ROM and CHR RAM to be used simultaneously.

Example games:

  • High Speed
  • Pin-Bot

Registers

Other than the CHR bank register described below, see MMC3 for a full description.

Bank data ($8001-$9FFF, odd)

Bit 6 of the CHR bank number is used to switch between the CHR ROM chip and the CHR RAM chip.

7  bit  0
---- ----
xCDD DDDD
 ||| ||||
 |++-++++- New bank value, based on last value written to Bank select register
 |         0: Select 2 KB CHR bank at PPU $0000-$07FF (or $1000-$17FF);
 |         1: Select 2 KB CHR bank at PPU $0800-$0FFF (or $1800-$1FFF);
 |         2: Select 1 KB CHR bank at PPU $1000-$13FF (or $0000-$03FF);
 |         3: Select 1 KB CHR bank at PPU $1400-$17FF (or $0400-$07FF);
 |         4: Select 1 KB CHR bank at PPU $1800-$1BFF (or $0800-$0BFF);
 |         5: Select 1 KB CHR bank at PPU $1C00-$1FFF (or $0C00-$0FFF);
 |         6, 7: As standard MMC3
 +-------- Chip select (for CHR banks)
           0: Select CHR ROM; 1: Select CHR RAM

Nintendo could have used bit 7 instead of bit 6, allowing 128 KiB of CHR ROM instead of 64 KiB. However, using bit 7 would have precluded a hypothetical "TQSROM" board combining TQROM-style ROM/RAM mixing with TLSROM-style single-screen mirroring. Rare developed both games on this board, and also frequently used single-screen mirroring on the AxROM boards.

Hardware

A 74HC32 IC controls the CHR ROM's enable line. PPU A13 is ORed with CHR A16 in order to create a /CE signal for the CHR ROM. CHR A16 also directly connects the positive CE pin on the 6264 SRAM used as CHR RAM.

For some totally unknown reason (board space?) official TQROM boards doesn't allow PRG ROMs greater than 128 KB. However, a third party board could expand this mapper up to 512 KB of PRG ROM, like any other MMC3 boards, and split a 128 KiB CHR ROM between banks 0-63 and banks 128-191.

Both TQROM games used an 8 KiB CHR RAM.

Variants

iNES mappers 74, 191, 192, 194, and 195 are similar to mapper 119 except they replace fewer CHR ROM banks with RAM.

References