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.5 by gbeauche, 2001-03-20T17:35:46Z vs.
Revision 1.7 by gbeauche, 2002-03-23T13:57:38Z

# Line 21 | Line 21
21   #define SPCFLAG_EXEC 1024
22   #define SPCFLAG_MODE_CHANGE 8192
23  
24 #ifndef SET_CFLG
25
26 #define SET_CFLG(x) (CFLG = (x))
27 #define SET_NFLG(x) (NFLG = (x))
28 #define SET_VFLG(x) (VFLG = (x))
29 #define SET_ZFLG(x) (ZFLG = (x))
30 #define SET_XFLG(x) (XFLG = (x))
31
32 #define GET_CFLG CFLG
33 #define GET_NFLG NFLG
34 #define GET_VFLG VFLG
35 #define GET_ZFLG ZFLG
36 #define GET_XFLG XFLG
37
38 #define CLEAR_CZNV do { \
39 SET_CFLG (0); \
40 SET_ZFLG (0); \
41 SET_NFLG (0); \
42 SET_VFLG (0); \
43 } while (0)
44
45 #define COPY_CARRY (SET_XFLG (GET_CFLG))
46 #endif
47
24   extern int areg_byteinc[];
25   extern int imm8_table[];
26  
# Line 246 | Line 222 | static __inline__ void m68k_do_jsr(uaecp
222   static __inline__ void m68k_setstopped (int stop)
223   {
224      regs.stopped = stop;
225 <    if (stop)
225 >    /* A traced STOP instruction drops through immediately without
226 >       actually stopping.  */
227 >    if (stop && (regs.spcflags & SPCFLAG_DOTRACE) == 0)
228          regs.spcflags |= SPCFLAG_STOP;
229   }
230  
# Line 259 | Line 237 | extern void MakeSR (void);
237   extern void MakeFromSR (void);
238   extern void Exception (int, uaecptr);
239   extern void dump_counts (void);
240 < extern void m68k_move2c (int, uae_u32 *);
241 < extern void m68k_movec2 (int, uae_u32 *);
240 > extern int m68k_move2c (int, uae_u32 *);
241 > extern int m68k_movec2 (int, uae_u32 *);
242   extern void m68k_divl (uae_u32, uae_u32, uae_u16, uaecptr);
243   extern void m68k_mull (uae_u32, uae_u32, uae_u16);
244   extern void init_m68k (void);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines