42 |
|
#include "extfs.h" |
43 |
|
#include "emul_op.h" |
44 |
|
|
45 |
+ |
#if ENABLE_MON |
46 |
+ |
#include "mon.h" |
47 |
+ |
#endif |
48 |
+ |
|
49 |
|
#define DEBUG 0 |
50 |
|
#include "debug.h" |
51 |
|
|
68 |
|
r->d[0], r->d[1], r->d[2], r->d[3], r->d[4], r->d[5], r->d[6], r->d[7], |
69 |
|
r->a[0], r->a[1], r->a[2], r->a[3], r->a[4], r->a[5], r->a[6], r->a[7], |
70 |
|
r->sr); |
71 |
+ |
#if ENABLE_MON |
72 |
+ |
char *arg[2]; |
73 |
+ |
arg[0] = "rmon"; |
74 |
+ |
arg[1] = NULL; |
75 |
+ |
mon(1, arg); |
76 |
+ |
#endif |
77 |
|
QuitEmulator(); |
78 |
|
break; |
79 |
|
} |
513 |
|
break; |
514 |
|
#endif |
515 |
|
|
516 |
+ |
case M68K_EMUL_OP_BLOCK_MOVE: // BlockMove() replacement |
517 |
+ |
memmove(Mac2HostAddr(r->a[1]), Mac2HostAddr(r->a[0]), r->d[0]); |
518 |
+ |
break; |
519 |
+ |
|
520 |
|
default: |
521 |
|
printf("FATAL: EMUL_OP called with bogus opcode %08x\n", opcode); |
522 |
|
printf("d0 %08lx d1 %08lx d2 %08lx d3 %08lx\n" |