- Function
Determine on which CPU the program is running.
- Header
- Declaration
unsigned char getcpu (void);- Description
The function checks on which CPU the code is running. It returns one of the constants
CPU_6502CPU_65C02CPU_65816- Limits
- Other, more exotic CPU types are not disinguished.
- Availability
cc65
- Example
None.