# | Line 90 | Line 90 | static inline void *Mac2Mac_memcpy(uint3 | |
---|---|---|
90 | * 680x0 and PPC emulation | |
91 | */ | |
92 | ||
93 | + | // 68k procedure helper to write a big endian 16-bit word |
94 | + | #ifdef WORDS_BIGENDIAN |
95 | + | #define PW(W) W |
96 | + | #else |
97 | + | #define PW(X) ((((X) >> 8) & 0xff) | (((X) & 0xff) << 8)) |
98 | + | #endif |
99 | + | |
100 | struct M68kRegisters; | |
101 | extern void Execute68k(uint32, M68kRegisters *r); // Execute 68k subroutine from EMUL_OP routine, must be ended with RTS | |
102 | extern void Execute68kTrap(uint16 trap, M68kRegisters *r); // Execute 68k A-Trap from EMUL_OP routine |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |