NES - Started JALECO-JF-13 board (Mapper 86). The only copy of Moero!! Pro Yakyuu (Red) I could find doesn't work and doesn't match bootgod's db. However, it worked in FCEUX

This commit is contained in:
andres.delikat 2011-09-24 19:48:18 +00:00
parent 12c664ea00
commit 754b4ee2ee
4 changed files with 69 additions and 1 deletions

View File

@ -104,6 +104,7 @@
<Compile Include="Consoles\Nintendo\NES\Boards\IREM_TAM_S1.cs" />
<Compile Include="Consoles\Nintendo\NES\Boards\Jaleco-JF_11_14.cs" />
<Compile Include="Consoles\Nintendo\NES\Boards\JALECO_JF_05_06_07.cs" />
<Compile Include="Consoles\Nintendo\NES\Boards\JALECO_JF_13.cs" />
<Compile Include="Consoles\Nintendo\NES\Boards\JALECO_JF_17.cs" />
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper069.cs" />
<Compile Include="Consoles\Nintendo\NES\Boards\Mapper089.cs" />

View File

@ -70,7 +70,7 @@ Open bus and bus conflict emulation is not considered complete or thorough in an
080 Misc (J) Nothing
082 Misc (J) Nothing
085 VRC7 Needed (lagrange point)
086 Misc (J) Nothing
086 Misc (J) Started (One game I tried didn't work but also didn't match the sha1 (but worked in FCEUX)
087 Misc (J) Complete
088 Misc (J) Nothing
089 Sunsoft (J) Complete

View File

@ -0,0 +1,66 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BizHawk.Emulation.Consoles.Nintendo
{
//Mapper 86
//Example Games:
//--------------------------
//Moero!! Pro Yakyuu (Black)
//Moero!! Pro Yakyuu (Red)
class JALECO_JF_13 : NES.NESBoardBase
{
int chr;
int prg;
int soundon;
int soundid;
public override bool Configure(NES.EDetectionOrigin origin)
{
switch (Cart.board_type)
{
case "JALECO-JF-13":
break;
default:
return false;
}
SetMirrorType(Cart.pad_h, Cart.pad_v);
return true;
}
public override byte ReadPRG(int addr)
{
if (addr < 0x8000)
return ROM[addr + (prg * 0x8000)];
else
return base.ReadPRG(addr);
}
public override byte ReadPPU(int addr)
{
if (addr < 0x2000)
return VROM[(addr & 0x1FFF) + (chr * 0x2000)];
else
return base.ReadPPU(addr);
}
public override void WriteWRAM(int addr, byte value)
{
prg = (value >> 4) & 3;
chr = (value & 3) + ((value >> 6) & 1);
}
public override void SyncState(Serializer ser)
{
base.SyncState(ser);
ser.Sync("chr", ref chr);
ser.Sync("prg", ref prg);
ser.Sync("soundon", ref soundon);
ser.Sync("soundid", ref soundid);
}
}
}

View File

@ -76,6 +76,7 @@ sha1:8C7D33753649A2BAF2EAAF8D5FFC2AE8E9316A13 Akira (J) NES board=TAITO-TC0190
sha1:0AE47BD83202A5A2235B0BC16278F56D66038AB5 Deathbots (U) NES board=AVE-NINA-06;PRG=64;CHR=64;PAD_H=1;PAD_V=0
;these roms are in goodNES but theyre junk
sha1:89C455E1793A1603BB977AD7215AB308B3586958 V Moero!! Pro Yakyuu (Red) NES board=JALECO-JF-13;PRG=128;CHR=64;WRAM=8
sha1:A906B9E67F0FFCFABB36C9B7140BC2CBA9E1F5A3 Space Shadow (J) NES board=BANDAI-74*161/161/32;PRG=64;CHR=128;WRAM=8
sha1:A1D674D1C7C633A317CFD516EFB9A0350CD0E45E H Arkanoid II (J) NES board=TAITO-74*161/161/32;PRG=128;CHR=128;WRAM=8
sha1:4D6117577CE301BB987C5C32FEEF7B132A21B046 H Afro Man (Mega Man 3 Hack) (UNL) NES board=TXROM-HOMEBREW;PRG=256;CHR=128;WRAM=8