ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/uae_cpu/newcpu.h
(Generate patch)

Comparing BasiliskII/src/uae_cpu/newcpu.h (file contents):
Revision 1.13 by gbeauche, 2004-11-01T16:01:51Z vs.
Revision 1.17 by asvitkine, 2012-03-30T01:25:46Z

# Line 1 | Line 1
1 < /*
2 <  * UAE - The Un*x Amiga Emulator
3 <  *
4 <  * MC68000 emulation
5 <  *
6 <  * Copyright 1995 Bernd Schmidt
7 <  */
1 > /*
2 > * UAE - The Un*x Amiga Emulator
3 > *
4 > * MC68000 emulation
5 > *
6 > * Copyright 1995 Bernd Schmidt
7 > *
8 > * This program is free software; you can redistribute it and/or modify
9 > * it under the terms of the GNU General Public License as published by
10 > * the Free Software Foundation; either version 2 of the License, or
11 > * (at your option) any later version.
12 > *
13 > * This program is distributed in the hope that it will be useful,
14 > * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 > * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 > * GNU General Public License for more details.
17 > *
18 > * You should have received a copy of the GNU General Public License
19 > * along with this program; if not, write to the Free Software
20 > * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21 > */
22  
23   #ifndef NEWCPU_H
24   #define NEWCPU_H
# Line 282 | Line 296 | extern struct cputbl op_smalltbl_3_ff[];
296   extern struct cputbl op_smalltbl_4_ff[];
297  
298   #if FLIGHT_RECORDER
299 < extern void m68k_record_step(uaecptr);
299 > extern void m68k_record_step(uaecptr) REGPARAM;
300   #endif
301   extern void m68k_do_execute(void);
302   extern void m68k_execute(void);
303   #if USE_JIT
290 #if defined(X86_ASSEMBLY) || defined(X86_64_ASSEMBLY)
291 /* This is generated code */
292 extern void (*m68k_compile_execute)(void);
293 #else
294 extern void m68k_do_compile_execute(void);
304   extern void m68k_compile_execute(void);
305   #endif
306 + #ifdef USE_CPU_EMUL_SERVICES
307 + extern int32 emulated_ticks;
308 + extern void cpu_do_check_ticks(void);
309 +
310 + static inline void cpu_check_ticks(void)
311 + {
312 +        if (--emulated_ticks <= 0)
313 +                cpu_do_check_ticks();
314 + }
315 + #else
316 + #define cpu_check_ticks()
317 + #define cpu_do_check_ticks()
318   #endif
319  
320   #endif /* NEWCPU_H */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines