Leonard Erickson wrote to All on 09-09-1999
LE> I've got a DOS program that I need to run that hogs the CPU.
LE> Setting idle sensitivity to 1 improves things greatly.
LE>
LE> But I've got the source, and I'd like to make it more
LE> multi-tassking friendly. It looks like it's in a polling loop when
LE> it's hogging the CPU (basicly it's waiting for me to hit a key).
LE>
LE> I seem to recall that there's a DOS INT I can call that'll free up
LE> the rest of the timeslice. IE. change the code like this:
Just used this last night. you want int 0x2f, ax = 0x1680.
Will Honea
--- Maximus/2 2.02
* Origin: OS/2 Shareware BBS, telnet://bbs.os2bbs.com (1:109/347)
|