Applied more DPC+ fixes from Batari, and added properties info

for Grandmas Revenge ROM.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2203 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2011-01-09 15:21:23 +00:00
parent fcb12065ce
commit f2427a6cbc
3 changed files with 13 additions and 5 deletions

View File

@ -165,15 +165,15 @@ inline void CartridgeDPCPlus::updateMusicModeDataFetchers()
inline void CartridgeDPCPlus::callFunction(uInt8 value)
{
// myParameter
Int16 ROMdata = myParameter[1] * 256 + myParameter[0];
uInt16 ROMdata = (myParameter[1] << 8) + myParameter[0];
switch (value)
{
case 0: // Parameter Pointer reset
myParameterPointer=0;
myParameterPointer = 0;
break;
case 1: // Copy ROM to fetcher
for(int i = 0; i < myParameter[3]; ++i)
myDisplayImage[myCounters[myParameter[2]]+i] = myProgramImage[ROMdata+i];
myDisplayImage[myCounters[myParameter[2] & 0x7]+i] = myProgramImage[ROMdata+i];
myParameterPointer = 0;
break;
case 2: // Copy value to fetcher
@ -423,7 +423,8 @@ bool CartridgeDPCPlus::poke(uInt16 address, uInt8 value)
break;
case 0x01: // PARAMETER - set parameter used by CALLFUNCTION (not all functions use the parameter)
myParameter[myParameterPointer++] = value;
if(myParameterPointer < 8)
myParameter[myParameterPointer++] = value;
break;
case 0x02: // CALLFUNCTION

View File

@ -27,7 +27,7 @@
regenerated and the application recompiled.
*/
#define DEF_PROPS_SIZE 3243
#define DEF_PROPS_SIZE 3244
static const char* DefProps[DEF_PROPS_SIZE][20] = {
{ "000509d1ed2b8d30a9d94be1b3b5febb", "Greg Zumwalt", "", "Jungle Jane (2003) (Greg Zumwalt) (Hack)", "Hack of Pitfall!", "Hack", "", "", "", "", "", "", "", "", "", "", "", "", "", "" },
@ -1171,6 +1171,7 @@ static const char* DefProps[DEF_PROPS_SIZE][20] = {
{ "5a81ad4e184050851e63c8e16e3dac77", "Jone Yuan Telephonic Enterprise Co", "Hack", "Sky Diver (Jone Yuan) (Hack)", "2600 Screen Search Console", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" },
{ "5a8afe5422abbfb0a342fb15afd7415f", "Atari, Robert C. Polaro", "CX26155", "Sprint Master (1988) (Atari)", "", "", "", "", "", "", "", "", "", "", "", "", "24", "", "", "" },
{ "5a93265095146458df2baf2162014889", "Activision, Steve Cartwright - Ariola", "EAX-031, EAX-031-04B - 711 031-717", "Frostbite (1983) (Activision) (PAL)", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" },
{ "5a9685c4d51a6c1d6a9544946d9e8dc3", "AtariAge", "", "Grandma's Revenge (AtariAge)", "Can use driving controller in right port", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" },
{ "5a9d188245aff829efde816fcade0b16", "CCE", "C-808", "Phantom Tank (1983) (CCE) (PAL)", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" },
{ "5acf9865a72c0ce944979f76ff9610f0", "", "", "Dodge Demo 2 (PD)", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" },
{ "5ae73916fa1da8d38ceff674fa25a78a", "CCE", "", "Barnstorming (CCE)", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" },

View File

@ -19628,3 +19628,9 @@
"Controller.Right" "PADDLES"
"Display.YStart" "33"
""
"Cartridge.MD5" "5a9685c4d51a6c1d6a9544946d9e8dc3"
"Cartridge.Manufacturer" "AtariAge"
"Cartridge.Name" "Grandma's Revenge (AtariAge)"
"Cartridge.Note" "Can use driving controller in right port"
""