From 593b53d73b37357774e61d7a92818239d255c817 Mon Sep 17 00:00:00 2001 From: Fabio Priuli Date: Fri, 2 May 2014 08:32:21 +0000 Subject: [PATCH] image.c: Added support for loading a default battery, instead of a fixed fill value, when no battery is found. This allows for loading factory formatted sram/nvram from softlist. [Fabio Priuli] (MESS) nes.c: Fixed Silva Saga, which relies on SRAM not being 0x00 filled from factory, with many thanks to naruko for investigating the problem. [Fabio Priuli] --- hash/nes.xml | 690 ++++++++++++++++++++++++++++++++++-- src/emu/bus/nes/nes_pcb.inc | 15 +- src/emu/diimage.c | 7 +- src/emu/diimage.h | 1 + src/emu/image.c | 24 ++ src/emu/image.h | 1 + 6 files changed, 714 insertions(+), 24 deletions(-) diff --git a/hash/nes.xml b/hash/nes.xml index 8c7657587d6..74cfd8daff3 100644 --- a/hash/nes.xml +++ b/hash/nes.xml @@ -1176,6 +1176,7 @@ + @@ -1219,6 +1220,7 @@ + @@ -1322,6 +1324,7 @@ + @@ -1514,6 +1517,7 @@ + @@ -1715,6 +1719,7 @@ + @@ -1741,6 +1746,7 @@ + @@ -1984,6 +1990,7 @@ + @@ -2766,6 +2773,7 @@ + @@ -2851,6 +2859,7 @@ + @@ -2874,6 +2883,7 @@ + @@ -2896,6 +2906,7 @@ + @@ -2919,6 +2930,7 @@ + @@ -2981,6 +2993,7 @@ + @@ -3044,6 +3057,7 @@ + @@ -3067,6 +3081,7 @@ + @@ -3089,6 +3104,7 @@ + @@ -3111,6 +3127,7 @@ + @@ -3512,6 +3529,7 @@ + @@ -3756,6 +3774,7 @@ + @@ -3815,6 +3834,7 @@ + @@ -3839,6 +3859,7 @@ + @@ -3863,6 +3884,7 @@ + @@ -3886,6 +3908,7 @@ + @@ -3909,6 +3932,7 @@ + @@ -3932,6 +3956,7 @@ + @@ -4196,6 +4221,7 @@ + @@ -4597,6 +4623,7 @@ + @@ -5471,6 +5498,7 @@ + @@ -5493,6 +5521,7 @@ + @@ -5515,6 +5544,7 @@ + @@ -6597,6 +6627,7 @@ + @@ -7255,6 +7286,7 @@ + @@ -7451,6 +7483,7 @@ + @@ -7538,6 +7571,7 @@ + @@ -7581,6 +7615,7 @@ + @@ -7603,6 +7638,7 @@ + @@ -7670,6 +7706,7 @@ + @@ -8034,6 +8071,7 @@ + @@ -8057,6 +8095,7 @@ + @@ -8157,6 +8196,7 @@ + @@ -8219,6 +8259,7 @@ + @@ -8288,6 +8329,7 @@ + @@ -8912,6 +8954,7 @@ + @@ -9189,6 +9232,7 @@ + @@ -9288,6 +9332,7 @@ + @@ -9808,6 +9853,7 @@ + @@ -9831,6 +9877,7 @@ + @@ -9854,6 +9901,7 @@ + @@ -9984,6 +10032,7 @@ + @@ -10006,6 +10055,7 @@ + @@ -10028,6 +10078,7 @@ + @@ -10050,6 +10101,7 @@ + @@ -10072,6 +10124,7 @@ + @@ -10152,6 +10205,7 @@ + @@ -10409,6 +10463,7 @@ + @@ -10431,6 +10486,7 @@ + @@ -10454,6 +10510,7 @@ + @@ -10577,6 +10634,7 @@ + @@ -10599,6 +10657,7 @@ + @@ -10738,6 +10797,7 @@ + @@ -10781,6 +10841,7 @@ + @@ -10884,6 +10945,7 @@ + @@ -11267,6 +11329,7 @@ + @@ -11311,6 +11374,7 @@ + @@ -11373,6 +11437,7 @@ + @@ -11395,6 +11460,7 @@ + @@ -11417,6 +11483,7 @@ + @@ -11440,6 +11507,7 @@ + @@ -11465,6 +11533,7 @@ + @@ -11490,6 +11559,7 @@ + @@ -11514,6 +11584,7 @@ + @@ -11577,6 +11648,7 @@ + @@ -12150,6 +12222,7 @@ + @@ -12172,6 +12245,7 @@ + @@ -12471,6 +12545,7 @@ + @@ -12494,6 +12569,7 @@ + @@ -12516,6 +12592,7 @@ + @@ -12539,6 +12616,7 @@ + @@ -12580,6 +12658,7 @@ + @@ -12603,6 +12682,7 @@ + @@ -12667,6 +12747,7 @@ + @@ -12689,6 +12770,7 @@ + @@ -13119,6 +13201,7 @@ + @@ -13504,6 +13587,7 @@ + @@ -13557,6 +13641,7 @@ + @@ -13589,6 +13674,7 @@ + @@ -13923,6 +14009,7 @@ + @@ -13948,6 +14035,7 @@ + @@ -15018,6 +15106,7 @@ + @@ -15251,6 +15340,7 @@ + @@ -15492,6 +15582,7 @@ + @@ -15743,6 +15834,7 @@ + @@ -15802,6 +15894,7 @@ + @@ -15845,6 +15938,7 @@ + @@ -15993,6 +16087,7 @@ + @@ -16015,6 +16110,7 @@ + @@ -16157,6 +16253,7 @@ + @@ -16180,6 +16277,7 @@ + @@ -16326,6 +16424,7 @@ + @@ -16349,6 +16448,7 @@ + @@ -16491,6 +16591,7 @@ + @@ -16514,6 +16615,7 @@ + @@ -16576,6 +16678,7 @@ + @@ -16673,6 +16776,7 @@ + @@ -16736,6 +16840,7 @@ + @@ -16873,6 +16978,7 @@ + @@ -17232,6 +17338,7 @@ + @@ -17684,6 +17791,7 @@ + @@ -17860,6 +17968,7 @@ + @@ -17882,6 +17991,7 @@ + @@ -17955,6 +18065,7 @@ + @@ -17999,6 +18110,7 @@ + @@ -18136,6 +18248,7 @@ + @@ -18686,6 +18799,7 @@ + @@ -18729,6 +18843,7 @@ + @@ -18854,6 +18969,7 @@ + @@ -18899,6 +19015,7 @@ + @@ -19003,6 +19120,7 @@ + @@ -19026,6 +19144,7 @@ + @@ -19190,6 +19309,7 @@ + @@ -19253,6 +19373,7 @@ + @@ -19727,6 +19848,7 @@ + @@ -19929,6 +20051,7 @@ + @@ -19951,6 +20074,7 @@ + @@ -19976,6 +20100,7 @@ + @@ -19998,6 +20123,7 @@ + @@ -20020,6 +20146,7 @@ + @@ -20042,6 +20169,7 @@ + @@ -20064,6 +20192,7 @@ + @@ -20289,6 +20418,7 @@ + @@ -20424,6 +20554,7 @@ + @@ -20525,6 +20656,7 @@ + @@ -20755,6 +20887,7 @@ + @@ -20783,6 +20916,7 @@ + @@ -20832,6 +20966,7 @@ + @@ -20895,6 +21030,7 @@ + @@ -21070,6 +21206,7 @@ + @@ -21092,6 +21229,7 @@ + @@ -21114,6 +21252,7 @@ + @@ -21136,6 +21275,7 @@ + @@ -21158,6 +21298,7 @@ + @@ -21397,6 +21538,7 @@ + @@ -22209,6 +22351,7 @@ + @@ -22231,6 +22374,7 @@ + @@ -22272,6 +22416,7 @@ + @@ -22337,6 +22482,7 @@ + @@ -22380,6 +22526,7 @@ + @@ -22403,6 +22550,7 @@ + @@ -22446,6 +22594,7 @@ + @@ -22469,6 +22618,7 @@ + @@ -22617,6 +22767,7 @@ + @@ -22639,6 +22790,7 @@ + @@ -22661,6 +22813,7 @@ + @@ -22683,6 +22836,7 @@ + @@ -22705,6 +22859,7 @@ + @@ -22945,6 +23100,7 @@ + @@ -22968,6 +23124,7 @@ + @@ -23088,6 +23245,7 @@ + @@ -23110,6 +23268,7 @@ + @@ -23458,6 +23617,7 @@ + @@ -23737,6 +23897,7 @@ + @@ -23882,6 +24043,7 @@ + @@ -24064,6 +24226,7 @@ + @@ -24086,6 +24249,7 @@ + @@ -24492,6 +24656,7 @@ + @@ -24937,6 +25102,7 @@ + @@ -25053,6 +25219,7 @@ + @@ -25114,6 +25281,7 @@ + @@ -25136,6 +25304,7 @@ + @@ -25198,6 +25367,7 @@ + @@ -25222,6 +25392,7 @@ + @@ -25320,6 +25491,7 @@ + @@ -25382,6 +25554,7 @@ + @@ -25447,6 +25620,7 @@ + @@ -25469,6 +25643,7 @@ + @@ -25660,6 +25835,7 @@ + @@ -25907,6 +26083,7 @@ + @@ -26005,6 +26182,7 @@ + @@ -26305,6 +26483,7 @@ + @@ -26470,6 +26649,7 @@ + @@ -26495,6 +26675,7 @@ + @@ -26524,6 +26705,7 @@ + @@ -26549,6 +26731,7 @@ + @@ -26573,6 +26756,7 @@ + @@ -26710,6 +26894,7 @@ + @@ -26931,6 +27116,7 @@ + @@ -27016,6 +27202,7 @@ + @@ -27393,6 +27580,7 @@ + @@ -27416,6 +27604,7 @@ + @@ -28094,6 +28283,7 @@ + @@ -28211,6 +28401,7 @@ + @@ -28234,6 +28425,7 @@ + @@ -28514,6 +28706,7 @@ + @@ -28786,6 +28979,7 @@ + @@ -29584,6 +29778,7 @@ + @@ -30911,6 +31106,7 @@ + @@ -30935,6 +31131,7 @@ + @@ -31205,6 +31402,7 @@ + @@ -31228,6 +31426,7 @@ + @@ -31251,6 +31450,7 @@ + @@ -31274,6 +31474,7 @@ + @@ -31416,6 +31617,7 @@ + @@ -31599,6 +31801,7 @@ + @@ -31622,6 +31825,7 @@ + @@ -31645,6 +31849,7 @@ + @@ -31671,6 +31876,7 @@ + @@ -31696,6 +31902,7 @@ + @@ -31721,6 +31928,7 @@ + @@ -31746,6 +31954,7 @@ + @@ -31771,6 +31980,7 @@ + @@ -31941,6 +32151,7 @@ + @@ -31964,6 +32175,7 @@ + @@ -32220,6 +32432,7 @@ + @@ -32457,6 +32670,7 @@ + @@ -32479,6 +32693,7 @@ + @@ -32501,6 +32716,7 @@ + @@ -32523,6 +32739,7 @@ + @@ -32545,6 +32762,7 @@ + @@ -32567,6 +32785,7 @@ + @@ -32707,6 +32926,7 @@ + @@ -32775,6 +32995,7 @@ + @@ -32797,6 +33018,7 @@ + @@ -32837,6 +33059,7 @@ + @@ -32878,6 +33101,7 @@ + @@ -32941,6 +33165,7 @@ + @@ -32964,6 +33189,7 @@ + @@ -32987,6 +33213,7 @@ + @@ -33163,6 +33390,32 @@ + + + + Silva Saga (Jpn) + 1992 + Seta + + + + + + + + + + + + + + + + + + + + Silver Surfer (USA) 1990 @@ -33919,6 +34172,7 @@ + @@ -34495,6 +34749,7 @@ + @@ -34868,6 +35123,7 @@ + @@ -35057,6 +35313,7 @@ + @@ -35214,6 +35471,7 @@ + @@ -35236,6 +35494,7 @@ + @@ -35341,6 +35600,7 @@ + @@ -35926,6 +36186,7 @@ + @@ -36396,6 +36657,7 @@ + @@ -36892,6 +37154,7 @@ + @@ -36994,6 +37257,7 @@ + @@ -37017,6 +37281,7 @@ + @@ -37040,6 +37305,7 @@ + @@ -37338,6 +37604,7 @@ + @@ -37360,6 +37627,7 @@ + @@ -37383,6 +37651,7 @@ + @@ -37405,6 +37674,7 @@ + @@ -37439,6 +37709,7 @@ + @@ -37757,6 +38028,7 @@ + @@ -37780,6 +38052,7 @@ + @@ -38103,6 +38376,7 @@ + @@ -39519,6 +39793,7 @@ + @@ -39560,6 +39835,7 @@ + @@ -39766,6 +40042,7 @@ + @@ -39789,6 +40066,7 @@ + @@ -39811,6 +40089,7 @@ + @@ -39834,6 +40113,7 @@ + @@ -39856,6 +40136,7 @@ + @@ -39991,6 +40272,7 @@ + @@ -40051,6 +40333,7 @@ + @@ -40079,6 +40362,7 @@ + @@ -40862,6 +41146,7 @@ + @@ -40884,6 +41169,7 @@ + @@ -40907,6 +41193,7 @@ + @@ -40929,6 +41216,7 @@ + @@ -41216,6 +41504,7 @@ + @@ -41515,6 +41804,7 @@ + @@ -41539,6 +41829,7 @@ + @@ -41561,6 +41852,7 @@ + @@ -41585,6 +41877,7 @@ + @@ -41607,6 +41900,7 @@ + @@ -41867,6 +42161,7 @@ + @@ -42127,6 +42422,7 @@ + @@ -42375,6 +42671,7 @@ + @@ -42398,6 +42695,7 @@ + @@ -42421,6 +42719,7 @@ + @@ -42462,6 +42761,7 @@ + @@ -42484,6 +42784,7 @@ + @@ -42506,6 +42807,7 @@ + @@ -42528,6 +42830,7 @@ + @@ -42551,6 +42854,7 @@ + @@ -42653,6 +42957,7 @@ + @@ -42829,6 +43134,7 @@ + @@ -42987,6 +43293,7 @@ We should eventually add it to MESS as a separate driver with a NES CPU and a GB + @@ -43011,6 +43318,7 @@ We should eventually add it to MESS as a separate driver with a NES CPU and a GB + @@ -43032,6 +43340,7 @@ We should eventually add it to MESS as a separate driver with a NES CPU and a GB + @@ -43561,6 +43870,7 @@ Also notice that VRAM, WRAM & mirror are probably incorrect for some of these se + @@ -43580,6 +43890,7 @@ Also notice that VRAM, WRAM & mirror are probably incorrect for some of these se + @@ -43602,6 +43913,7 @@ Also notice that VRAM, WRAM & mirror are probably incorrect for some of these se + @@ -43684,6 +43996,7 @@ Also notice that VRAM, WRAM & mirror are probably incorrect for some of these se + @@ -43723,6 +44036,7 @@ Also notice that VRAM, WRAM & mirror are probably incorrect for some of these se + @@ -43745,6 +44059,7 @@ Also notice that VRAM, WRAM & mirror are probably incorrect for some of these se + @@ -43964,6 +44279,7 @@ Also notice that VRAM, WRAM & mirror are probably incorrect for some of these se + @@ -43983,6 +44299,7 @@ Also notice that VRAM, WRAM & mirror are probably incorrect for some of these se + @@ -44095,6 +44412,7 @@ Also notice that VRAM, WRAM & mirror are probably incorrect for some of these se + @@ -44435,6 +44753,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -44455,6 +44774,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -44494,6 +44814,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -44950,6 +45271,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -45521,6 +45843,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -46038,6 +46361,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -46155,6 +46479,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -46419,6 +46744,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -46441,6 +46767,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -46519,6 +46846,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -46603,6 +46931,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -46713,6 +47042,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -46732,6 +47062,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -46751,6 +47082,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -46903,6 +47235,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -47202,6 +47535,22 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + + Monster In My Pocket (USA, Prototype) + 1992 + Konami + + + + + + + + + + + + Moon Crystal (Jpn) 1992 @@ -47314,6 +47663,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -47496,6 +47846,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -47524,6 +47875,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -48278,6 +48630,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -48353,28 +48706,6 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx - - Silva Saga (Jpn) - 1992 - Seta - - - - - - - - - - - - - - - - - - The Simpsons - Bartman Meets Radioactive Man (USA, Prototype) 1992 @@ -49072,6 +49403,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -49094,6 +49426,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -49190,6 +49523,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -49335,6 +49669,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -49520,6 +49855,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52073,6 +52409,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52094,6 +52431,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52115,6 +52453,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52136,6 +52475,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52157,6 +52497,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52178,6 +52519,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52199,6 +52541,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52389,6 +52732,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52428,6 +52772,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52524,6 +52869,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52660,6 +53006,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52681,6 +53028,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52721,6 +53069,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52742,6 +53091,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52763,6 +53113,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52783,6 +53134,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52877,6 +53229,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52898,6 +53251,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52918,6 +53272,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -52977,6 +53332,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53001,6 +53357,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53025,6 +53382,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53049,6 +53407,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53073,6 +53432,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53095,6 +53455,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53117,6 +53478,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53139,6 +53501,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53164,6 +53527,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53203,6 +53567,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53228,6 +53593,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53250,6 +53616,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53310,6 +53677,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53355,6 +53723,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53376,6 +53745,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53399,6 +53769,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53420,6 +53791,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53441,6 +53813,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53462,6 +53835,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53557,6 +53931,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53631,6 +54006,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53652,6 +54028,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53692,6 +54069,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53713,6 +54091,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53735,6 +54114,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53756,6 +54136,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53777,6 +54158,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53798,6 +54180,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53819,6 +54202,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53841,6 +54225,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53919,6 +54304,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53961,6 +54347,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -53982,6 +54369,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54003,6 +54391,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54024,6 +54413,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54044,6 +54434,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54065,6 +54456,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54086,6 +54478,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54107,6 +54500,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54128,6 +54522,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54149,6 +54544,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54173,6 +54569,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54235,6 +54632,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54256,6 +54654,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54298,6 +54697,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54357,6 +54757,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54379,6 +54780,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54400,6 +54802,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54421,6 +54824,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54442,6 +54846,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54463,6 +54868,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54484,6 +54890,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54505,6 +54912,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54526,6 +54934,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54547,6 +54956,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54568,6 +54978,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54589,6 +55000,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54610,6 +55022,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54631,6 +55044,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54658,6 +55072,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54680,6 +55095,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54702,6 +55118,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54724,6 +55141,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54747,6 +55165,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54770,6 +55189,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54794,6 +55214,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54818,6 +55239,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54840,6 +55262,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54862,6 +55285,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54884,6 +55308,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54906,6 +55331,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54930,6 +55356,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54952,6 +55379,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54975,6 +55403,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -54998,6 +55427,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55020,6 +55450,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55042,6 +55473,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55064,6 +55496,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55087,6 +55520,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55114,6 +55548,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55136,6 +55571,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55158,6 +55594,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55180,6 +55617,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55202,6 +55640,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55226,6 +55665,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55250,6 +55690,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55272,6 +55713,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55294,6 +55736,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55316,6 +55759,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55338,6 +55782,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55360,6 +55805,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55386,6 +55832,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55411,6 +55858,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55434,6 +55882,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55456,6 +55905,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55516,6 +55966,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55579,6 +56030,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55601,6 +56053,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55623,6 +56076,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55647,6 +56101,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55672,6 +56127,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55694,6 +56150,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55754,6 +56211,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55776,6 +56234,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55800,6 +56259,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55821,6 +56281,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55862,6 +56323,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55885,6 +56347,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55908,6 +56371,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55933,6 +56397,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55955,6 +56420,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -55977,6 +56443,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56001,6 +56468,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56023,6 +56491,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56047,6 +56516,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56069,6 +56539,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56091,6 +56562,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56113,6 +56585,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56161,6 +56634,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56183,6 +56657,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56205,6 +56680,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56227,6 +56703,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56249,6 +56726,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56306,6 +56784,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56349,6 +56828,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56369,6 +56849,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56389,6 +56870,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56453,6 +56935,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56474,6 +56957,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56495,6 +56979,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -56516,6 +57001,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57026,6 +57512,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57050,6 +57537,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57074,6 +57562,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57093,6 +57582,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57117,6 +57607,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57136,6 +57627,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57160,6 +57652,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57184,6 +57677,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57208,6 +57702,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57232,6 +57727,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57272,6 +57768,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57296,6 +57793,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57321,6 +57819,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57341,6 +57840,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57360,6 +57860,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57380,6 +57881,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57400,6 +57902,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57420,6 +57923,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57443,6 +57947,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57543,6 +58048,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57610,6 +58116,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57634,6 +58141,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57657,6 +58165,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57680,6 +58189,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57724,6 +58234,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57749,6 +58260,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57773,6 +58285,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57797,6 +58310,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57817,6 +58331,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57837,6 +58352,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57857,6 +58373,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57877,6 +58394,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57897,6 +58415,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57921,6 +58440,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57945,6 +58465,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57964,6 +58485,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -57984,6 +58506,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58009,6 +58532,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58029,6 +58553,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58049,6 +58574,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58085,6 +58611,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58104,6 +58631,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58123,6 +58651,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58143,6 +58672,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58163,6 +58693,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58183,6 +58714,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58207,6 +58739,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58230,6 +58763,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58253,6 +58787,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58276,6 +58811,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58300,6 +58836,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58324,6 +58861,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58347,6 +58885,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58370,6 +58909,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58393,6 +58933,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58416,6 +58957,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58439,6 +58981,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58463,6 +59006,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58486,6 +59030,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58509,6 +59054,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -58549,6 +59095,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -59775,6 +60322,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -59881,6 +60429,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -60099,6 +60648,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -60120,6 +60670,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -60158,6 +60709,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -60197,6 +60749,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -60301,6 +60854,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -60337,6 +60891,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -60456,6 +61011,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -60491,6 +61047,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -60575,6 +61132,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -60732,6 +61290,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -60790,6 +61349,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -60827,6 +61387,7 @@ preliminary proto for the PAL version, still running on NTSC systems) or the gfx + @@ -61080,6 +61641,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -61116,6 +61678,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -61152,6 +61715,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -61190,6 +61754,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -61211,6 +61776,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -61248,6 +61814,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -61285,6 +61852,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -61304,6 +61872,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -61832,6 +62401,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -61889,6 +62459,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -61909,6 +62480,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -61963,6 +62535,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -61985,6 +62558,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -62007,6 +62581,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -62028,6 +62603,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -62052,6 +62628,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -62072,6 +62649,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -62092,6 +62670,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -62112,6 +62691,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -62131,6 +62711,7 @@ We don't include these hacks because they were not burned into real carts nor so + @@ -62248,6 +62829,7 @@ from the NEStopia source, hence they would require confirmation. --> + @@ -62566,6 +63148,7 @@ from the NEStopia source, hence they would require confirmation. --> + @@ -62586,6 +63169,7 @@ from the NEStopia source, hence they would require confirmation. --> + @@ -62764,6 +63348,7 @@ All musics were removed in this game. + @@ -62784,6 +63369,7 @@ All musics were removed in this game. + @@ -62803,6 +63389,7 @@ All musics were removed in this game. + @@ -62925,6 +63512,7 @@ All musics were removed in this game. + @@ -63447,6 +64035,7 @@ All musics were removed in this game. + @@ -63743,6 +64332,7 @@ All musics were removed in this game. + @@ -63763,6 +64353,7 @@ All musics were removed in this game. + @@ -64262,6 +64853,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67276,6 +67868,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67296,6 +67889,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67316,6 +67910,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67335,6 +67930,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67373,6 +67969,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67392,6 +67989,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67467,6 +68065,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67487,6 +68086,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67507,6 +68107,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67527,6 +68128,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67547,6 +68149,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67567,6 +68170,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67588,6 +68192,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67609,6 +68214,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67630,6 +68236,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67683,6 +68290,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67720,6 +68328,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67740,6 +68349,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67761,6 +68371,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67781,6 +68392,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67801,6 +68413,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67822,6 +68435,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67842,6 +68456,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67863,6 +68478,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67884,6 +68500,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67904,6 +68521,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67924,6 +68542,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67945,6 +68564,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -67966,6 +68586,7 @@ Also notice that VRAM & WRAM are probably incorrect for some of these sets, at t + @@ -68027,6 +68648,7 @@ Subor v15.0 (this shows Windows 2002 on the title screen) + @@ -68065,6 +68687,7 @@ Subor v15.0 (this shows Windows 2002 on the title screen) + @@ -68085,6 +68708,7 @@ Subor v15.0 (this shows Windows 2002 on the title screen) + @@ -68122,6 +68746,7 @@ Subor v15.0 (this shows Windows 2002 on the title screen) + @@ -68142,6 +68767,7 @@ Subor v15.0 (this shows Windows 2002 on the title screen) + @@ -68162,6 +68788,7 @@ Subor v15.0 (this shows Windows 2002 on the title screen) + @@ -68182,6 +68809,7 @@ Subor v15.0 (this shows Windows 2002 on the title screen) + @@ -68202,6 +68830,7 @@ Subor v15.0 (this shows Windows 2002 on the title screen) + @@ -68222,6 +68851,7 @@ Subor v15.0 (this shows Windows 2002 on the title screen) + @@ -69718,6 +70348,7 @@ resulting in tons of glitches? --> + @@ -70178,6 +70809,7 @@ resulting in tons of glitches? --> + @@ -70684,6 +71316,7 @@ resulting in tons of glitches? --> + @@ -70703,6 +71336,7 @@ resulting in tons of glitches? --> + @@ -70742,6 +71376,7 @@ resulting in tons of glitches? --> + @@ -70762,6 +71397,7 @@ resulting in tons of glitches? --> + @@ -71057,6 +71693,7 @@ resulting in tons of glitches? --> + @@ -71457,6 +72094,7 @@ resulting in tons of glitches? --> + @@ -71476,6 +72114,7 @@ resulting in tons of glitches? --> + @@ -72058,6 +72697,7 @@ We include them here as reference if they should coincide with later revisions o + @@ -72237,6 +72877,7 @@ be better to redump them properly. --> + @@ -72275,6 +72916,7 @@ be better to redump them properly. --> + @@ -72378,6 +73020,7 @@ be better to redump them properly. --> + @@ -74192,6 +74835,7 @@ be better to redump them properly. --> + @@ -74211,6 +74855,7 @@ be better to redump them properly. --> + @@ -77802,6 +78447,7 @@ to check why this is different --> + diff --git a/src/emu/bus/nes/nes_pcb.inc b/src/emu/bus/nes/nes_pcb.inc index ccb08819617..11d14d96042 100644 --- a/src/emu/bus/nes/nes_pcb.inc +++ b/src/emu/bus/nes/nes_pcb.inc @@ -579,7 +579,20 @@ void nes_cart_slot_device::call_load_pcb() { UINT32 tot_size = battery_size + mapper_sram_size; dynamic_buffer temp_nvram(tot_size); - battery_load(temp_nvram, tot_size, 0x00); + + // some games relies on specific battery patterns to work + // (e.g. Silva Saga does not work with SRAM fully initialized to 0x00) + // and we use the info from xml here to prepare a default NVRAM + dynamic_buffer default_nvram(tot_size); + if (battery_size) + memcpy(default_nvram, get_software_region("bwram"), battery_size); + if (mapper_sram_size) + memset(default_nvram + battery_size, 0, mapper_sram_size); + + // load battery (using default if no battery exists) + battery_load(temp_nvram, tot_size, default_nvram); + + // copy battery into PCB arrays if (battery_size) { m_cart->battery_alloc(battery_size); diff --git a/src/emu/diimage.c b/src/emu/diimage.c index e99778667a1..b8a31e185db 100644 --- a/src/emu/diimage.c +++ b/src/emu/diimage.c @@ -500,10 +500,15 @@ UINT32 device_image_interface::crc() void device_image_interface::battery_load(void *buffer, int length, int fill) { astring fname(device().machine().system().name, PATH_SEPARATOR, m_basename_noext, ".nv"); - image_battery_load_by_name(device().machine().options(), fname, buffer, length, fill); } +void device_image_interface::battery_load(void *buffer, int length, void *def_buffer) +{ + astring fname(device().machine().system().name, PATH_SEPARATOR, m_basename_noext, ".nv"); + image_battery_load_by_name(device().machine().options(), fname, buffer, length, def_buffer); +} + /*------------------------------------------------- battery_save - stores the battery backed RAM for an image. The file name is diff --git a/src/emu/diimage.h b/src/emu/diimage.h index a17729fe7f3..f97fa25a5b0 100644 --- a/src/emu/diimage.h +++ b/src/emu/diimage.h @@ -219,6 +219,7 @@ public: hash_collection& hash() { return m_hash; } void battery_load(void *buffer, int length, int fill); + void battery_load(void *buffer, int length, void *def_buffer); void battery_save(const void *buffer, int length); const char *image_type_name() const { return device_typename(image_type()); } diff --git a/src/emu/image.c b/src/emu/image.c index cdd914bf5d8..fca762dcb2d 100644 --- a/src/emu/image.c +++ b/src/emu/image.c @@ -310,6 +310,12 @@ void image_init(running_machine &machine) image_battery_load_by_name - retrieves the battery backed RAM for an image. A filename may be supplied to the function. + + The function comes in two flavors, depending on + what should happen when no battery is available: + we could fill the memory with a given value, or + pass a default battery (for a pre-initialized + battery from factory) -------------------------------------------------*/ void image_battery_load_by_name(emu_options &options, const char *filename, void *buffer, int length, int fill) @@ -329,6 +335,24 @@ void image_battery_load_by_name(emu_options &options, const char *filename, void memset(((char *) buffer) + bytes_read, fill, length - bytes_read); } +void image_battery_load_by_name(emu_options &options, const char *filename, void *buffer, int length, void *def_buffer) +{ + file_error filerr; + int bytes_read = 0; + + assert_always(buffer && (length > 0), "Must specify sensical buffer/length"); + + /* try to open the battery file and read it in, if possible */ + emu_file file(options.nvram_directory(), OPEN_FLAG_READ); + filerr = file.open(filename); + if (filerr == FILERR_NONE) + bytes_read = file.read(buffer, length); + + /* if no file was present, copy the default battery */ + if (bytes_read == 0 && def_buffer) + memcpy((char *) buffer, (char *) def_buffer, length); +} + /*------------------------------------------------- image_battery_save_by_name - stores the battery backed RAM for an image. A filename may be supplied diff --git a/src/emu/image.h b/src/emu/image.h index 9341e8d9f59..4b3e5c1e05b 100644 --- a/src/emu/image.h +++ b/src/emu/image.h @@ -24,6 +24,7 @@ void image_postdevice_init(running_machine &machine); extern struct io_procs image_ioprocs; void image_battery_load_by_name(emu_options &options, const char *filename, void *buffer, int length, int fill); +void image_battery_load_by_name(emu_options &options, const char *filename, void *buffer, int length, void *def_buffer); void image_battery_save_by_name(emu_options &options, const char *filename, const void *buffer, int length); #endif /* __IMAGE_H__ */