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

Comparing SheepShaver/src/kpx_cpu/sheepshaver_glue.cpp (file contents):
Revision 1.21 by gbeauche, 2003-12-04T17:26:38Z vs.
Revision 1.22 by gbeauche, 2003-12-04T23:37:38Z

# Line 784 | Line 784 | void sheepshaver_cpu::handle_interrupt(v
784                                  if (InterruptFlags & INTFLAG_VIA) {
785                                          ClearInterruptFlag(INTFLAG_VIA);
786                                          ADBInterrupt();
787 <                                        ExecutePPC(VideoVBL);
787 >                                        ExecuteNative(NATIVE_VIDEO_VBL);
788                                  }
789                          }
790   #endif
# Line 908 | Line 908 | static void NativeOp(int selector)
908   }
909  
910   /*
911 *  Execute native subroutine (LR must contain return address)
912 */
913
914 void ExecuteNative(int selector)
915 {
916        SheepRoutineDescriptor desc(0, NativeTVECT(selector));
917        M68kRegisters r;
918        Execute68k(desc.addr(), &r);
919 }
920
921 /*
911   *  Execute 68k subroutine (must be ended with EXEC_RETURN)
912   *  This must only be called by the emul_thread when in EMUL_OP mode
913   *  r->a[7] is unused, the routine runs on the caller's stack

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines