NEShawk: fix a bunch of games, mostly (J)

This commit is contained in:
goyuken 2014-01-15 17:00:02 +00:00
parent b79bcaf2d0
commit dc9d69958f
10 changed files with 27 additions and 7 deletions

View File

@ -63,10 +63,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
switch (Cart.board_type) switch (Cart.board_type)
{ {
case "BANDAI-FCG-1": // no eprom case "BANDAI-FCG-1": // no eprom
AssertPrg(128, 256, 512); AssertChr(128, 256); AssertWram(0); AssertVram(0);
break;
case "BANDAI-FCG-2": // no eprom case "BANDAI-FCG-2": // no eprom
AssertPrg(128); AssertChr(128); AssertWram(0); AssertVram(0); AssertPrg(128, 256, 512); AssertChr(128, 256); AssertWram(0); AssertVram(0);
break; break;
case "BANDAI-LZ93D50+24C01": // 1kbit eprom case "BANDAI-LZ93D50+24C01": // 1kbit eprom
AssertPrg(128, 256); AssertChr(128, 256); AssertWram(0); AssertVram(0); AssertPrg(128, 256); AssertChr(128, 256); AssertWram(0); AssertVram(0);

View File

@ -46,6 +46,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
case "NES-CNROM": //adventure island case "NES-CNROM": //adventure island
case "UNIF_NES-CNROM": // some of these should be bus_conflict = false because UNIF is bad case "UNIF_NES-CNROM": // some of these should be bus_conflict = false because UNIF is bad
case "HVC-CNROM": case "HVC-CNROM":
case "TAITO-CNROM":
case "BANDAI-CNROM":
bus_conflict = true; bus_conflict = true;
AssertPrg(16, 32); AssertPrg(16, 32);
break; break;

View File

@ -110,6 +110,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
break; break;
case "HVC-EKROM": case "HVC-EKROM":
break; break;
case "NES-ETROM":
case "HVC-ETROM":
break;
default: default:
return false; return false;
} }

View File

@ -22,7 +22,13 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
switch (Cart.board_type) switch (Cart.board_type)
{ {
case "MAPPER018": case "MAPPER018":
case "JALECO-JF-23":
case "JALECO-JF-24": //TODO: there will be many boards to list here case "JALECO-JF-24": //TODO: there will be many boards to list here
case "JALECO-JF-25":
case "JALECO-JF-27":
case "JALECO-JF-29":
case "JALECO-JF-37":
case "JALECO-JF-40":
break; break;
default: default:
return false; return false;

View File

@ -101,6 +101,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
case "NES-JLROM": //mr gimmick! case "NES-JLROM": //mr gimmick!
AssertPrg(256); AssertChr(128); AssertWram(0); AssertVram(0); AssertBattery(false); AssertPrg(256); AssertChr(128); AssertWram(0); AssertVram(0); AssertBattery(false);
break; break;
case "NES-JSROM": // batman(E)
AssertPrg(128); AssertChr(256); AssertWram(8); AssertVram(0); AssertBattery(false);
break;
case "MAPPER069": case "MAPPER069":
break; break;
case "SUNSOFT-5A": //Batman (J) case "SUNSOFT-5A": //Batman (J)

View File

@ -22,11 +22,13 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
case "HVC-NROM-256": //super mario bros. case "HVC-NROM-256": //super mario bros.
case "NES-NROM-256": //10 yard fight case "NES-NROM-256": //10 yard fight
case "HVC-RROM": //balloon fight case "HVC-RROM": //balloon fight
case "BANDAI-NROM-256":
case "HVC-NROM-128": case "HVC-NROM-128":
case "IREM-NROM-128": case "IREM-NROM-128":
case "KONAMI-NROM-128": case "KONAMI-NROM-128":
case "NES-NROM-128": case "NES-NROM-128":
case "NAMCOT-3301": case "NAMCOT-3301":
case "NAMCOT-3302":
case "HVC-HROM": //Donkey Kong Jr. (J) case "HVC-HROM": //Donkey Kong Jr. (J)
case "JALECO-JF-01": //Exerion (J) case "JALECO-JF-01": //Exerion (J)
case "UNIF_NES-NROM-256": // Locksmith case "UNIF_NES-NROM-256": // Locksmith

View File

@ -341,6 +341,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
AssertPrg(32); AssertChr(16,32); AssertVram(0); AssertWram(0); AssertPrg(32); AssertChr(16,32); AssertVram(0); AssertWram(0);
break; break;
case "NES-SFROM": //bubble bobble case "NES-SFROM": //bubble bobble
case "NES-SF1ROM":
AssertPrg(128, 256); AssertChr(16, 32, 64); AssertVram(0); AssertWram(0); AssertPrg(128, 256); AssertChr(16, 32, 64); AssertVram(0); AssertWram(0);
break; break;
case "NES-SGROM": //bionic commando case "NES-SGROM": //bionic commando
@ -354,8 +355,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
case "HVC-SIROM": //Igo: Kyuu Roban Taikyoku case "HVC-SIROM": //Igo: Kyuu Roban Taikyoku
AssertPrg(32); AssertChr(16); AssertVram(0); AssertWram(8); AssertPrg(32); AssertChr(16); AssertVram(0); AssertWram(8);
break; break;
case "HVC-SJROM": //zombie hunter.. but it has no wram???? case "HVC-SJROM": //zombie hunter (wram is missing), artelius.
AssertPrg(128); AssertChr(32); AssertVram(0); AssertWram(0); AssertPrg(128); AssertChr(32); AssertVram(0); AssertWram(0, 8);
break; break;
case "NES-SJROM": //air fortress case "NES-SJROM": //air fortress
AssertPrg(128, 256); AssertChr(16, 32, 64); AssertVram(0); AssertWram(8); AssertPrg(128, 256); AssertChr(16, 32, 64); AssertVram(0); AssertWram(8);

View File

@ -93,12 +93,12 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
break; break;
case "TAITO-TC0190FMC": case "TAITO-TC0190FMC":
case "TAITO-TC0350FMR": case "TAITO-TC0350FMR":
AssertPrg(128); AssertChr(128,256); AssertWram(0); AssertVram(0); AssertPrg(128, 256); AssertChr(128, 256); AssertWram(0); AssertVram(0);
pal16 = false; pal16 = false;
break; break;
case "TAITO-TC0190FMC+PAL16R4": case "TAITO-TC0190FMC+PAL16R4":
//this is the same as the base TAITO-TC0190FMC, with an added PAL16R4ACN which is a "programmable TTL device", presumably just the IRQ and mirroring //this is the same as the base TAITO-TC0190FMC, with an added PAL16R4ACN which is a "programmable TTL device", presumably just the IRQ and mirroring
AssertPrg(128,256); AssertChr(256); AssertWram(0); AssertVram(0); AssertPrg(128, 256); AssertChr(256); AssertWram(0); AssertVram(0);
pal16 = true; pal16 = true;
mmc3 = new MMC3Variant(this); mmc3 = new MMC3Variant(this);
break; break;

View File

@ -37,6 +37,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
case "NES-UNROM": //mega man case "NES-UNROM": //mega man
case "HVC-UNROM": case "HVC-UNROM":
case "KONAMI-UNROM": case "KONAMI-UNROM":
case "NES-UNEPROM": // proto
AssertPrg(128); AssertChr(0); AssertVram(8); AssertPrg(128); AssertChr(0); AssertVram(8);
//AssertWram(0); //JJ - Tobidase Daisakusen Part 2 (J) includes WRAM //AssertWram(0); //JJ - Tobidase Daisakusen Part 2 (J) includes WRAM
break; break;

View File

@ -149,6 +149,10 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
{ {
remap = (addr) => addr; remap = (addr) => addr;
} }
else if (Cart.pcb == "350603")
{
remap = (addr) => addr;
}
else else
throw new Exception(string.Format("Unknown PCB type for VRC2: \"{0}\"", Cart.pcb)); throw new Exception(string.Format("Unknown PCB type for VRC2: \"{0}\"", Cart.pcb));
break; break;