home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / xplatfrm / tierra / configur.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-04-26  |  1.1 KB  |  49 lines

  1. /* configur.h 8-10-91  configurable parameters at compile time */
  2. /** Tierra Simulator V3.0: Copyright (c) 1991 Thomas S. Ray **/
  3.  
  4. #include "license.h"
  5.  
  6. /*
  7. #ifndef lint
  8. static char     sccsid[] = "%W%     %G%";
  9. #endif
  10. */
  11.  
  12. #ifndef CONFIGUR_H
  13. #define CONFIGUR_H
  14.  
  15. #define INSTBITNUM 5
  16. #define INSTNUM 32         /* INSTNUM = 2 ^ INSTBITNUM */
  17. #define PLOIDY 1
  18.  
  19. #ifndef INST
  20. #define INST 1 
  21. #endif
  22.  
  23. #define STDIO      0
  24. #define GREENLEAF  1
  25.  
  26. #ifndef FRONTEND
  27. #define FRONTEND STDIO
  28. #endif
  29.  
  30. #if INST == 1
  31. #define STACK_SIZE 10
  32. #define NUM_REGS 4
  33. #endif
  34.  
  35. /* #define ERROR */    /* use to include error checking code */
  36. /* #define SOCKETS */    /* define for socket communications */
  37.  
  38. /* the following definitions should be provided by the compilers,
  39.    except for IBM3090 which must be manually defined */
  40.  
  41. /* __TURBOC__  = Turbo C for DOS */
  42. /* OS2_MC      = Microsoft C for OS/2 */
  43. /* IBM3090     = IBM 3090 the compiler will not define this, do it manually */
  44. /* unix        = for unix systems */
  45. /* __GNUC__    = gcc unix compiler */
  46. /* ANSI        = for ANSI environment */
  47.  
  48. #endif
  49.