X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fda65%2Fglobal.c;h=14f9982d08aab7e55b8d38d0a80971debfb3d847;hb=85885001b133e2dc320b6f6459259afa69784ca8;hp=f3243f0d8bf9e6f55c294c382786ef0c26ab144b;hpb=44fd1082ae807a0b6b4046c65914e20a7e27101c;p=cc65 diff --git a/src/da65/global.c b/src/da65/global.c index f3243f0d8..14f9982d0 100644 --- a/src/da65/global.c +++ b/src/da65/global.c @@ -1,8 +1,8 @@ /*****************************************************************************/ /* */ -/* global.c */ +/* global.c */ /* */ -/* Global variables for the da65 disassembler */ +/* Global variables for the da65 disassembler */ /* */ /* */ /* */ @@ -38,45 +38,45 @@ /*****************************************************************************/ -/* Data */ +/* Data */ /*****************************************************************************/ /* File names */ -const char* InFile = 0; /* Name of input file */ -const char* OutFile = 0; /* Name of output file */ +const char* InFile = 0; /* Name of input file */ +const char* OutFile = 0; /* Name of output file */ /* Default extensions */ -const char OutExt[] = ".dis"; /* Output file extension */ -const char CfgExt[] = ".cfg"; /* Config file extension */ +const char OutExt[] = ".dis"; /* Output file extension */ +const char CfgExt[] = ".cfg"; /* Config file extension */ /* Flags and other command line stuff */ unsigned char DebugInfo = 0; /* Add debug info to the object file */ -unsigned char FormFeeds = 0; /* Add form feeds to the output? */ +unsigned char FormFeeds = 0; /* Add form feeds to the output? */ unsigned char UseHexOffs = 0; /* Use hexadecimal label offsets */ -unsigned char PassCount = 2; /* How many passed do we do? */ +unsigned char PassCount = 2; /* How many passed do we do? */ signed char NewlineAfterJMP = -1; /* Add a newline after a JMP insn? */ signed char NewlineAfterRTS = -1; /* Add a newline after a RTS insn? */ -long StartAddr = -1L; /* Start/load address of the program */ +long StartAddr = -1L; /* Start/load address of the program */ long InputOffs = -1L; /* Offset into input file */ long InputSize = -1L; /* Number of bytes to read from input */ /* Stuff needed by many routines */ -unsigned Pass = 0; /* Disassembler pass */ +unsigned Pass = 0; /* Disassembler pass */ char Now[128]; /* Current time as string */ /* Comments */ unsigned Comments = 0; /* Add which comments to the output? */ /* Page formatting */ -unsigned PageLength = 0; /* Length of a listing page */ +unsigned PageLength = 0; /* Length of a listing page */ unsigned LBreak = 7; /* Linefeed if labels exceed this limit */ -unsigned MCol = 9; /* Mnemonic column */ -unsigned ACol = 17; /* Argument column */ -unsigned CCol = 49; /* Comment column */ -unsigned TCol = 81; /* Text bytes column */ -unsigned BytesPerLine = 8; /* Max. number of data bytes per line */ +unsigned MCol = 9; /* Mnemonic column */ +unsigned ACol = 17; /* Argument column */ +unsigned CCol = 49; /* Comment column */ +unsigned TCol = 81; /* Text bytes column */ +unsigned BytesPerLine = 8; /* Max. number of data bytes per line */