2 ; Marco van den Heuvel, 2018-04-23
5 ; unsigned char detect_c128 (void);
7 ;/* Check if the C128 8502 CPU is the current CPU.
9 ; * Possible return values:
10 ; * 0x00 : C128 8502 is not the current CPU
11 ; * 0x01 : C128 8502 is the current CPU
16 .include "accelerator.inc"
22 ; Make sure the CPU is a 8502
23 .byte $3A ; NOP on 8502, DEA on 65(S)C(E)02, 4510 and 65816