TIP: Click on subject to list as thread! ANSI
echo: os2
to: Leonard Erickson
from: Will Honea
date: 1999-09-09 15:55:00
subject: DOS program `fix`

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)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.