From: cuz Date: Thu, 7 Aug 2003 11:13:13 +0000 (+0000) Subject: Added different 65SC02 and 65C02 CPUs X-Git-Tag: V2.12.0~1472 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=045dfad6b5f673fed3419e8a984689e07fbeac0c;p=cc65 Added different 65SC02 and 65C02 CPUs git-svn-id: svn://svn.cc65.org/cc65/trunk@2251 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/cpu.c b/src/common/cpu.c index 0aadcd5b6..1d127bcc1 100644 --- a/src/common/cpu.c +++ b/src/common/cpu.c @@ -50,8 +50,9 @@ cpu_t CPU = CPU_UNKNOWN; /* Table with target names */ -const char* CPUNames [CPU_COUNT] = { +const char* CPUNames[CPU_COUNT] = { "6502", + "65SC02", "65C02", "65816", "sunplus", diff --git a/src/common/cpu.h b/src/common/cpu.h index 05f07b38b..187bef5ea 100644 --- a/src/common/cpu.h +++ b/src/common/cpu.h @@ -48,22 +48,23 @@ typedef enum { CPU_UNKNOWN = -1, /* Not specified or invalid target */ CPU_6502, + CPU_65SC02, CPU_65C02, CPU_65816, CPU_SUNPLUS, /* Not in the freeware version - sorry */ - CPU_COUNT /* Number of different CPUs */ + CPU_COUNT /* Number of different CPUs */ } cpu_t; /* CPU used */ extern cpu_t CPU; /* Table with target names */ -extern const char* CPUNames [CPU_COUNT]; +extern const char* CPUNames[CPU_COUNT]; /*****************************************************************************/ -/* Code */ +/* Code */ /*****************************************************************************/ @@ -77,7 +78,7 @@ cpu_t FindCPU (const char* Name); /* End of cpu.h */ -#endif +#endif