| 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 |
| 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 |