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

Method IORead

source/Mockingboard.cpp:644–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642// Echo+ mode - Phasor's 2nd 6522 is mapped to every 16-byte offset in $Cnxx (Echo+ has a single 6522 controlling two AY-3-8913's)
643
644BYTE __stdcall MockingboardCard::IORead(WORD PC, WORD nAddr, BYTE bWrite, BYTE nValue, ULONG nExecutedCycles)
645{
646 UINT slot = (nAddr >> 8) & 0xf;
647 MockingboardCard* pCard = (MockingboardCard*)MemGetSlotParameters(slot);
648 return pCard->IOReadInternal(PC, nAddr, bWrite, nValue, nExecutedCycles);
649}
650
651BYTE MockingboardCard::IOReadInternal(WORD PC, WORD nAddr, BYTE bWrite, BYTE nValue, ULONG nExecutedCycles)
652{

Callers

nothing calls this directly

Calls 2

MemGetSlotParametersFunction · 0.85
IOReadInternalMethod · 0.80

Tested by

no test coverage detected