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

Method UpdateIRQ

source/MockingboardCardManager.cpp:118–131  ·  view source on GitHub ↗

Called from class SY6522

Source from the content-addressed store, hash-verified

116
117// Called from class SY6522
118void MockingboardCardManager::UpdateIRQ(void)
119{
120 bool irq = false;
121 for (UINT i = SLOT0; i < NUM_SLOTS; i++)
122 {
123 if (IsMockingboard(i))
124 irq |= dynamic_cast<MockingboardCard&>(GetCardMgr().GetRef(i)).Is6522IRQ();
125 }
126
127 if (irq)
128 CpuIrqAssert(IS_6522);
129 else
130 CpuIrqDeassert(IS_6522);
131}
132
133bool MockingboardCardManager::IsActiveToPreventFullSpeed(void)
134{

Callers

nothing calls this directly

Calls 3

CpuIrqAssertFunction · 0.85
CpuIrqDeassertFunction · 0.85
Is6522IRQMethod · 0.80

Tested by

no test coverage detected