/* ================================= DATA ================================= */\r
/* ======================================================================== */\r
\r
-int m68ki_initial_cycles;\r
-int m68ki_remaining_cycles = 0; /* Number of clocks remaining */\r
+// int m68ki_initial_cycles; // moved to m68k_execute() stack\r
+// int m68ki_remaining_cycles = 0; /* Number of clocks remaining */\r
uint m68ki_tracing = 0;\r
uint m68ki_address_space;\r
\r
/* ASG: removed per-instruction interrupt checks */\r
int m68k_execute(int num_cycles)\r
{\r
+ int m68ki_initial_cycles;\r
+\r
/* Make sure we're not stopped */\r
if(!CPU_STOPPED)\r
{\r
return num_cycles;\r
}\r
\r
-\r
+#if 0\r
int m68k_cycles_run(void)\r
{\r
return m68ki_initial_cycles - GET_CYCLES();\r
}\r
+#endif\r
\r
int m68k_cycles_remaining(void)\r
{\r
return GET_CYCLES();\r
}\r
\r
+#if 0\r
/* Change the timeslice */\r
void m68k_modify_timeslice(int cycles)\r
{\r
m68ki_initial_cycles = GET_CYCLES();\r
SET_CYCLES(0);\r
}\r
-\r
+#endif\r
\r
/* ASG: rewrote so that the int_level is a mask of the IPL0/IPL1/IPL2 bits */\r
/* KS: Modified so that IPL* bits match with mask positions in the SR\r