wolf3d

The original open source release of Wolfenstein 3D
Log | Files | Refs

ID_SD.EQU (589B)


      1 ;
      2 ;	ID_SD.EQU
      3 ;	Id Sound Manager assembly equates
      4 ;
      5 
      6 	INCLUDE	'ID_VL.EQU'	; For screen color debugging stuff
      7 
      8 ;	Modes
      9 sdm_Off				=	0
     10 sdm_PC				=	1
     11 sdm_AdLib			=	2
     12 
     13 smm_Off				=	0
     14 smm_AdLib			=	1
     15 
     16 sds_Off				=	0
     17 sds_SoundSource		=	1
     18 sds_SoundBlaster	=	2
     19 
     20 ;	Stuff for the PC speaker
     21 pcTimer				=	42h
     22 pcTAccess			=	43h
     23 pcSpeaker			=	61h
     24 pcSpkBits			=	3
     25 
     26 ;	Stuff for the AdLib
     27 ;	Operator registers
     28 alChar				=	20h
     29 alScale				=	40h
     30 alAttack			=	60h
     31 alSus				=	80h
     32 alWave				=	0e0h
     33 ;	Channel registers
     34 alFreqL				=	0a0h
     35 alFreqH				=	0b0h
     36 alFeedCon			=	0c0h
     37 ;	Global registers
     38 alEffects			=	0bdh