]> git.sur5r.net Git - cc65/commitdiff
Added a nes target
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 2 May 2003 13:47:21 +0000 (13:47 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 2 May 2003 13:47:21 +0000 (13:47 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2119 b7a2c559-68d2-44c3-8de9-860c34a00d81

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

index 5a513d758be47c44765f63ad0a02372976e253ff..a32f08a807e71e269d0458c10bb730bed5ce20e8 100644 (file)
@@ -68,7 +68,8 @@ const char* TargetNames [TGT_COUNT] = {
     "apple2",
     "geos",
     "lunix",
-    "atmos"
+    "atmos",
+    "nes",
 };
 
 
@@ -92,6 +93,7 @@ const cpu_t DefaultCPU[TGT_COUNT] = {
     CPU_6502,           /* geos */
     CPU_6502,           /* lunix */
     CPU_6502,           /* atmos */
+    CPU_6502,           /* nes */
 };
 
 
index 8809b724a11658ea7fe9a09d80109002b3956890..03affe2bf10def202e335d612a3bb70fa4713b5b 100644 (file)
@@ -69,6 +69,7 @@ typedef enum {
     TGT_GEOS,
     TGT_LUNIX,
     TGT_ATMOS,
+    TGT_NES,
     TGT_COUNT                  /* Number of target systems */
 } target_t;
 
index 221146c05bc948181ff9bdf5f03d66fe1737d573..ef7a45e06614c91095d5978f7b09e9929b24fe44 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2002 Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 2000-2003 Ullrich von Bassewitz                                       */
+/*               Römerstrasse 52                                             */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -157,6 +157,7 @@ void TgtTranslateInit (void)
        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;
+               case TGT_NES:           memcpy (Tab, CTNone, sizeof (Tab));     break;
        default:
            AbEnd ("Internal error: Target system unknown (%d)", Target);
     }
@@ -218,3 +219,4 @@ void TgtTranslateSet (unsigned Index, unsigned char C)
 
 
 
+                    
index 9adb96e320f98c6856590e877031821aa37b7ccf..67d5addc9f4fc7772e7497d31e7c6fb6c543e9a1 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2002 Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 2000-2003 Ullrich von Bassewitz                                       */
+/*               Römerstrasse 52                                             */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */