1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-04 13:29:35 +00:00

Added CPU_6502X for 6502 with illegal opcodes

git-svn-id: svn://svn.cc65.org/cc65/trunk@3016 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-05-09 21:06:36 +00:00
parent 7d8b69f6f0
commit 1286c79d85
2 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@
/* */
/* */
/* */
/* (C) 2003 Ullrich von Bassewitz */
/* (C) 2003-2004 Ullrich von Bassewitz */
/* Römerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
@ -52,6 +52,7 @@ cpu_t CPU = CPU_UNKNOWN;
/* Table with target names */
const char* CPUNames[CPU_COUNT] = {
"6502",
"6502X",
"65SC02",
"65C02",
"65816",
@ -61,6 +62,7 @@ const char* CPUNames[CPU_COUNT] = {
/* Tables with CPU instruction sets */
const unsigned CPUIsets[CPU_COUNT] = {
CPU_ISET_6502,
CPU_ISET_6502 | CPU_ISET_6502X,
CPU_ISET_6502 | CPU_ISET_65SC02,
CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02,
CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02 | CPU_ISET_65816,

View File

@ -6,7 +6,7 @@
/* */
/* */
/* */
/* (C) 2003 Ullrich von Bassewitz */
/* (C) 2003-2004 Ullrich von Bassewitz */
/* Römerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
@ -48,6 +48,7 @@
typedef enum {
CPU_UNKNOWN = -1, /* Not specified or invalid target */
CPU_6502,
CPU_6502X, /* "Extended", that is: with illegal opcodes */
CPU_65SC02,
CPU_65C02,
CPU_65816,
@ -58,6 +59,7 @@ typedef enum {
/* CPU instruction sets */
enum {
CPU_ISET_6502 = 1 << CPU_6502,
CPU_ISET_6502X = 1 << CPU_6502X,
CPU_ISET_65SC02 = 1 << CPU_65SC02,
CPU_ISET_65C02 = 1 << CPU_65C02,
CPU_ISET_65816 = 1 << CPU_65816,