home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser-CD 2000 January / LCD_01_2000.iso / games / doom / pmdoom / include / i_cokies.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-17  |  1.1 KB  |  57 lines

  1. /*
  2.  *    Atari cookie-jar definitions
  3.  *
  4.  *    Patrice Mandin
  5.  */
  6.  
  7. #include <osbind.h>
  8. #include <falcon.h>
  9. #include <sysvars.h>
  10.  
  11. #include <gemdefs.h>
  12. #include <vdibind.h>
  13. #include <aesbind.h>
  14.  
  15. #ifndef _I_COOKIES_H_
  16. #define _I_COOKIES_H_
  17.  
  18. /* Some system adresses */
  19.  
  20. #define _P_COOKIES    (*(volatile long *)0x000005a0)
  21.  
  22. /* --- Cookies --- */
  23.  
  24. #define COOKIE_MCH (('_'<<24)|('M'<<16)|('C'<<8)|'H')
  25. #define COOKIE_VDO (('_'<<24)|('V'<<16)|('D'<<8)|'O')
  26. #define COOKIE_SND (('_'<<24)|('S'<<16)|('N'<<8)|'D')
  27.  
  28. /* Values for _MCH cookie */
  29.  
  30. #define MCH_TT    2
  31. #define MCH_F30    3
  32.  
  33. /* Values for _VDO cookie */
  34.  
  35. #define VDO_TT    2
  36. #define VDO_F30    3
  37.  
  38. /* Bits masks for _SND cookie */
  39.  
  40. #define SND_YM        0     /* Yamaha ym2149 */
  41. #define SND_DMA8    1     /* STE/TT dma sound */
  42. #define SND_DMAREC    2    /* Dma recording functions with xbios */
  43. #define SND_CODEC16    3    /* Falcon 16 bits codec */
  44. #define SND_DSP56K    4     /* Falcon DSP56001 */
  45.  
  46. /* variables */
  47.  
  48. extern int cookie_mch;
  49. extern int cookie_vdo;
  50. extern int cookie_snd;
  51.  
  52. /* functions */
  53.  
  54. void I_ScanCookies(void);
  55.  
  56. #endif
  57.