282 |
|
extern struct cputbl op_smalltbl_4_ff[]; |
283 |
|
|
284 |
|
#if FLIGHT_RECORDER |
285 |
< |
extern void m68k_record_step(uaecptr); |
285 |
> |
extern void m68k_record_step(uaecptr) REGPARAM; |
286 |
|
#endif |
287 |
|
extern void m68k_do_execute(void); |
288 |
|
extern void m68k_execute(void); |
289 |
|
#if USE_JIT |
290 |
< |
#ifdef X86_ASSEMBLY |
290 |
> |
#if defined(X86_ASSEMBLY) || defined(X86_64_ASSEMBLY) |
291 |
|
/* This is generated code */ |
292 |
|
extern void (*m68k_compile_execute)(void); |
293 |
|
#else |
295 |
|
extern void m68k_compile_execute(void); |
296 |
|
#endif |
297 |
|
#endif |
298 |
+ |
#ifdef USE_CPU_EMUL_SERVICES |
299 |
+ |
extern int32 emulated_ticks; |
300 |
+ |
extern void cpu_do_check_ticks(void); |
301 |
+ |
|
302 |
+ |
static inline void cpu_check_ticks(void) |
303 |
+ |
{ |
304 |
+ |
if (--emulated_ticks <= 0) |
305 |
+ |
cpu_do_check_ticks(); |
306 |
+ |
} |
307 |
+ |
#else |
308 |
+ |
#define cpu_check_ticks() |
309 |
+ |
#define cpu_do_check_ticks() |
310 |
+ |
#endif |
311 |
|
|
312 |
|
#endif /* NEWCPU_H */ |