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:
@@ -50,8 +50,9 @@
|
|||||||
cpu_t CPU = CPU_UNKNOWN;
|
cpu_t CPU = CPU_UNKNOWN;
|
||||||
|
|
||||||
/* Table with target names */
|
/* Table with target names */
|
||||||
const char* CPUNames [CPU_COUNT] = {
|
const char* CPUNames[CPU_COUNT] = {
|
||||||
"6502",
|
"6502",
|
||||||
|
"65SC02",
|
||||||
"65C02",
|
"65C02",
|
||||||
"65816",
|
"65816",
|
||||||
"sunplus",
|
"sunplus",
|
||||||
|
|||||||
@@ -48,22 +48,23 @@
|
|||||||
typedef enum {
|
typedef enum {
|
||||||
CPU_UNKNOWN = -1, /* Not specified or invalid target */
|
CPU_UNKNOWN = -1, /* Not specified or invalid target */
|
||||||
CPU_6502,
|
CPU_6502,
|
||||||
|
CPU_65SC02,
|
||||||
CPU_65C02,
|
CPU_65C02,
|
||||||
CPU_65816,
|
CPU_65816,
|
||||||
CPU_SUNPLUS, /* Not in the freeware version - sorry */
|
CPU_SUNPLUS, /* Not in the freeware version - sorry */
|
||||||
CPU_COUNT /* Number of different CPUs */
|
CPU_COUNT /* Number of different CPUs */
|
||||||
} cpu_t;
|
} cpu_t;
|
||||||
|
|
||||||
/* CPU used */
|
/* CPU used */
|
||||||
extern cpu_t CPU;
|
extern cpu_t CPU;
|
||||||
|
|
||||||
/* Table with target names */
|
/* Table with target names */
|
||||||
extern const char* CPUNames [CPU_COUNT];
|
extern const char* CPUNames[CPU_COUNT];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/* Code */
|
/* Code */
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user