| 67 | } |
| 68 | |
| 69 | BYTE __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) |
| 82 | void VidHDCard::VideoIOWrite(WORD pc, WORD addr, BYTE bWrite, BYTE value, ULONG nExecutedCycles) |