/[cebix]/SheepShaver/src/kpx_cpu/sheepshaver_glue.cpp
ViewVC logotype

Diff of /SheepShaver/src/kpx_cpu/sheepshaver_glue.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by gbeauche, Thu Dec 4 17:26:38 2003 UTC revision 1.22 by gbeauche, Thu Dec 4 23:37:38 2003 UTC
# Line 784  void sheepshaver_cpu::handle_interrupt(v Line 784  void sheepshaver_cpu::handle_interrupt(v
784                                  if (InterruptFlags & INTFLAG_VIA) {                                  if (InterruptFlags & INTFLAG_VIA) {
785                                          ClearInterruptFlag(INTFLAG_VIA);                                          ClearInterruptFlag(INTFLAG_VIA);
786                                          ADBInterrupt();                                          ADBInterrupt();
787                                          ExecutePPC(VideoVBL);                                          ExecuteNative(NATIVE_VIDEO_VBL);
788                                  }                                  }
789                          }                          }
790  #endif  #endif
# Line 908  static void NativeOp(int selector) Line 908  static void NativeOp(int selector)
908  }  }
909    
910  /*  /*
  *  Execute native subroutine (LR must contain return address)  
  */  
   
 void ExecuteNative(int selector)  
 {  
         SheepRoutineDescriptor desc(0, NativeTVECT(selector));  
         M68kRegisters r;  
         Execute68k(desc.addr(), &r);  
 }  
   
 /*  
911   *  Execute 68k subroutine (must be ended with EXEC_RETURN)   *  Execute 68k subroutine (must be ended with EXEC_RETURN)
912   *  This must only be called by the emul_thread when in EMUL_OP mode   *  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   *  r->a[7] is unused, the routine runs on the caller's stack

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15