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

Method IORead

source/MouseInterface.cpp:248–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246//===========================================================================
247
248BYTE __stdcall CMouseInterface::IORead(WORD PC, WORD uAddr, BYTE bWrite, BYTE uValue, ULONG nExecutedCycles)
249{
250 UINT uSlot = ((uAddr & 0xff) >> 4) - 8;
251 CMouseInterface* pMouseIF = (CMouseInterface*) MemGetSlotParameters(uSlot);
252
253 BYTE byRS;
254 byRS = uAddr & 3;
255 return pMouseIF->m_6821.Read( byRS );
256}
257
258BYTE __stdcall CMouseInterface::IOWrite(WORD PC, WORD uAddr, BYTE bWrite, BYTE uValue, ULONG nExecutedCycles)
259{

Callers

nothing calls this directly

Calls 2

MemGetSlotParametersFunction · 0.85
ReadMethod · 0.45

Tested by

no test coverage detected