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

  1. /***************************************************************************
  2. *    NAME:  GF1PROTO.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. *>    1.1    03/01/93        Added a few protos
  18. ***************************************************************************/
  19.  
  20. #include "extern.h"
  21.  
  22. #ifdef MSOFTC
  23. #define _Cdecl  _cdecl
  24. #else
  25. #if __STDC__
  26. #undef _Cdecl
  27. #define _Cdecl
  28. #else
  29. #define _Cdecl  cdecl
  30. #endif
  31. #endif
  32.  
  33. /**********************************************************************
  34.  *
  35.  * General control prototypes 
  36.  *
  37.  *********************************************************************/
  38. unsigned char _Cdecl UltraCalcRate(unsigned int, unsigned int, unsigned long);
  39. int _Cdecl UltraClose(void);
  40. int _Cdecl UltraOpen(ULTRA_CFG *, int);
  41. unsigned char _Cdecl UltraPeekData(unsigned int, unsigned long);
  42. unsigned long _Cdecl UltraPeekLong(unsigned long);
  43. int _Cdecl UltraPing(unsigned int);
  44. void _Cdecl UltraPokeData(unsigned int, unsigned long, unsigned char);
  45. int _Cdecl UltraProbe(unsigned int);
  46. int _Cdecl UltraReset(int);
  47. int _Cdecl UltraSizeDram(void);
  48. void _Cdecl UltraVersion(int *, int *);
  49. /**********************************************************************
  50.  *
  51.  * Recording control prototypes 
  52.  *
  53.  *********************************************************************/
  54. unsigned int _Cdecl GetRecordDmaPos(int);
  55. int _Cdecl UltraGoRecord(unsigned char);
  56. int _Cdecl UltraPrimeRecord(void far *, unsigned int, int);
  57. int _Cdecl UltraRecordData(void far *, unsigned char, unsigned int, int, int);
  58. int _Cdecl UltraRecordDmaBusy(void);
  59. unsigned int _Cdecl UltraReadRecordPosition(void);
  60. void _Cdecl UltraSetRecordFrequency(unsigned long);
  61. void _Cdecl UltraStartRecordDma(unsigned char);
  62. void _Cdecl UltraWaitRecordDma(void);
  63. /**********************************************************************
  64.  *
  65.  * Volume control prototypes 
  66.  *
  67.  *********************************************************************/
  68. void _Cdecl UltraRampLinearVolume(int, unsigned int, unsigned int, unsigned long, unsigned char);
  69. void _Cdecl UltraRampVolume(int, unsigned int, unsigned int, unsigned char, unsigned char);
  70. unsigned int _Cdecl UltraReadVolume(int);
  71. void _Cdecl UltraSetLinearVolume(int, int);
  72. void _Cdecl UltraSetVolume(int, unsigned int);
  73. void _Cdecl UltraStopVolume(int);
  74. void _Cdecl UltraVectorVolume(int, unsigned int, unsigned char, unsigned char);
  75. void _Cdecl UltraVectorLinearVolume(int, unsigned int, unsigned char, unsigned char);
  76. int _Cdecl UltraVolumeStopped(int);
  77. /**********************************************************************
  78.  *
  79.  * Voice control prototypes 
  80.  *
  81.  *********************************************************************/
  82. int _Cdecl UltraAllocVoice(int, int *);
  83. void _Cdecl UltraClearVoices(void);
  84. void _Cdecl UltraFreeVoice(int);
  85. void _Cdecl UltraGoVoice(int, unsigned char);
  86. unsigned char _Cdecl UltraPrimeVoice(int, unsigned long, unsigned long, unsigned long, unsigned char);
  87. unsigned long _Cdecl UltraReadVoice(int);
  88. void _Cdecl UltraSetLoopMode(int, unsigned char);
  89. void _Cdecl UltraSetFrequency(int, unsigned long);
  90. void _Cdecl UltraSetBalance(int, int);
  91. void _Cdecl UltraSetVoice(int, unsigned long);
  92. void _Cdecl UltraSetVoiceEnd(int, unsigned long);
  93. void _Cdecl UltraStartVoice(int, unsigned long, unsigned long, unsigned long, unsigned char);
  94. void _Cdecl UltraStopVoice(int);
  95. void _Cdecl UltraVoiceOff(int, int);
  96. void _Cdecl UltraVoiceOn(int, unsigned long, unsigned long, unsigned long, unsigned char, unsigned long);
  97. int _Cdecl UltraVoiceStopped(int);
  98. /**********************************************************************
  99.  *
  100.  * Mixer  control prototypes 
  101.  *
  102.  *********************************************************************/
  103. void _Cdecl UltraDisableLineIn(void);
  104. void _Cdecl UltraDisableMicIn(void);
  105. void _Cdecl UltraDisableOutput(void);
  106. void _Cdecl UltraEnableLineIn(void);
  107. void _Cdecl UltraEnableMicIn(void);
  108. void _Cdecl UltraEnableOutput(void);
  109. int _Cdecl UltraGetLineIn(void);
  110. int _Cdecl UltraGetMicIn(void);
  111. int _Cdecl UltraGetOutput(void);
  112. /**********************************************************************
  113.  *
  114.  * Memory control prototypes 
  115.  *
  116.  *********************************************************************/
  117. unsigned long _Cdecl UltraMaxAlloc(void);
  118. int _Cdecl UltraMemAlloc(unsigned long, unsigned long *);
  119. int _Cdecl UltraMemFree(unsigned long, unsigned long);
  120. int _Cdecl UltraMemInit(void);
  121. /**********************************************************************
  122.  *
  123.  * MIDI Control prototypes 
  124.  *
  125.  *********************************************************************/
  126. unsigned char _Cdecl UltraMidiRecv(void);
  127. void _Cdecl UltraMidiDisableRecv(void);
  128. void _Cdecl UltraMidiDisableXmit(void);
  129. void _Cdecl UltraMidiEnableRecv(void);
  130. void _Cdecl UltraMidiEnableXmit(void);
  131. void _Cdecl UltraMidiXmit(unsigned char);
  132. unsigned char _Cdecl UltraMidiStatus(void);
  133. void _Cdecl UltraMidiReset(void);
  134. /**********************************************************************
  135.  *
  136.  * Timer Control prototypes 
  137.  *
  138.  *********************************************************************/
  139. void _Cdecl UltraStopTimer(int);
  140. void _Cdecl UltraStartTimer(int, unsigned char);
  141. int _Cdecl UltraTimerStopped(int);
  142. /**********************************************************************
  143.  *
  144.  * Dram Dma prototypes 
  145.  *
  146.  *********************************************************************/
  147. int _Cdecl UltraDownload(void far *, unsigned char, unsigned long, unsigned int, int);
  148. int _Cdecl UltraDramDmaBusy(void);
  149. int _Cdecl UltraUpload(void far *, unsigned char, unsigned long, unsigned int, int);
  150. void _Cdecl UltraStartDramDma(unsigned char);
  151. void _Cdecl UltraWaitDramDma(void);
  152. /**********************************************************************
  153.  *
  154.  * Joystick prototypes 
  155.  *
  156.  *********************************************************************/
  157. void _Cdecl UltraTrimJoystick(unsigned char);
  158.  
  159.