| 665 | //------------------------------------- |
| 666 | |
| 667 | static BYTE __stdcall IOReadWrite_ANx(WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nExecutedCycles) |
| 668 | { |
| 669 | // $C058..C05F |
| 670 | _ASSERT((addr & 0xf) >= 8); |
| 671 | |
| 672 | if (IsAppleIIeOrAbove(GetApple2Type())) |
| 673 | { |
| 674 | if (!IsAppleIIc(GetApple2Type()) || /* IsIIc && */ SW_IOUDIS) |
| 675 | GetVideo().VideoSetMode(pc, addr, bWrite, d, nExecutedCycles); // Apple //e or (//c && IOUDIS) |
| 676 | } |
| 677 | |
| 678 | if (IsAppleIIc(GetApple2Type())) // No ANx lines for //c |
| 679 | return 0; |
| 680 | |
| 681 | // GH#1018 - AN3 line is still present on //e (with $C05E/F also toggling DHIRES) |
| 682 | return IO_Annunciator(pc, addr, bWrite, d, nExecutedCycles); |
| 683 | } |
| 684 | |
| 685 | static BYTE __stdcall IORead_C05x(WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nExecutedCycles) |
| 686 | { |
no test coverage detected