2 ; Marco van den Heuvel, 2018-04-20
5 ; unsigned char detect_c128 (void);
7 ;/* Check for the presence of a C128 in C64 mode.
9 ; * Possible return values:
10 ; * 0x00 : C128 in C64 mode not present
11 ; * 0x01 : C128 in C64 mode present
16 .include "accelerator.inc"
22 ; Make sure the CPU is a 8502
23 .byte $1A ; NOP on 8502, INA on 65(S)C(E)02, 4510 and 65816
26 ; Make sure a C128 VICIIe is present