home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / dos / prg / cthugha5 / cthu5src / extern.h < prev    next >
C/C++ Source or Header  |  1994-08-19  |  2KB  |  46 lines

  1. /***************************************************************************
  2. *    NAME:  EXTERN.H
  3. **    COPYRIGHT:
  4. **    "Copyright (c) 1992, by FORTE
  5. **
  6. **       "This software is furnished under a license and may be used,
  7. **       copied, or disclosed only in accordance with the terms of such
  8. **       license and with the inclusion of the above copyright notice.
  9. **       This software or any other copies thereof may not be provided or
  10. **       otherwise made available to any other person. No title to and
  11. **       ownership of the software is hereby transfered."
  12. ****************************************************************************
  13. *  CREATION DATE: 11/18/92
  14. *--------------------------------------------------------------------------*
  15. *     VERSION    DATE       NAME        DESCRIPTION
  16. *>    1.0    11/18/92        Original
  17. ***************************************************************************/
  18.  
  19.  
  20. #ifndef EXTERN_INC
  21. #define EXTERN_INC
  22. /*******************************************************************
  23.  * This file contains things specific to an application's use of the
  24.  * UltraSound card.
  25.  *******************************************************************/
  26.  
  27. #define DMA_AUTO_INIT        0x01        /* Used by app to specify autoinit */
  28.  
  29. #define DMA_16        0x40
  30. #define DMA_8        0x00
  31.  
  32. #define DMA_CVT_2    0x80
  33. #define DMA_NO_CVT    0x00
  34.  
  35. #define USE_ROLLOVER    0x01
  36.  
  37. typedef struct {
  38.     unsigned int base_port;
  39.     unsigned int dram_dma_chan;
  40.     unsigned int adc_dma_chan;
  41.     unsigned int gf1_irq_num;
  42.     unsigned int midi_irq_num;
  43. } ULTRA_CFG;
  44.  
  45. #endif
  46.