X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fm68000%2Fm68kinterface.c;h=c6e81021be9e833283dd4266d9f2dec4b4ed3ed7;hb=b86a1645ad3fdedf85202c5563c2c5fc1e0eb03d;hp=d691b0e164109faf75590a911532810719b1d5e7;hpb=ec46f1b3c40cf464d833e360346b4f6f8379b9ae;p=virtualjaguar diff --git a/src/m68000/m68kinterface.c b/src/m68000/m68kinterface.c index d691b0e..c6e8102 100644 --- a/src/m68000/m68kinterface.c +++ b/src/m68000/m68kinterface.c @@ -263,6 +263,10 @@ if (inRoutine) instSeen++; #endif uint32_t opcode = get_iword(0); +//if ((opcode & 0xFFF8) == 0x31C0) +//{ +// printf("MOVE.W D%i, EA\n", opcode & 0x07); +//} int32_t cycles = (int32_t)(*cpuFunctionTable[opcode])(opcode); regs.remainingCycles -= cycles; //printf("Executed opcode $%04X (%i cycles)...\n", opcode, cycles); @@ -588,11 +592,14 @@ void BuildCPUFunctionTable(void) unsigned long opcode; // We're only using the "fast" 68000 emulation here, not the "compatible" + // ("fast" doesn't throw exceptions, so we're using "compatible" now :-P) #if 0 const struct cputbl * tbl = (currprefs.cpu_compatible ? op_smalltbl_5_ff : op_smalltbl_4_ff); #else - const struct cputbl * tbl = op_smalltbl_4_ff; +//let's try "compatible" and see what happens here... +// const struct cputbl * tbl = op_smalltbl_4_ff; + const struct cputbl * tbl = op_smalltbl_5_ff; #endif // Log_Printf(LOG_DEBUG, "Building CPU function table (%d %d %d).\n",