home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Audio 4.94 - Over 11,000 Files
/
audio-11000.iso
/
msdos
/
sndbords
/
proaudio
/
pcmtlsrc
/
pcm.arj
/
_I94F93.INC
< prev
next >
Wrap
Text File
|
1992-09-10
|
1KB
|
57 lines
; /*\ $Author: BCRANE $
; /*\ $Date: 31 Aug 1992 10:03:12 $
; /*\ $Header: X:/sccs/sdkapp/_i94f93.inv 1.0 31 Aug 1992 10:03:12 BCRANE $
; /*\ $Log: X:/sccs/sdkapp/_i94f93.inv $
;
; Rev 1.0 31 Aug 1992 10:03:12 BCRANE
;Initial revision.
; /*\ $Logfile: X:/sccs/sdkapp/_i94f93.inv $
; /*\ $Modtimes$
; /*\ $Revision: 1.0 $
; /*\ $Workfile: _i94f93.inc $
;; shark functions
;; dx:ax can be used to return values
;; si can be trashed
;; no other precautions taken
if VERBOSE
align 256
db '_i94f93.inc: copyright Media Vision, Inc., 1992', 00h
endif
;; i94f93() - return ints describing internal sound usage
;; ax returns sounds used
;; dx returns MAXHANDLES
_i94f93 proc near
push bx
push cx
push es
mov ax, cs
mov es, ax
mov bx, offset f92buf
xor ax, ax ; hold bitfield describing usage
mov cx, MAXHANDLES
f93test:
test word ptr es:[bx].f92xmsh, 0FFFFh
jz @F
inc ax
@@: add bx, type i94f92buf
loop f93test
mov dx, MAXHANDLES
pop es
pop cx
pop bx
ret
_i94f93 endp