INES Mapper 086

From NESdev Wiki
Revision as of 23:48, 6 September 2015 by Lidnariq (talk | contribs) (→‎Hardware: i had implicitly already mentioned R/W, clean it up)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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