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 |
|
|
235 |
|
extern void MakeFromSR (void); |
236 |
|
extern void Exception (int, uaecptr); |
237 |
|
extern void dump_counts (void); |
238 |
< |
extern void m68k_move2c (int, uae_u32 *); |
239 |
< |
extern void m68k_movec2 (int, uae_u32 *); |
238 |
> |
extern int m68k_move2c (int, uae_u32 *); |
239 |
> |
extern int m68k_movec2 (int, uae_u32 *); |
240 |
|
extern void m68k_divl (uae_u32, uae_u32, uae_u16, uaecptr); |
241 |
|
extern void m68k_mull (uae_u32, uae_u32, uae_u16); |
242 |
|
extern void init_m68k (void); |