784 |
|
if (InterruptFlags & INTFLAG_VIA) { |
785 |
|
ClearInterruptFlag(INTFLAG_VIA); |
786 |
|
ADBInterrupt(); |
787 |
< |
ExecutePPC(VideoVBL); |
787 |
> |
ExecuteNative(NATIVE_VIDEO_VBL); |
788 |
|
} |
789 |
|
} |
790 |
|
#endif |
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 |