]> git.sur5r.net Git - cc65/blobdiff - src/ld65/global.c
Add translation from PETSCII to screen codes.
[cc65] / src / ld65 / global.c
index ffad09552f5398a3a68ca519a8a0a06a46852a2b..dc0c8d521a04123fc00623423d00a3382abc63ad 100644 (file)
@@ -1,15 +1,15 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                global.c                                  */
+/*                                 global.c                                  */
 /*                                                                           */
-/*                  Global variables for the ld65 linker                    */
+/*                   Global variables for the ld65 linker                    */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998     Ullrich von Bassewitz                                        */
-/*              Wacholderweg 14                                              */
-/*              D-70597 Stuttgart                                            */
-/* EMail:       uz@musoftware.de                                             */
+/* (C) 1998-2010, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 /*****************************************************************************/
-/*                                          Data                                    */
+/*                                   Data                                    */
 /*****************************************************************************/
 
 
 
-const char* ProgName               = "ld65";   /* Program name */
-
-const char* OutputName     = "a.out";  /* Name of output file */
-
-unsigned long StartAddr            = 0x200;    /* Start address */
-
-unsigned char Verbose       = 0;               /* Verbose operation flag */
-unsigned char VerboseMap    = 0;       /* Verbose map file */
-const char* MapFileName            = 0;        /* Name of the map file */
-const char* LabelFileName   = 0;       /* Name of the label file */
-unsigned char WProtSegs     = 0;       /* Mark write protected segments */
+const char* OutputName      = "a.out";  /* Name of output file */
+unsigned    OutputNameUsed  = 0;        /* Output name was used by %O */
 
+unsigned ModuleId           = 0;        /* Id for o65 module */
 
+/* Start address */
+unsigned char HaveStartAddr = 0;        /* Start address not given */
+unsigned long StartAddr     = 0x200;    /* Start address */
 
+unsigned char VerboseMap    = 0;        /* Verbose map file */
+const char* MapFileName     = 0;        /* Name of the map file */
+const char* LabelFileName   = 0;        /* Name of the label file */
+const char* DbgFileName     = 0;        /* Name of the debug file */