home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / programm / 7450 < prev    next >
Encoding:
Text File  |  1993-01-09  |  1016 b   |  33 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!spool.mu.edu!sgiblab!spies!wicat!kevin
  3. From: kevin@wicat.com (Kevin Vigor)
  4. Subject: Re: Surrendering timeslice under DOS?
  5. Message-ID: <1993Jan9.045430.2626@wicat.com>
  6. Reply-To: kevin@elvis.wicat.com
  7. Organization: WICAT Systems
  8. References: <1993Jan5.231303.14795@wicat.com> <8oqZwB4w165w@salzo.Cary.NC.US>
  9. Date: Sat, 9 Jan 1993 04:54:30 GMT
  10. Lines: 21
  11.  
  12. dburton@salzo.Cary.NC.US (David Burton) writes:
  13.  
  14. >kevin@wicat.com (Kevin Vigor) writes:
  15.  
  16. >> Once you know you're in an OS/2 DOS box, calling interrupt 2F with AX set to
  17. >> 01680h will release the timeslice.
  18.  
  19. >Here's what I do:
  20.  
  21. <routine deleted to save space>
  22.  
  23. I hacked out some assembler source to a routine to detect and give up time-
  24. slices under OS/2, WinDoze and DesqView and uploaded it to hobbes for anybody
  25. who cares. It's not too pretty, but it works.
  26. <oh, the file is SLICE.EXE>
  27.  
  28. -- 
  29.         Peace & PopTarts, 
  30.             Kevin
  31. Email to the reply address will almost certainly bounce; use
  32. 72500.3705@compuserve.com
  33.