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

Comparing SheepShaver/src/emul_op.cpp (file contents):
Revision 1.20 by gbeauche, 2005-03-27T22:06:52Z vs.
Revision 1.21 by gbeauche, 2005-06-30T10:17:58Z

# Line 463 | Line 463 | void EmulOp(M68kRegisters *r, uint32 pc,
463                  case OP_IDLE_TIME:
464                          // Sleep if no events pending
465                          if (ReadMacInt32(0x14c) == 0)
466 <                                Delay_usec(16667);
466 >                                idle_wait();
467                          r->a[0] = ReadMacInt32(0x2b6);
468                          break;
469  
470                  case OP_IDLE_TIME_2:
471                          // Sleep if no events pending
472                          if (ReadMacInt32(0x14c) == 0)
473 <                                Delay_usec(16667);
473 >                                idle_wait();
474                          r->d[0] = (uint32)-2;
475                          break;
476  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines