home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Audio 4.94 - Over 11,000 Files
/
audio-11000.iso
/
msdos
/
sndbords
/
proaudio
/
pcmtlsrc
/
pcmtlsrc.arj
/
PCM.ARJ
/
_I94F85.INC
< prev
next >
Wrap
Text File
|
1992-07-29
|
1KB
|
74 lines
;$Author: BCRANE $
;$Date: 29 Jul 1992 16:57:24 $
;$Header: W:/sccs/sdkapp/_i94f85.inv 1.0 29 Jul 1992 16:57:24 BCRANE $
;$Log: W:/sccs/sdkapp/_i94f85.inv $
;
; Rev 1.0 29 Jul 1992 16:57:24 BCRANE
;Initial revision.
;$Logfile: W:/sccs/sdkapp/_i94f85.inv $
;$Modtimes$
;$Revision: 1.0 $
;$Workfile: _i94f85.inc $
;; shark functions
;; dx:ax can be used to return values
;; si can be trashed
;; no other precautions taken
if VERBOSE
align 256
db '_i94f85.inc: copyright Media Vision, Inc., 1992', 00h
endif
;; i94f85() - single step the queue
_i94f85 proc near
pushem bx ds
mov ax, cs
mov ds, ax
inc int08count[0]
jnz @F
inc int08count[2]
@@: and int08count[2], 7FFFh
cmp nextevent, 0
jz doitf85
dec nextevent
jmp short nomoref85
doitf85:
mov ax, int08count[0]
mov dx, int08count[2]
inc inhereflag
sti
call processqueue
cli
dec inhereflag
mov bx, firstptr
or bx, bx
jz nomoref85
mov ax, [bx].qp_tick
sub ax, int08count
jz doitf85
js doitf85
mov nextevent, ax
nomoref85:
popem bx ds
ret
_i94f85 endp