home *** CD-ROM | disk | FTP | other *** search
- /*
- * Atari cookie-jar definitions
- *
- * Patrice Mandin
- */
-
- #include <osbind.h>
- #include <falcon.h>
- #include <sysvars.h>
-
- #include <gemdefs.h>
- #include <vdibind.h>
- #include <aesbind.h>
-
- #ifndef _I_COOKIES_H_
- #define _I_COOKIES_H_
-
- /* Some system adresses */
-
- #define _P_COOKIES (*(volatile long *)0x000005a0)
-
- /* --- Cookies --- */
-
- #define COOKIE_MCH (('_'<<24)|('M'<<16)|('C'<<8)|'H')
- #define COOKIE_VDO (('_'<<24)|('V'<<16)|('D'<<8)|'O')
- #define COOKIE_SND (('_'<<24)|('S'<<16)|('N'<<8)|'D')
-
- /* Values for _MCH cookie */
-
- #define MCH_TT 2
- #define MCH_F30 3
-
- /* Values for _VDO cookie */
-
- #define VDO_TT 2
- #define VDO_F30 3
-
- /* Bits masks for _SND cookie */
-
- #define SND_YM 0 /* Yamaha ym2149 */
- #define SND_DMA8 1 /* STE/TT dma sound */
- #define SND_DMAREC 2 /* Dma recording functions with xbios */
- #define SND_CODEC16 3 /* Falcon 16 bits codec */
- #define SND_DSP56K 4 /* Falcon DSP56001 */
-
- /* variables */
-
- extern int cookie_mch;
- extern int cookie_vdo;
- extern int cookie_snd;
-
- /* functions */
-
- void I_ScanCookies(void);
-
- #endif
-