[NES] figure out how to run some of blargg's tests

This commit is contained in:
zeromus 2011-03-02 07:11:36 +00:00
parent 4bfc610a8a
commit 7f4413a5d7
2 changed files with 15 additions and 2 deletions

View File

@ -190,7 +190,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo.Boards
{
base.Initialize(romInfo, nes);
Debug.Assert(RomInfo.PRG_Size == 8 || RomInfo.PRG_Size == 16);
Debug.Assert(RomInfo.PRG_Size == 1 || RomInfo.PRG_Size == 8 || RomInfo.PRG_Size == 16);
prg_mask = RomInfo.PRG_Size - 1;
Debug.Assert(RomInfo.CRAM_Size == -1, "don't specify in gamedb, it is redundant");

View File

@ -2401,4 +2401,17 @@ ADD4E9F5ED4391A6B3FDFC5F0E300E71 Doraemon (J) NES board=GxROM;mirror=V;PRG=8;C
8F43E7D7BD3DBDF6D8ADF3E046DE3562 Gumshoe (UE) NES board=GxROM;mirror=V;PRG=8;CHR=4
;GxROM 8,16 (mapper 66)
BE40E77C5532AF8E2C1EA7B96831CCEA Thunder & Lightning (U).nes NES board=GxROM;mirror=H;PRG=8;CHR=16
BE40E77C5532AF8E2C1EA7B96831CCEA Thunder & Lightning (U).nes NES board=GxROM;mirror=H;PRG=8;CHR=16
;blargg's tests
FCDA199AE2DD1824F377AC3EC40E68CD 2005.10.05-01.basics.nes NES board=SNROM;PRG=1
8BE5342D1A1F5E63602B0B2AD4D3E957 2005.10.05-02.alignment.nes NES board=SNROM;PRG=1
E7F1424401BA5C3484F10CB6F9E7328F 2005.10.05-03.corners.nes NES board=SNROM;PRG=1
64836B8BAA2D19AE0F41F8F00390478A 2005.10.05-04.flip.nes NES board=SNROM;PRG=1
99E18274B94CB11D0F67984D36B476BB 2005.10.05-05.left_clip.nes NES board=SNROM;PRG=1
9ADB96106B2D57D92A22CC67ACA43963 2005.10.05-06.right_edge.nes NES board=SNROM;PRG=1
8D917EFB12AA4C6D08BE86C809A68F4A 2005.10.05-07.screen_bottom.nes NES board=SNROM;PRG=1
57DE8767DAB3F8A150EA5C63B374F825 2005.10.05-08.double_height.nes NES board=SNROM;PRG=1
594E8568C4C621EC95A6390D559CA504 2005.10.05-09.timing_basics.nes NES board=SNROM;PRG=1
7B42B8672F35068E96EB1D4D2CA1A33B 2005.10.05-10.timing_order.nes NES board=SNROM;PRG=1
55AD5FFC60CA9AEF60FEB8AEC900214E 2005.10.05-11.edge_timing.nes NES board=SNROM;PRG=1