]> git.sur5r.net Git - cc65/commitdiff
Added different 65SC02 and 65C02 CPUs
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 7 Aug 2003 11:13:13 +0000 (11:13 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 7 Aug 2003 11:13:13 +0000 (11:13 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2251 b7a2c559-68d2-44c3-8de9-860c34a00d81

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

index 0aadcd5b6f3f111646e7216730e76fbbc3972936..1d127bcc1d179e61cfc20f566fac6ad874036d02 100644 (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",
index 05f07b38b518fa1335df3b201184ca4a76ab9b9d..187bef5ea050fa58793efa84262cb0c6024ebf27 100644 (file)
 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