X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=rmac.h;h=faa176ca8a69dfa967d856f1c5f17422d4211f4a;hp=27bfe69c0f49a3acb1972925bbad7216e534011e;hb=d0c28c349ddfb8393568037f68bddbe8979ce0df;hpb=b10167d55798ea184f97fafda075255c0852f3b6 diff --git a/rmac.h b/rmac.h index 27bfe69..faa176c 100644 --- a/rmac.h +++ b/rmac.h @@ -3,7 +3,7 @@ // RMAC.H - Main Application Code // Copyright (C) 199x Landon Dyer, 2011 Reboot & Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 -// Source Utilised with the Kind Permission of Landon Dyer +// Source utilised with the kind permission of Landon Dyer // #ifndef __RMAC_H__ @@ -13,7 +13,8 @@ // TARGET SPECIFIC BUILD SETTINGS // #ifdef WIN32 - #define PLATFORM "Win32" // Release platform - windows + // Release platform - windows + #define PLATFORM "Win32" #define _OPEN_FLAGS _O_TRUNC|_O_CREAT|_O_BINARY|_O_RDWR #define _OPEN_INC _O_RDONLY|_O_BINARY #define _PERM_MODE _S_IREAD|_S_IWRITE @@ -32,7 +33,8 @@ #include #else #ifdef __GCCUNIX__ - #define PLATFORM "OSX/Linux" // Release platform - mac OS-X or linux + // Release platform - mac OS-X or linux + #define PLATFORM "OSX/Linux" #define _OPEN_FLAGS O_TRUNC|O_CREAT|O_RDWR #define _OPEN_INC O_RDONLY #define _PERM_MODE S_IREAD|S_IWRITE @@ -45,7 +47,8 @@ #include #include #else - #define PLATFORM "Unknown" // Release platform - not specified + // Release platform - not specified + #define PLATFORM "Unknown" #define _OPEN_FLAGS O_TRUNC|O_CREAT|O_RDWR #define _OPEN_INC O_RDONLY #define _PERM_MODE S_IREAD|S_IWRITE @@ -72,7 +75,7 @@ #define ERROR (-1) // Generic error return #define EOS '\0' // End of string -#define SPACE ' ' // Ascii space +#define SPACE ' ' // ASCII space #define SLASHCHAR '/' #define SLASHSTRING "/" #define VALUE LONG // Assembler value @@ -165,9 +168,9 @@ PTR #define EQUATEDCC 0x0020 #define UNDEF_CC 0x0040 -#define RISCSYM 0x00010000 +//#define RISCSYM 0x00010000 -// Globals, externals etc +// Globals, externals, etc. extern int verb_flag; extern int debug; extern int rgpu, rdsp; @@ -182,16 +185,11 @@ extern int glob_flag; extern int lsym_flag; extern int sbra_flag; extern int obj_format; -extern LONG amemtot; +extern int legacy_flag; -// Prototypes -void init_sym(void); -SYM * newsym(char *, int, int); +// Exported functions char * fext(char *, char *, int); -int kmatch(char *, int *, int *, int *, int *); -void autoeven(int); int nthpath(char *, int, char *); -void clear(char *, LONG); -char * copy(char *, char *, LONG); #endif // __RMAC_H__ +