home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / aspisrc.zip / dev / DEBUG.C < prev    next >
C/C++ Source or Header  |  1998-11-29  |  988b  |  39 lines

  1.  
  2.  
  3. #include "devdebug.h"
  4.  
  5.  
  6.  
  7. // Standard debugging streams
  8.  
  9. #if defined(DEBUG)
  10.  
  11. COMStream cdbg =
  12.   {
  13.   0x2f8,                      // Default to COM2
  14.   10,                         // Base 10 (decimal)
  15.   0,                          // Variable width
  16.   USER0,                      // Default debugging level
  17.   ALL                         // Don't mask any
  18.   };
  19.  
  20. COMStream ccom1 =
  21.   {
  22.   0x3f8,                      // COM1 base port address
  23.   10,                         // Base 10 (decimal)
  24.   0,                          // Variable width
  25.   USER0,                      // Default debugging level
  26.   ALL                         // Don't mask any
  27.   };
  28.  
  29. COMStream ccom2 =
  30.   {
  31.   0x2f8,                      // COM2 base port address
  32.   10,                         // Base 10 (decimal)
  33.   0,                          // Variable width
  34.   USER0,                      // Default debugging level
  35.   ALL                         // Don't mask any
  36.   };
  37.  
  38. #endif // DEBUG
  39.