]> git.sur5r.net Git - cc65/commitdiff
Added a new apple2enh target
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 11 Mar 2004 20:52:23 +0000 (20:52 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 11 Mar 2004 20:52:23 +0000 (20:52 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2909 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/common/target.c
src/common/target.h
src/common/tgttrans.c

index 8cc0208bc043c43e6bc85dffc740904d7a121cf4..b302888e514af6d30612556603f8708f81e90ce2 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2003 Ullrich von Bassewitz                                       */
+/* (C) 2000-2004 Ullrich von Bassewitz                                       */
 /*               Römerstrasse 52                                             */
 /*               D-70794 Filderstadt                                         */
 /* EMail:        uz@cc65.org                                                 */
@@ -65,7 +65,8 @@ const char* TargetNames [TGT_COUNT] = {
     "cbm610",
     "pet",
     "bbc",
-    "apple2",
+    "apple2",   
+    "apple2enh",
     "geos",
     "lunix",
     "atmos",
@@ -91,6 +92,7 @@ const cpu_t DefaultCPU[TGT_COUNT] = {
     CPU_6502,           /* pet */
     CPU_6502,           /* bbc */
     CPU_6502,           /* apple2 */
+    CPU_65C02,          /* apple2enh */
     CPU_6502,           /* geos */
     CPU_6502,           /* lunix */
     CPU_6502,           /* atmos */
index bd252eaf8e92b9946f0a589fffad60f9da1643ac..8c6689625749b0118b81d28cd6cf13e468e00421 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2003 Ullrich von Bassewitz                                       */
+/* (C) 2000-2004 Ullrich von Bassewitz                                       */
 /*               Römerstrasse 52                                             */
 /*               D-70794 Filderstadt                                         */
 /* EMail:        uz@cc65.org                                                 */
@@ -66,6 +66,7 @@ typedef enum {
     TGT_PET,
     TGT_BBC,
     TGT_APPLE2,
+    TGT_APPLE2ENH,
     TGT_GEOS,
     TGT_LUNIX,
     TGT_ATMOS,
index 3e7daab902fc2b294f4366550de4ce263c0340a7..9020bb15d7c57b85442cc80d07d45dc8cdc718e8 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2003 Ullrich von Bassewitz                                       */
+/* (C) 2000-2004 Ullrich von Bassewitz                                       */
 /*               Römerstrasse 52                                             */
 /*               D-70794 Filderstadt                                         */
 /* EMail:        uz@cc65.org                                                 */
@@ -154,6 +154,7 @@ void TgtTranslateInit (void)
        case TGT_PET:           memcpy (Tab, CTPET, sizeof (Tab));      break;
        case TGT_BBC:           memcpy (Tab, CTNone, sizeof (Tab));     break;
        case TGT_APPLE2:        memcpy (Tab, CTNone, sizeof (Tab));     break;
+        case TGT_APPLE2ENH:     memcpy (Tab, CTNone, sizeof (Tab));     break;
        case TGT_GEOS:          memcpy (Tab, CTNone, sizeof (Tab));     break;
        case TGT_LUNIX:         memcpy (Tab, CTNone, sizeof (Tab));     break;
                case TGT_ATMOS:         memcpy (Tab, CTNone, sizeof (Tab));     break;