From ea02d40c66f305ba64440cf6110e3a6d18fe4fce Mon Sep 17 00:00:00 2001 From: goyuken Date: Wed, 17 Oct 2012 02:08:19 +0000 Subject: [PATCH] add a number of UNIF board mappings. every one of these is tested playable on at least one game, but that doesn't mean it's "right" overall. as always, the only true solution is a hash identify. --- BizHawk.Emulation/Consoles/Nintendo/NES/Boards/CNROM.cs | 1 + .../Consoles/Nintendo/NES/Boards/MMC3_family/TxROM.cs | 1 + BizHawk.Emulation/Consoles/Nintendo/NES/Boards/Mapper132.cs | 1 + BizHawk.Emulation/Consoles/Nintendo/NES/Boards/Mapper243.cs | 1 + BizHawk.Emulation/Consoles/Nintendo/NES/Boards/NROM.cs | 2 ++ BizHawk.Emulation/Consoles/Nintendo/NES/Boards/SachenSimple.cs | 3 +++ BizHawk.MultiClient/output/gamedb/gamedb.txt | 2 ++ 7 files changed, 11 insertions(+) diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/CNROM.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/CNROM.cs index 4ffe294eeb..e561f00422 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/CNROM.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/CNROM.cs @@ -38,6 +38,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo break; case "NES-CNROM": //adventure island + case "UNIF_NES-CNROM": // some of these should be bus_conflict = false because UNIF is bad case "HVC-CNROM": bus_conflict = true; AssertPrg(16, 32); AssertChr(8,16,32,64); diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/TxROM.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/TxROM.cs index 51cc2296cf..604a0a5c51 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/TxROM.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/MMC3_family/TxROM.cs @@ -68,6 +68,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo case "NES-TLROM": //mega man 3 case "KONAMI-TLROM": //Super C case "HVC-TLROM": //8 eyes (J) + case "UNIF_NES-TLROM": // Gaiapolis (obviously a clone board, but which one?) AssertPrg(128, 256, 512); AssertChr(128, 256); AssertVram(0); AssertWram(0); AssertBattery(false); break; diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/Mapper132.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/Mapper132.cs index 23d4cad322..d78ee24eb5 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/Mapper132.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/Mapper132.cs @@ -18,6 +18,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo switch (Cart.board_type) { case "MAPPER132": + case "UNIF_UNL-22211": break; default: return false; diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/Mapper243.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/Mapper243.cs index 09282e12f1..73500b554a 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/Mapper243.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/Mapper243.cs @@ -63,6 +63,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo switch (Cart.board_type) { case "MAPPER243": + case "UNIF_UNL-Sachen-74LS374N": // seems to have some problems break; default: return false; diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/NROM.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/NROM.cs index 7fa4502342..f80edb8bde 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/NROM.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/NROM.cs @@ -32,6 +32,8 @@ namespace BizHawk.Emulation.Consoles.Nintendo case "NAMCOT-3301": case "HVC-HROM": //Donkey Kong Jr. (J) case "JALECO-JF-01": //Exerion (J) + case "UNIF_NES-NROM-256": // Locksmith + case "UNIF_NES-NROM-128": // various AssertPrg(8, 16, 32); AssertChr(8); AssertVram(0); AssertWram(0, 8); break; diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/SachenSimple.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/SachenSimple.cs index 808443ac9a..58f808654b 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/SachenSimple.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Boards/SachenSimple.cs @@ -26,12 +26,14 @@ namespace BizHawk.Emulation.Consoles.Nintendo { case "MAPPER146": case "UNL-SA-016-1M": + case "UNIF_UNL-SA-016-1M": ExpWrite = SA0161M_Write; break; case "MAPPER145": ExpWrite = SA72007_Write; break; case "MAPPER133": + case "UNIF_UNL-SA-72008": ExpWrite = SA72008_Write; break; case "MAPPER160": @@ -41,6 +43,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo PrgWrite = SA72007_Write; break; case "MAPPER148": + case "UNIF_UNL-SA-0037": PrgWrite = SA0161M_Write; break; default: diff --git a/BizHawk.MultiClient/output/gamedb/gamedb.txt b/BizHawk.MultiClient/output/gamedb/gamedb.txt index 6f288a3eb2..c3ebda8a9d 100644 --- a/BizHawk.MultiClient/output/gamedb/gamedb.txt +++ b/BizHawk.MultiClient/output/gamedb/gamedb.txt @@ -109,6 +109,8 @@ sha1:6143D80047FFC17C752078C622A44C3E0CB7466E B Dong Fang de Chuan Shuo - The Hy ;wrong vram info sha1:32D71DD6C5A8D78A918FE1B9D6D6C4A570D9652D Oeka Kids - Anpanman no Hiragana Daisuki (J) NES board=MAPPER096;VRAM=32 ;;;;;;;;;;;;;;;;;;;----------------------------------------------------------------------- +;it works, so don't laugh +sha1:203523818A348361584CDEBE47AEB860808757FC U Jurassic Boy 2 (Sachen) NES board=NES-TR1ROM;VRAM=8 ;;;;;;;;;;;;;;;;;;;----------------------------------------------------------------------- ;mmc3 homebrews that need chip specification