]> git.sur5r.net Git - cc65/commitdiff
Added HuC6280 cpu
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 31 Aug 2005 21:46:12 +0000 (21:46 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 31 Aug 2005 21:46:12 +0000 (21:46 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3610 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/common/cpu.c
src/common/cpu.h

index b2ed0a0c57a7da444afbbacbce6355324c6f6a70..064614253276531aee24e9ca2c7a4c32ed6e2f50 100644 (file)
@@ -58,6 +58,7 @@ const char* CPUNames[CPU_COUNT] = {
     "65816",
     "sunplus",
     "sweet16",
+    "huc6280",
 };
 
 /* Tables with CPU instruction sets */
@@ -70,6 +71,7 @@ const unsigned CPUIsets[CPU_COUNT] = {
     CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02 | CPU_ISET_65816,
     CPU_ISET_SUNPLUS,
     CPU_ISET_SWEET16,
+    CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02 | CPU_ISET_HUC6280,
 };
 
 
index 4217915bb09758d3126706c28adbc289a7abbf9c..6a6cd73d7458b53deb532dfec3efef95e0fb37e0 100644 (file)
@@ -55,6 +55,7 @@ typedef enum {
     CPU_65816,
     CPU_SUNPLUS,               /* Not in the freeware version - sorry */
     CPU_SWEET16,
+    CPU_HUC6280,                /* Used in PC engine */
     CPU_COUNT                          /* Number of different CPUs */
 } cpu_t;
 
@@ -68,6 +69,7 @@ enum {
     CPU_ISET_65816      = 1 << CPU_65816,
     CPU_ISET_SUNPLUS    = 1 << CPU_SUNPLUS,
     CPU_ISET_SWEET16    = 1 << CPU_SWEET16,
+    CPU_ISET_HUC6280    = 1 << CPU_HUC6280,
 };
 
 /* CPU used */