home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Audio 4.94 - Over 11,000 Files
/
audio-11000.iso
/
msdos
/
modplay
/
vtsrc12b
/
lib
/
devadlib.asm
< prev
next >
Wrap
Assembly Source File
|
1993-01-20
|
2KB
|
86 lines
INCLUDE SoundDevices.INC
CODESEG
MACRO AdlOut Reg, Val
MOV DX,388h
MOV AL,Reg
OUT DX,AL
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
INC DX
MOV AL,Val
OUT DX,AL
ENDM AdlOut
MACRO AdlWait
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
IN AL,DX
ENDM AdlWait
PUBLIC AdLibIntHandler
AdLibIntHandler:
Chunk1
Chunk2
MonoChunk31
Chunk41
SHR CL,3
AdlOut 043h,CL
Chunk5
END
{
}