🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3445

Re: Surrendering timeslice under DOS?

#3445
From: Amit J Patel
Date: Mon, 11 Jan 1993 22:51
22 lines
1387 bytes
In article <93010.071447U16244@uicvm.uic.edu>, David James Alexander Hanley <U16244@uicvm.uic.edu> writes:
|> >
|> >> Once you know you're in an OS/2 DOS box, calling interrupt 2F with AX set
|> >> 01680h will release the timeslice.
|> 
|>   Well, I tried this, and the program became REALLY slow.  The interrupt seemed
|> to be giving up almost a half-a-second, far more than I wanted.  Why might
|> this be?  I had in mind more like 1/100th of a second, so my program would
|> respond realtime.
|> 

I tried the timeslice code, too, and my program became unusably slow.
I also tried giving up the timeslice every n keyboard polls, but that
didn't help (after I thought about it, it made sense that it wasn't
better).


Are there any other time-slice methods in use?  Perhaps by doing the
DOS idle interrupt (28h?)?


	Amit
Technical Details
Message-ID: <C0pouG.BwB@rice.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!destroyer!cs.ubc.ca!uw-beaver!newsfeed.rice.edu!rice!ruf.rice.edu!amitp
References: <1993Jan9.045430.2626@wicat.com> <imD5wB3w165w@tcscs.UUCP> <93010.071447U16244@uicvm.uic.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!gatech!destroyer!cs.ubc.ca!uw-beaver!newsfeed.rice.edu!rice!ruf.rice.edu!amitp
From: amitp@ruf.rice.edu (Amit J Patel)
Subject: Re: Surrendering timeslice under DOS?
Message-ID: <C0pouG.BwB@rice.edu>
Sender: news@rice.edu (News)
Reply-To: amitp@owlnet.rice.edu
Organization: Rice University
References: <1993Jan9.045430.2626@wicat.com> <imD5wB3w165w@tcscs.UUCP> <93010.071447U16244@uicvm.uic.edu>
Date: Mon, 11 Jan 1993 22:51:52 GMT
Lines: 23