🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Surrendering timeslice under DOS?

#3395
From: Kevin Vigor
Date: Sat, 09 Jan 1993 04:54
21 lines
1048 bytes
dburton@salzo.Cary.NC.US (David Burton) writes:

>kevin@wicat.com (Kevin Vigor) writes:

>> Once you know you're in an OS/2 DOS box, calling interrupt 2F with AX set to
>> 01680h will release the timeslice.

>Here's what I do:

<routine deleted to save space>

I hacked out some assembler source to a routine to detect and give up time-
slices under OS/2, WinDoze and DesqView and uploaded it to hobbes for anybody
who cares. It's not too pretty, but it works.
<oh, the file is SLICE.EXE>

-- 
		Peace & PopTarts, 
			Kevin
Email to the reply address will almost certainly bounce; use
72500.3705@compuserve.com
Technical Details
Message-ID: <1993Jan9.045430.2626@wicat.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sgiblab!spies!wicat!kevin
References: <1993Jan5.231303.14795@wicat.com> <8oqZwB4w165w@salzo.Cary.NC.US>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sgiblab!spies!wicat!kevin
From: kevin@wicat.com (Kevin Vigor)
Subject: Re: Surrendering timeslice under DOS?
Message-ID: <1993Jan9.045430.2626@wicat.com>
Reply-To: kevin@elvis.wicat.com
Organization: WICAT Systems
References: <1993Jan5.231303.14795@wicat.com> <8oqZwB4w165w@salzo.Cary.NC.US>
Date: Sat, 9 Jan 1993 04:54:30 GMT
Lines: 21