more MAME fixes, some optimization

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@177 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2007-06-29 20:44:30 +00:00
parent 2c559c66ef
commit cfb3dfa0f2
10 changed files with 144 additions and 119 deletions

View file

@ -59,7 +59,7 @@ int OpBtstReg(int op)
ot("\n");
EaWrite(11, 1,tea,size,0x003f);
}
OpEnd();
OpEnd(tea);
return 0;
}
@ -88,7 +88,7 @@ int OpBtstImm(int op)
use=OpBase(op);
if (op!=use) { OpUse(op,use); return 0; } // Use existing handler
OpStart(op,sea|tea);
OpStart(op,sea,tea);
ot(" mov r10,#1\n");
ot("\n");
@ -123,7 +123,7 @@ int OpBtstImm(int op)
EaWrite(11, 1,tea,size,0x003f);
}
OpEnd();
OpEnd(sea,tea);
return 0;
}
@ -206,7 +206,7 @@ int OpNeg(int op)
EaWrite(10, 1,ea,size,0x003f);
OpEnd();
OpEnd(ea);
return 0;
}
@ -263,7 +263,7 @@ int OpTst(int op)
ot(" mrs r9,cpsr ;@ r9=flags\n");
ot("\n");
OpEnd();
OpEnd(sea);
return 0;
}
@ -342,7 +342,7 @@ int OpSet(int op)
EaCalc (0,0x003f, ea,size);
EaWrite(0, 1, ea,size,0x003f);
OpEnd();
OpEnd(ea);
return 0;
}
@ -628,7 +628,7 @@ int OpAsrEa(int op)
EaWrite(10, 0,ea,size,0x003f,1);
OpEnd();
OpEnd(ea);
return 0;
}
@ -670,7 +670,7 @@ int OpTas(int op, int gen_special)
}
#endif
OpEnd();
OpEnd(ea);
#if (CYCLONE_FOR_GENESIS == 2)
if (!gen_special && ea >= 0x10) {