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.25 by cebix, 2001-07-03T15:59:45Z

# 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 68 | Line 68 | void EmulOp(uint16 opcode, M68kRegisters
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 +                        VideoQuitFullScreen();
72   #ifdef ENABLE_MON
73 <                        char *arg[2] = {"rmon", NULL};
74 <                        mon(1, arg);
73 >                        char *arg[4] = {"mon", "-m", "-r", NULL};
74 >                        mon(3, arg);
75   #endif
76                          QuitEmulator();
77                          break;
# Line 523 | Line 524 | void EmulOp(uint16 opcode, M68kRegisters
524                          break;
525   #endif
526  
527 <                case M68K_EMUL_OP_BLOCK_MOVE:           // BlockMove() replacement
528 <                        memmove(Mac2HostAddr(r->a[1]), Mac2HostAddr(r->a[0]), r->d[0]);
527 >                case M68K_EMUL_OP_BLOCK_MOVE:           // BlockMove() cache flushing
528 >                        FlushCodeCache(Mac2HostAddr(r->a[0]), r->a[1]);
529                          break;
530  
531                  case M68K_EMUL_OP_DEBUGUTIL:
# Line 543 | Line 544 | void EmulOp(uint16 opcode, M68kRegisters
544                                     r->a[0], r->a[1], r->a[2], r->a[3], r->a[4], r->a[5], r->a[6], r->a[7],
545                                     r->sr);
546   #ifdef ENABLE_MON
547 <                        char *arg[2] = {"rmon", NULL};
548 <                        mon(1, arg);
547 >                        char *arg[4] = {"mon", "-m", "-r", NULL};
548 >                        mon(3, arg);
549   #endif
550                          QuitEmulator();
551                          break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines