mcd: text shows up
[picodrive.git] / cpu / musashi / m68kcpu.c
index b3cd36d..e4212a8 100644 (file)
@@ -39,8 +39,8 @@ static const char* copyright_notice =
 /* ================================= 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
@@ -771,6 +771,8 @@ void m68k_set_cpu_type(unsigned int cpu_type)
 /* 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
@@ -827,17 +829,19 @@ int m68k_execute(int num_cycles)
        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
@@ -851,7 +855,7 @@ void m68k_end_timeslice(void)
        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