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.34 by gbeauche, 2006-04-30T17:27:55Z vs.
Revision 1.35 by gbeauche, 2006-04-30T21:16:48Z

# Line 557 | Line 557 | void EmulOp(uint16 opcode, M68kRegisters
557                          r->d[0] = DebugUtil(r->d[0]);
558                          break;
559  
560 +                case M68K_EMUL_OP_IDLE_TIME:    // SynchIdleTime() patch
561 +                        // Sleep if no events pending
562 +                        if (ReadMacInt32(0x14c) == 0)
563 +                                idle_wait();
564 +                        r->a[0] = ReadMacInt32(0x2b6);
565 +                        break;
566 +
567                  default:
568                          printf("FATAL: EMUL_OP called with bogus opcode %08x\n", opcode);
569                          printf("d0 %08x d1 %08x d2 %08x d3 %08x\n"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines