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.1.1.1 by cebix, 1999-10-03T14:16:25Z vs.
Revision 1.3 by cebix, 1999-10-12T20:00:44Z

# Line 152 | Line 152 | void EmulOp(uint16 opcode, M68kRegisters
152                                          }
153                                  } else if (reg < 0x08 && is_read) {
154                                          uint32 t = TimerDateTime();
155 <                                        uint8 b;
155 >                                        uint8 b = t;
156                                          switch (reg & 3) {
157                                                case 0: b = t; break;
157                                                  case 1: b = t >> 8; break;
158                                                  case 2: b = t >> 16; break;
159                                                  case 3: b = t >> 24; break;
# Line 435 | Line 434 | void EmulOp(uint16 opcode, M68kRegisters
434                                  ClearInterruptFlag(INTFLAG_60HZ);
435                                  if (HasMacStarted()) {
436  
437 <                                        // Mac has started, execute video, ADB and Time Manager interrupt functions
437 >                                        // Mac has started, execute all 60Hz interrupt functions
438                                          ADBInterrupt();
439                                          TimerInterrupt();
440                                          VideoInterrupt();
441 +                                        SonyInterrupt();
442 +                                        DiskInterrupt();
443 +                                        CDROMInterrupt();
444  
445                                          // Call DoVBLTask(0)
446                                          if (ROMVersion == ROM_VERSION_32) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines