MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / MB_SyncEventCallback

Method MB_SyncEventCallback

source/Mockingboard.cpp:981–986  ·  view source on GitHub ↗

Called on a 6522 TIMER1/2 underflow

Source from the content-addressed store, hash-verified

979
980// Called on a 6522 TIMER1/2 underflow
981int MockingboardCard::MB_SyncEventCallback(int id, int /*cycles*/, ULONG uExecutedCycles)
982{
983 UINT slot = (id >> 4);
984 MockingboardCard* pCard = (MockingboardCard*)MemGetSlotParameters(slot);
985 return pCard->MB_SyncEventCallbackInternal(id, 0, uExecutedCycles);
986}
987
988int MockingboardCard::MB_SyncEventCallbackInternal(int id, int /*cycles*/, ULONG uExecutedCycles)
989{

Callers

nothing calls this directly

Calls 2

MemGetSlotParametersFunction · 0.85

Tested by

no test coverage detected