INES Mapper 036: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(writes to 4101 ''do'' have an effect)
(use same register names as I've used on the pinout. no functional changes.)
 
Line 11: Line 11:


The PRG banking is part of the ASIC:
The PRG banking is part of the ASIC:
Mask: $E100
  read $4100: [xxRR xxxx]
              |||| ||||
              ||++------ Copy internal register 'RR' to data bus.
              ++---++++- open bus
  Mask: $E103
  Mask: $E103
   read $4100-4103: [xxRR xxxx]
   write $4100: If Increment is set, internal register 'RR' <- 'RR'+1
                    |||| ||||
              Otherwise, if Invert is clear, copy internal register 'PP' to 'RR'
                    ||++------ Copy internal register 'RR' to data bus.
                          if Invert is set, copy '~PP' to 'RR'
                    ++---++++- open bus
   write $4101: [...V ....] - Invert Mode
  write $4100: when M=0, copy internal register (when I=0) 'PP' or (when I=1) '~PP' to internal register 'RR'. When M=1, RR=RR+1
   write $4101: [...I ....] - Invert bit
   write $4102: [..PP ....] - Copy data bus to internal register 'PP'. Value is not yet exposed anywhere.
   write $4102: [..PP ....] - Copy data bus to internal register 'PP'. Value is not yet exposed anywhere.
   write $4103: [...M ....] - PRG banking mode (0: copy, 1: increment)
   write $4103: [...C ....] - Increment Mode
   write $8000-$FFFF: copy internal register 'RR' to PRG banking pins
Mask: $8000
 
   write $8000: copy internal register 'RR' to PRG banking pins
This PRG behavior is confusing but seems to be complete.


Three additional games published by Gluk use the same PCB, with no ASIC. They were also released in other regions on different hardware, and ''only'' Gluk's editions are compatible with the above-mentioned CHR banking.
Three additional games published by Gluk use the same PCB, with no ASIC. They were also released in other regions on different hardware, and ''only'' Gluk's editions are compatible with the above-mentioned CHR banking.
Line 28: Line 30:
* Volley ball
* Volley ball
* Puzzle
* Puzzle
Compatibility code left in means that all editions of these three games are emulatable as [[NINA-003-006|NINA-06]].
Compatibility code left in means that Gluk's editions of these three games are also emulatable as [[NINA-003-006|NINA-06]].


See also:
See also:
* http://forums.nesdev.org/viewtopic.php?p=167180#p167180 Thread about dumping Policeman starts here
* http://forums.nesdev.org/viewtopic.php?p=167180#p167180 Thread about dumping Policeman starts here
* The same ASIC showed up in [[iNES Mapper 132]] and [[iNES Mapper 173]], wired differently.
* The same ASIC showed up in [[iNES Mapper 132]] and [[iNES Mapper 173]], wired differently.

Latest revision as of 19:51, 6 September 2018

iNES Mapper 036 is assigned to TXC's PCB 01-22000-400, featuring a 74138, a 74175, and usually a 24-pin ASIC labeled 05-00002-010. Two games are currently known to require this definition.

  • Strike Wolf (also released as Comando de Lobos)
  • Policeman

Even though these games can evidently be emulated as a weird kind of GNROM, the hardware does something quite different:

The CHR banking is definitely implemented using the two 7400-series ICs:

Mask: $E200
write $4200: [.... CCCC] - Select 8 KiB CHR bank

The PRG banking is part of the ASIC:

Mask: $E100
 read $4100: [xxRR xxxx]
              |||| ||||
              ||++------ Copy internal register 'RR' to data bus.
              ++---++++- open bus
Mask: $E103
 write $4100: If Increment is set, internal register 'RR' <- 'RR'+1
              Otherwise, if Invert is clear, copy internal register 'PP' to 'RR'
                         if Invert is set, copy '~PP' to 'RR'
 write $4101: [...V ....] - Invert Mode
 write $4102: [..PP ....] - Copy data bus to internal register 'PP'. Value is not yet exposed anywhere.
 write $4103: [...C ....] - Increment Mode
Mask: $8000
 write $8000: copy internal register 'RR' to PRG banking pins

Three additional games published by Gluk use the same PCB, with no ASIC. They were also released in other regions on different hardware, and only Gluk's editions are compatible with the above-mentioned CHR banking.

  • F-15 City War
  • Volley ball
  • Puzzle

Compatibility code left in means that Gluk's editions of these three games are also emulatable as NINA-06.

See also: