home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Audio 4.94 - Over 11,000 Files
/
audio-11000.iso
/
msdos
/
modplay
/
vtsrc12b
/
lib
/
devdac.asm
< prev
next >
Wrap
Assembly Source File
|
1993-01-20
|
2KB
|
93 lines
INCLUDE SoundDevices.INC
EXTRN DacPort : WORD
EXTRN LDacPort : WORD
EXTRN RDacPort : WORD
CODESEG
PUBLIC DACIntHandler
DACIntHandler:
Chunk1
Chunk2
MonoChunk31
Chunk41
MOV DX,[DacPort]
MOV AL,CL
OUT DX,AL
Chunk5
PUBLIC DAC2IntHandler
DAC2IntHandler:
Chunk1
Chunk2
SterChunk31
Chunk41 8
MOV DX,[LDacPort]
MOV AL,CH
OUT DX,AL
MOV DX,[RDacPort]
MOV AL,CL
OUT DX,AL
Chunk51
PUBLIC MixDAC2IntHandler
MixDAC2IntHandler:
Chunk1
Chunk2
StMixChunk31
Chunk41 8
MOV DX,[LDacPort]
MOV AL,CH
OUT DX,AL
MOV DX,[RDacPort]
MOV AL,CL
OUT DX,AL
Chunk51
PUBLIC Mix2DAC2IntHandler
Mix2DAC2IntHandler:
Chunk1
Chunk2
StMix2Chunk31
Chunk41 8
MOV DX,[LDacPort]
MOV AL,CH
OUT DX,AL
MOV DX,[RDacPort]
MOV AL,CL
OUT DX,AL
Chunk51
END