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

Method IOWrite

source/MouseInterface.cpp:258–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258BYTE __stdcall CMouseInterface::IOWrite(WORD PC, WORD uAddr, BYTE bWrite, BYTE uValue, ULONG nExecutedCycles)
259{
260 UINT uSlot = ((uAddr & 0xff) >> 4) - 8;
261 CMouseInterface* pMouseIF = (CMouseInterface*) MemGetSlotParameters(uSlot);
262
263 BYTE byRS;
264 byRS = uAddr & 3;
265 pMouseIF->m_6821.Write( byRS, uValue );
266
267 return 0;
268}
269
270//===========================================================================
271

Callers

nothing calls this directly

Calls 2

MemGetSlotParametersFunction · 0.85
WriteMethod · 0.45

Tested by

no test coverage detected