CPU and MMU cleanups and fixes, and non-Debug builds are now stripped again.
This commit is contained in:
@@ -186,8 +186,8 @@ static int opFF_w_a16(uint32_t fetchdat)
|
||||
PUSH_W(cpu_state.pc);
|
||||
cpu_state.pc = new_pc;
|
||||
CPU_BLOCK_END();
|
||||
if (is486) CLOCK_CYCLES(5);
|
||||
else CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10);
|
||||
if (is486) { CLOCK_CYCLES(5); }
|
||||
else { CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10); }
|
||||
PREFETCH_RUN((cpu_mod == 3) ? 7 : 10, 2, rmdat, (cpu_mod == 3) ? 0:1,0,1,0, 0);
|
||||
PREFETCH_FLUSH();
|
||||
break;
|
||||
@@ -208,8 +208,8 @@ static int opFF_w_a16(uint32_t fetchdat)
|
||||
new_pc = geteaw(); if (cpu_state.abrt) return 1;
|
||||
cpu_state.pc = new_pc;
|
||||
CPU_BLOCK_END();
|
||||
if (is486) CLOCK_CYCLES(5);
|
||||
else CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10);
|
||||
if (is486) { CLOCK_CYCLES(5); }
|
||||
else { CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10); }
|
||||
PREFETCH_RUN((cpu_mod == 3) ? 7 : 10, 2, rmdat, (cpu_mod == 3) ? 0:1,0,0,0, 0);
|
||||
PREFETCH_FLUSH();
|
||||
break;
|
||||
@@ -285,8 +285,8 @@ static int opFF_w_a32(uint32_t fetchdat)
|
||||
PUSH_W(cpu_state.pc);
|
||||
cpu_state.pc = new_pc;
|
||||
CPU_BLOCK_END();
|
||||
if (is486) CLOCK_CYCLES(5);
|
||||
else CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10);
|
||||
if (is486) { CLOCK_CYCLES(5); }
|
||||
else { CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10); }
|
||||
PREFETCH_RUN((cpu_mod == 3) ? 7 : 10, 2, rmdat, (cpu_mod == 3) ? 0:1,0,1,0, 1);
|
||||
PREFETCH_FLUSH();
|
||||
break;
|
||||
@@ -307,8 +307,8 @@ static int opFF_w_a32(uint32_t fetchdat)
|
||||
new_pc = geteaw(); if (cpu_state.abrt) return 1;
|
||||
cpu_state.pc = new_pc;
|
||||
CPU_BLOCK_END();
|
||||
if (is486) CLOCK_CYCLES(5);
|
||||
else CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10);
|
||||
if (is486) { CLOCK_CYCLES(5); }
|
||||
else { CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10); }
|
||||
PREFETCH_RUN(cycles_old-cycles, 2, rmdat, 1,0,0,0, 1);
|
||||
PREFETCH_FLUSH();
|
||||
break;
|
||||
@@ -385,8 +385,8 @@ static int opFF_l_a16(uint32_t fetchdat)
|
||||
PUSH_L(cpu_state.pc);
|
||||
cpu_state.pc = new_pc;
|
||||
CPU_BLOCK_END();
|
||||
if (is486) CLOCK_CYCLES(5);
|
||||
else CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10);
|
||||
if (is486) { CLOCK_CYCLES(5); }
|
||||
else { CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10); }
|
||||
PREFETCH_RUN((cpu_mod == 3) ? 7 : 10, 2, rmdat, 0,(cpu_mod == 3) ? 0:1,0,1, 0);
|
||||
PREFETCH_FLUSH();
|
||||
break;
|
||||
@@ -407,8 +407,8 @@ static int opFF_l_a16(uint32_t fetchdat)
|
||||
new_pc = geteal(); if (cpu_state.abrt) return 1;
|
||||
cpu_state.pc = new_pc;
|
||||
CPU_BLOCK_END();
|
||||
if (is486) CLOCK_CYCLES(5);
|
||||
else CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10);
|
||||
if (is486) { CLOCK_CYCLES(5); }
|
||||
else { CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10); }
|
||||
PREFETCH_RUN(cycles_old-cycles, 2, rmdat, 0,1,0,0, 0);
|
||||
PREFETCH_FLUSH();
|
||||
break;
|
||||
@@ -484,8 +484,8 @@ static int opFF_l_a32(uint32_t fetchdat)
|
||||
PUSH_L(cpu_state.pc); if (cpu_state.abrt) return 1;
|
||||
cpu_state.pc = new_pc;
|
||||
CPU_BLOCK_END();
|
||||
if (is486) CLOCK_CYCLES(5);
|
||||
else CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10);
|
||||
if (is486) { CLOCK_CYCLES(5); }
|
||||
else { CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10); }
|
||||
PREFETCH_RUN((cpu_mod == 3) ? 7 : 10, 2, rmdat, 0,(cpu_mod == 3) ? 0:1,0,1, 1);
|
||||
PREFETCH_FLUSH();
|
||||
break;
|
||||
@@ -506,8 +506,8 @@ static int opFF_l_a32(uint32_t fetchdat)
|
||||
new_pc = geteal(); if (cpu_state.abrt) return 1;
|
||||
cpu_state.pc = new_pc;
|
||||
CPU_BLOCK_END();
|
||||
if (is486) CLOCK_CYCLES(5);
|
||||
else CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10);
|
||||
if (is486) { CLOCK_CYCLES(5); }
|
||||
else { CLOCK_CYCLES((cpu_mod == 3) ? 7 : 10); }
|
||||
PREFETCH_RUN(cycles_old-cycles, 2, rmdat, 1,1,0,0, 1);
|
||||
PREFETCH_FLUSH();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user