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

Function IOWrite_C02x

source/Memory.cpp:623–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621}
622
623static BYTE __stdcall IOWrite_C02x(WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nExecutedCycles)
624{
625 if (GetCardMgr().GetVidHDCard())
626 {
627 if (addr == 0xC022 || addr == 0xC029)
628 GetVideo().VideoSetMode(pc, addr, bWrite, d, nExecutedCycles);
629 }
630
631 return TapeWrite(pc, addr, bWrite, d, nExecutedCycles); // $C020 TAPEOUT
632}
633
634//-------------------------------------
635

Callers

nothing calls this directly

Calls 3

TapeWriteFunction · 0.85
GetVidHDCardMethod · 0.80
VideoSetModeMethod · 0.80

Tested by

no test coverage detected