home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / C / CTASK11.ZIP / TSKCONF.H < prev    next >
Encoding:
C/C++ Source or Header  |  1988-07-01  |  2.7 KB  |  104 lines

  1. /*
  2.    TSKCONF.H - CTask - Configuration definitions 
  3.  
  4.    Public Domain Software written by
  5.       Thomas Wagner
  6.       Patschkauer Weg 31
  7.       D-1000 Berlin 33
  8.       West Germany
  9.  
  10.    This file is new with Version 1.1
  11. */
  12.  
  13. /*
  14.    TSK_DYNAMIC    if 1, creating dynamic control blocks is allowed.
  15.  
  16.    CAUTION:    Changing this define requires changing the corresponding
  17.                definition in TSK.MAC and recompilation/assembly of *all*
  18.                sources.
  19. */
  20.  
  21. #define  TSK_DYNAMIC    1
  22.  
  23. /*
  24.    TSK_NAMEPAR    if 1, the create_xxx routines accept a name parameter.
  25.  
  26. */
  27.  
  28. #define  TSK_NAMEPAR    1
  29.  
  30. /*
  31.    TSK_NAMED      if 1, control block names are processed.
  32.  
  33.    CAUTION:    Changing this define requires changing the corresponding
  34.                definition in TSK.MAC and recompilation/assembly of *all*
  35.                sources.
  36.                TSK_NAMED may only be enabled (1) if TSK_NAMEPAR is also 
  37.                enabled.
  38. */
  39.  
  40. #if (TSK_NAMEPAR)
  41.  
  42. #define  TSK_NAMED      1     /* This may be set to 0 if desired */
  43.  
  44. #else
  45. #define  TSK_NAMED      0     /* Do not change this */
  46. #endif
  47.  
  48. /*
  49.    CLOCK_MSEC     if 1, all timeouts are specified in milliseconds.
  50.                   Requires floating point library.
  51.                   Changing requires recompile of tskmain.c and tsksub.c.
  52. */
  53.  
  54. #define CLOCK_MSEC      0
  55.  
  56. /*
  57.    PRI_TIMER      Priority of the timer task. Normally higher than any
  58.                   other task in the system.
  59.                   Changing requires recompile of tskmain.c.
  60. */
  61.  
  62. #define  PRI_TIMER   0xf000
  63.  
  64. /*
  65.    PRI_STD        standard priority of user tasks (arbitrary), for use
  66.                   in user programs.
  67.                   Changing requires recompile of tskmain.c.
  68. */
  69.  
  70. #define  PRI_STD     100
  71.  
  72. /*
  73.    PRI_INT9       priority of the int9 task. Normally lower than or equal to
  74.                   user defined tasks, but may be adjusted to tune responses
  75.                   of TSR's.
  76.                   Changing requires recompile of tskmain.c.
  77. */
  78.  
  79. #define  PRI_INT9    (PRI_STD - 1)
  80.  
  81. /*
  82.    IBM            if 1, routines specific to the IBM family of PCs
  83.                   (and clones) are installed.
  84.  
  85.    DOS            if 1, routines specific to PC/MS-DOS are installed.
  86.  
  87.       NOTE: If you disable IBM, you have to provide timer and keyboard
  88.             hardware support yourself. Check the areas in "tskmain.c" 
  89.             that are affected by this define.
  90.             Changing requires recompile of tskmain.c.
  91. */
  92.  
  93. #define  IBM   1
  94. #define  DOS   1
  95.  
  96.  
  97. /*
  98.    AT_BIOS        if 1, the AT BIOS wait/post handler is installed.
  99.                   Changing requires recompile of tskmain.c.
  100. */
  101.  
  102. #define  AT_BIOS  1
  103.  
  104.