id_sd.equ

来自「wolf3d游戏源代码!非常不错! 与大家共享! 如果大家又相关资料还请多多」· EQU 代码 · 共 39 行

EQU
39
字号
;
;	ID_SD.EQU
;	Id Sound Manager assembly equates
;

	INCLUDE	'ID_VL.EQU'	; For screen color debugging stuff

;	Modes
sdm_Off				=	0
sdm_PC				=	1
sdm_AdLib			=	2

smm_Off				=	0
smm_AdLib			=	1

sds_Off				=	0
sds_SoundSource		=	1
sds_SoundBlaster	=	2

;	Stuff for the PC speaker
pcTimer				=	42h
pcTAccess			=	43h
pcSpeaker			=	61h
pcSpkBits			=	3

;	Stuff for the AdLib
;	Operator registers
alChar				=	20h
alScale				=	40h
alAttack			=	60h
alSus				=	80h
alWave				=	0e0h
;	Channel registers
alFreqL				=	0a0h
alFreqH				=	0b0h
alFeedCon			=	0c0h
;	Global registers
alEffects			=	0bdh

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?