INES Mapper 086: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (→‎References: yet another)
m (→‎Hardware: i had implicitly already mentioned R/W, clean it up)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''iNES Mapper 086''' designates the JALECO-JF-13 board used for ''Moero!! Pro Yakyuu'', the Japanese version of Jaleco's ''Bases Loaded''.
{{DEFAULTSORT:086}}[[Category:iNES Mappers]][[Category:GNROM-like mappers]][[Category:in NesCartDB]][[Category:Expansion audio]]
'''iNES Mapper 086''' designates Jaleco's JF-13 board used for the Red and Black releases of ''Moero!! Pro Yakyuu'', the Japanese version of Jaleco's ''Bases Loaded''.
== Hardware ==
== Hardware ==
This board has 128 KiB PRG ROM, 64 KiB CHR ROM, no PRG RAM (the mapper ports are mapped in $6000-$7FFF instead, but that means no bus conflicts either), a [[74139|74HC139]], two [[74174|74HC174]]s, and an additional ASIC "D7756C 148" by NEC that plays recorded speech compressed with ADPCM.
This board has 128 KiB PRG ROM, 64 KiB CHR ROM, no PRG RAM (the mapper ports are mapped in $6000-$7FFF instead, but that means no bus conflicts either), a [[74139|74HC139]], two [[74174|74HC174]]s, and an additional ASIC "D7756C 148" by NEC that plays recorded speech compressed with ADPCM.
An additional set of sample files is needed to emulate the sound chip.
An additional set of sample files is needed to emulate the sound chip.
This board is subject to the same design flaw as [[iNES Mapper 038]]: accidental copies of the registers are present at $E000-$FFFF because /ROMSEL is high when M2 is low, not just when A15 is low.
Half the 74139 decodes when R/W is low and A14 and /ROMSEL are high. That then chains into the other half, which decodes writes to $6xxx (and $Exxx) and $7xxx (and $Fxxx).


== Registers ==
== Registers ==
=== PRG and CHR bank ($6000-$6FFF) ===
=== PRG and CHR bank ($6000-$6FFF) ===
The PRG and CHR banking for this mapper is similar to [[GNROM]] or [[Color Dreams]].
The PRG and CHR banking for this mapper is similar to [[GNROM]] or [[Color Dreams]].
<pre>
7  bit  0
7654 3210
.CPP ..CC
|||  ||
  |||  ||
|++------ Select 32 KiB PRG bank at $8000
  |++------ Select 32 KiB PRG bank at $8000
+-----++- Select 8 KiB CHR bank at $0000
  +-----++- Select 8 KiB CHR bank at $0000
</pre>
 
=== Audio control ($7000-$7FFF) ===
=== Audio control ($7000-$7FFF) ===
<pre>
7  bit  0
7654 3210
..RP TTTT
  || ||||
  || ||||
  || ++++- Track number
  || ++++- Track number
  ++------ Start/stop control
  |+------ While 0 and no sound is currently playing, start (or restart) sound specified in lower 4 bits
</pre>
  +------- If 0 for at least 19µs=34cycles, the µPD7756C is reset and sound playback stops
Disch thinks it's 2=start, other=stop.
 
Track numbers used in the game:
{| class="tabular"
|-
| 0 || Strike
|-
| 1 || Ball
|-
| 2 || Time
|-
| 3 || Out
|-
| 4 || Safe
|-
| 5 || Foul ball
|-
| 6 || Fair ball
|-
| 7 || Batter out
|-
| 8 || Play ball
|-
| 9 || Ball four
|-
| 10 || Home run
|-
| 11 || New pitcher
|-
| 12 || Ouch (hit by pitch)
|-
| 13 || Fool
|-
| 14 || blow sound?
|-
| 15 || shout of joy?
|}


== References ==
== References ==
*[http://www.romhacking.net/docs/362/ Disch's mapper docs]
*D7756 [http://www.cpu-world.com/Support/7/77.html description] and [http://bootgod.dyndns.org:7777/downloads/UPD7755_UPD7756_UPD7757_UPD7758.pdf datasheet]
*D7756 [http://www.cpu-world.com/Support/7/77.html description] and [http://bootgod.dyndns.org:7777/downloads/UPD7755_UPD7756_UPD7757_UPD7758.pdf datasheet]
*BBS topics [http://nesdev.parodius.com/bbs/viewtopic.php?t=762 762] and [http://nesdev.parodius.com/bbs/viewtopic.php?p=32572#32572 4030]
*BBS topics [http://forums.nesdev.org/viewtopic.php?t=762 762] and [http://forums.nesdev.org/viewtopic.php?p=32572#p32572 4030]
[[Category:iNES Mappers]][[Category:Discrete logic mappers]]

Latest revision as of 23:48, 6 September 2015

iNES Mapper 086 designates Jaleco's JF-13 board used for the Red and Black releases of Moero!! Pro Yakyuu, the Japanese version of Jaleco's Bases Loaded.

Hardware

This board has 128 KiB PRG ROM, 64 KiB CHR ROM, no PRG RAM (the mapper ports are mapped in $6000-$7FFF instead, but that means no bus conflicts either), a 74HC139, two 74HC174s, and an additional ASIC "D7756C 148" by NEC that plays recorded speech compressed with ADPCM. An additional set of sample files is needed to emulate the sound chip.

This board is subject to the same design flaw as iNES Mapper 038: accidental copies of the registers are present at $E000-$FFFF because /ROMSEL is high when M2 is low, not just when A15 is low.

Half the 74139 decodes when R/W is low and A14 and /ROMSEL are high. That then chains into the other half, which decodes writes to $6xxx (and $Exxx) and $7xxx (and $Fxxx).

Registers

PRG and CHR bank ($6000-$6FFF)

The PRG and CHR banking for this mapper is similar to GNROM or Color Dreams.

7  bit  0
.CPP ..CC
 |||   ||
 |++------ Select 32 KiB PRG bank at $8000
 +-----++- Select 8 KiB CHR bank at $0000

Audio control ($7000-$7FFF)

7  bit  0
..RP TTTT
  || ||||
  || ++++- Track number
  |+------ While 0 and no sound is currently playing, start (or restart) sound specified in lower 4 bits
  +------- If 0 for at least 19µs=34cycles, the µPD7756C is reset and sound playback stops

Track numbers used in the game:

0 Strike
1 Ball
2 Time
3 Out
4 Safe
5 Foul ball
6 Fair ball
7 Batter out
8 Play ball
9 Ball four
10 Home run
11 New pitcher
12 Ouch (hit by pitch)
13 Fool
14 blow sound?
15 shout of joy?

References