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

Comparing BasiliskII/src/emul_op.cpp (file contents):
Revision 1.19 by jlachmann, 2000-08-20T14:08:39Z vs.
Revision 1.24 by gbeauche, 2001-02-10T11:37:42Z

# Line 1 | Line 1
1   /*
2   *  emul_op.cpp - 68k opcodes for ROM patches
3   *
4 < *  Basilisk II (C) 1997-2000 Christian Bauer
4 > *  Basilisk II (C) 1997-2001 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 69 | Line 69 | void EmulOp(uint16 opcode, M68kRegisters
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   #ifdef ENABLE_MON
72 <                        char *arg[2] = {"rmon", NULL};
73 <                        mon(1, arg);
72 >                        char *arg[4] = {"mon", "-m", "-r", NULL};
73 >                        mon(3, arg);
74   #endif
75                          QuitEmulator();
76                          break;
# Line 523 | Line 523 | void EmulOp(uint16 opcode, M68kRegisters
523                          break;
524   #endif
525  
526 <                case M68K_EMUL_OP_BLOCK_MOVE:           // BlockMove() replacement
527 <                        memmove(Mac2HostAddr(r->a[1]), Mac2HostAddr(r->a[0]), r->d[0]);
526 >                case M68K_EMUL_OP_BLOCK_MOVE:           // BlockMove() cache flushing
527 >                        FlushCodeCache(Mac2HostAddr(r->a[0]), r->a[1]);
528                          break;
529  
530                  case M68K_EMUL_OP_DEBUGUTIL:
# Line 543 | Line 543 | void EmulOp(uint16 opcode, M68kRegisters
543                                     r->a[0], r->a[1], r->a[2], r->a[3], r->a[4], r->a[5], r->a[6], r->a[7],
544                                     r->sr);
545   #ifdef ENABLE_MON
546 <                        char *arg[2] = {"rmon", NULL};
547 <                        mon(1, arg);
546 >                        char *arg[4] = {"mon", "-m", "-r", NULL};
547 >                        mon(3, arg);
548   #endif
549                          QuitEmulator();
550                          break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines