home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / CTASK22.ZIP / TSKDEB.H < prev    next >
Text File  |  1990-10-12  |  3KB  |  92 lines

  1. ;/* --- Version 2.2 90-10-12 16:37 ---
  2.    COMMENT  ^
  3.  
  4.    TSKDEB.H - CTask - Debug definitions 
  5.  
  6.    Public Domain Software written by
  7.       Thomas Wagner
  8.       Ferrari electronic Gmbh
  9.       Beusselstrasse 27
  10.       D-1000 Berlin 21
  11.       Germany
  12.  
  13.    This file is new with version 2.1.
  14.  
  15.    DEBUG          Enables debugging output.
  16.                   Use the following flags:
  17.  
  18.                   DEB_SECOND     Display debug output on secondary monitor
  19.  
  20.                   DEB_TSKDIS     Display current,previous,eligible tasks
  21.                                  when in scheduler
  22.  
  23.                   DEB_FLASHERS   Display counters for scheduler, ticker,
  24.                                  keyboard ints
  25.  
  26.    Sample definition:
  27.  
  28.          #define DEBUG     (DEB_TSKDIS | DEB_FLASHERS)
  29.          DEBUG          =  DEB_TSKDIS OR DEB_FLASHERS
  30.  
  31. */
  32.  
  33. #define  DEB_TSKDIS        0x0001
  34. #define  DEB_FLASHERS      0x0002
  35. #define  DEB_SECOND        0x8000
  36.  
  37. #define  DEBUG             0 /*^
  38.  
  39.          DEB_TSKDIS     =  0001h
  40.          DEB_FLASHERS   =  0002h
  41.          DEB_SECOND     =  8000h
  42.  
  43.          DEBUG          =  0
  44.  
  45. COMMENT ^
  46. */
  47.  
  48. /* ----------------------------------------------------------------------- */
  49.  
  50. /*
  51. Task display:
  52.           1         2         3         4         5         6         7
  53. 01234567890123456789012345678901234567890123456789012345678901234567890123456789
  54.  Current   Previous  Eligible  Next el.  Sched Idle  Ticki Tickc Keybi StOfl S
  55. *<name..>  <name..>  <name..>  <name..>  <cnt> <cnt> <cnt> <cnt> <cnt> <cnt> n
  56. */
  57.  
  58. #define DEBLINTD " Current   Previous  Eligible  Next el."
  59. #define DEBLINFL "Sched Idle  Ticki Tickc Keybi StOfl S"
  60. #define DEBINIFL "00000 00000 00000 00000 00000 00000 0"
  61.  
  62. #define  DEBFLASH_NDIGS    5
  63.  
  64. #define  DEBP_CURRTSK      (1*2)
  65. #define  DEBP_PREVTSK      (11*2)
  66. #define  DEBP_ELIGTSK      (21*2)
  67. #define  DEBP_NEXTELIG     (31*2)
  68. #define  DEBP_CNTSCHED     (41*2)
  69. #define  DEBP_CNTIDLE      (47*2)
  70. #define  DEBP_CNTTICK      (53*2)
  71. #define  DEBP_CNTTCHAIN    (59*2)
  72. #define  DEBP_CNTKEYBD     (65*2)
  73. #define  DEBP_CNTSTOFL     (71*2)
  74. #define  DEBP_STACKNUM     (77*2)  /*^
  75.  
  76.          DEBFLASH_NDIGS =  5
  77.  
  78.          DEBP_CURRTSK   =  (1*2)
  79.          DEBP_PREVTSK   =  (11*2)
  80.          DEBP_ELIGTSK   =  (21*2)
  81.          DEBP_NEXTELIG  =  (31*2)
  82.          DEBP_CNTSCHED  =  (41*2)
  83.          DEBP_CNTIDLE   =  (47*2)
  84.          DEBP_CNTTICK   =  (53*2)
  85.          DEBP_CNTTCHAIN =  (59*2)
  86.          DEBP_CNTKEYBD  =  (65*2)
  87.          DEBP_CNTSTOFL  =  (71*2)
  88.          DEBP_STACKNUM  =  (77*2)
  89.  
  90. ;*/
  91.  
  92.