]> git.sur5r.net Git - cc65/commitdiff
Add new target 'module'
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 25 Apr 2002 05:08:51 +0000 (05:08 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 25 Apr 2002 05:08:51 +0000 (05:08 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1262 b7a2c559-68d2-44c3-8de9-860c34a00d81

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

index ea130b2d7a0665b65a11a0982ee0a088aa1925a6..6b059f30ab16934db1d3f2a987e6fd4969f386f7 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2001 Ullrich von Bassewitz                                       */
+/* (C) 2000-2002 Ullrich von Bassewitz                                       */
 /*               Wacholderweg 14                                             */
 /*               D-70597 Stuttgart                                           */
 /* EMail:        uz@musoftware.de                                            */
@@ -52,7 +52,8 @@ target_t Target       = TGT_NONE;
 
 /* Table with target names */
 const char* TargetNames [TGT_COUNT] = {
-    "none",
+    "none",     
+    "module",
     "atari",
     "c64",
     "c128",
@@ -60,7 +61,7 @@ const char* TargetNames [TGT_COUNT] = {
     "plus4",
     "cbm510",
     "cbm610",
-    "pet", 
+    "pet",
     "bbc",
     "apple2",
     "geos",
@@ -103,3 +104,4 @@ target_t FindTarget (const char* Name)
 
 
 
+             
index 5fd689e53011a2bc230cba1cf6dc92063c55ba99..6153bc3b238b4d991d93c8ac7ac1724bce3265ab 100644 (file)
@@ -6,7 +6,7 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000-2001 Ullrich von Bassewitz                                       */
+/* (C) 2000-2002 Ullrich von Bassewitz                                       */
 /*               Wacholderweg 14                                             */
 /*               D-70597 Stuttgart                                           */
 /* EMail:        uz@musoftware.de                                            */
@@ -48,6 +48,7 @@
 typedef enum {
     TGT_UNKNOWN = -1,          /* Not specified or invalid target */
     TGT_NONE,
+    TGT_MODULE,
     TGT_ATARI,
     TGT_C64,
     TGT_C128,
@@ -90,3 +91,4 @@ target_t FindTarget (const char* Name);
 
 
 
+                
index 50a4e6d1708b4d24b4be471b76eb68de7782abbc..beb113e1702bb61f310a854252b2011825b1c5a7 100644 (file)
@@ -141,6 +141,7 @@ void TgtTranslateInit (void)
 {
     switch (Target) {
                case TGT_NONE:          memcpy (Tab, CTNone, sizeof (Tab));     break;
+               case TGT_MODULE:        memcpy (Tab, CTNone, sizeof (Tab));     break;
        case TGT_ATARI:         memcpy (Tab, CTAtari, sizeof (Tab));    break;
        case TGT_C64:           memcpy (Tab, CTPET, sizeof (Tab));      break;
        case TGT_C128:          memcpy (Tab, CTPET, sizeof (Tab));      break;
@@ -213,3 +214,4 @@ void TgtTranslateSet (unsigned Index, unsigned char C)
 
 
 
+