home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / programm / 6995 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.5 KB  |  43 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!batcomputer!msiadmin.cit.cornell.edu!bai
  3. From: bai@msiadmin.cit.cornell.edu (Dov Bai-MSI Visitor)
  4. Subject: Re: DOS Box Programming
  5. Message-ID: <1992Dec14.142508.4388@tc.cornell.edu>
  6. Sender: news@tc.cornell.edu
  7. Nntp-Posting-Host: msiadmin.cit.cornell.edu
  8. Organization: /usr/local/lib/news/organization
  9. References: <boh.724320875@sfu.ca>
  10. Date: Mon, 14 Dec 1992 14:25:08 GMT
  11. Lines: 30
  12.  
  13. In article <boh.724320875@sfu.ca> boh@fraser.sfu.ca (Changhao Boh) writes:
  14. >Hi, I am wondering about programming a serial communication programme in DOS
  15. >but would like to make it "OS/2 aware".  Thus I have the following questions.
  16. >
  17. >   1.  Is there a way to detect if a programme is operation in OS/2 2.0's
  18. >       dos box ?
  19. >
  20. >   2.  Is there a way a programme, running in OS/2 2.0's DOS box, can release
  21. >       clock cycles to OS/2 ?
  22.  
  23. One simple way to release clock cycles it is to make your program 
  24. "DESQView-aware", and then loading the OS2SPEED utility (found in Hobbes). 
  25. This utility recognizes the DV interrupt for releasing time-slices and
  26. does the same for the DOS box. 
  27.  
  28. There is an interrupt to use for releasing time slices under DV. 
  29. Unfortunately, I dont remember what it is, but you can get the complete
  30. DV interrupts from a file on SIMTEL20 or ask in the desqview newsgroup.
  31.  
  32. I am using MS-KERMIT which is desqview aware in a dos box, with the
  33. OS2SPEED utility loaded and it works great.
  34.  
  35.  
  36. >Changhao.
  37. >boh@sfu.ca
  38.  
  39. Dov
  40. >
  41.  
  42.  
  43.