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

Method IORead

source/VidHD.cpp:69–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69BYTE __stdcall VidHDCard::IORead(WORD pc, WORD addr, BYTE bWrite, BYTE value, ULONG nExecutedCycles)
70{
71 // Return magic bytes (from the VidHD firmware) for VidHD detection
72 switch (addr & 0xff)
73 {
74 case 0: return 0x24;
75 case 1: return 0xEA;
76 case 2: return 0x4C;
77 }
78 return IO_Null(pc, addr, bWrite, value, nExecutedCycles);
79}
80
81// NB. VidHD has no support for reading the IIgs video registers (from an earlier Apple II)
82void VidHDCard::VideoIOWrite(WORD pc, WORD addr, BYTE bWrite, BYTE value, ULONG nExecutedCycles)

Callers

nothing calls this directly

Calls 1

IO_NullFunction · 0.85

Tested by

no test coverage detected