Added different 65SC02 and 65C02 CPUs

git-svn-id: svn://svn.cc65.org/cc65/trunk@2251 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-08-07 11:13:13 +00:00
parent b1f89ab793
commit 045dfad6b5
2 changed files with 7 additions and 5 deletions

View file

@ -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",

View file

@ -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