X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=rln.h;h=466d000761ef00092e2db7ea48e4a7b9e9ad9e75;hb=20972dfe982963fd3d73dbff043f15518f3a3a1b;hp=a962789638c3ee517c8f1d39914c9395c42d685d;hpb=a1f6a3912c5907ca0b7d7d1404adc575c84da57f;p=rln diff --git a/rln.h b/rln.h index a962789..466d000 100644 --- a/rln.h +++ b/rln.h @@ -51,8 +51,8 @@ #endif #define MAJOR 1 // Major version number -#define MINOR 2 // Minor version number -#define PATCH 3 // Patch release number +#define MINOR 3 // Minor version number +#define PATCH 0 // Patch release number #ifdef WIN32 #define PLATFORM "Win32" // Release platform - Windows @@ -75,13 +75,13 @@ // Macro to swap the 16-bit words of a 32-bit integer #define _SWAPWORD(x) (((unsigned)(x) >> 16) | ((unsigned)(x) << 16)) -#define FARGSIZE 1024 // Number of chars in filename argument -#define FNLEN 1024 // Size of a file name -#define NHANDLES 256 // Number of open file handles at once -#define OST_BLOCK 0x400000 // Output symbol table block (4MB) -#define DSTSEG_D 1 // Include file destination seg (DATA) -#define DSTSEG_T 2 // Include file destination seg (TEXT) -#define MAXARGS 256 // Max number of args in a command file +#define FARGSIZE 1024 // Number of chars in filename argument +#define FNLEN 1024 // Size of a file name +#define NHANDLES 256 // Number of open file handles at once +#define OST_BLOCK 0x400000 // Output symbol table block (4MB) +#define DSTSEG_D 1 // Include file destination seg (DATA) +#define DSTSEG_T 2 // Include file destination seg (TEXT) +#define MAXARGS 256 // Max number of args in a command file // Headers @@ -97,7 +97,7 @@ struct OHEADER { - uint32_t magic; // $0107 for .o, $601B for abs + uint32_t magic; // $0107 for .o, $601B for .abs uint32_t tsize; uint32_t dsize; uint32_t bsize; @@ -148,6 +148,7 @@ struct OFILE uint16_t o_flags; // Flags (see O_*) struct OHEADER o_header; // Header of this file uint8_t * o_image; // Image of this file + uint8_t isArchiveFile; // Temporary extra flag }; #define new_ofile() (struct OFILE *)malloc((uint32_t)sizeof(struct OFILE))