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

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!usc!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!newsserver.sfu.ca!sfu.ca!boh
  3. From: boh@fraser.sfu.ca (Changhao Boh)
  4. Subject: DOS Box Programming
  5. Message-ID: <boh.724320875@sfu.ca>
  6. Sender: news@sfu.ca
  7. Organization: Simon Fraser University, Burnaby, B.C., Canada
  8. Date: Mon, 14 Dec 1992 08:14:35 GMT
  9. Lines: 23
  10.  
  11. Hi, I am wondering about programming a serial communication programme in DOS
  12. but would like to make it "OS/2 aware".  Thus I have the following questions.
  13.  
  14.    1.  Is there a way to detect if a programme is operation in OS/2 2.0's
  15.        dos box ?
  16.  
  17.    2.  Is there a way a programme, running in OS/2 2.0's DOS box, can release
  18.        clock cycles to OS/2 ?
  19.  
  20.    3.  What happens when a programme hooks onto the serial communication
  21.        inturrupt as provided by DOS INT 21h ? Will a interrupt driven
  22.        serial communication driver written this way be efficient in the
  23.        DOS box of OS/2 ?
  24.  
  25. The reason why I want to write an OS/2 aware programme in DOS mode is that
  26. I cannot afford an OS/2 based compiler just yet, and I really don't want to
  27. be forced into using C/C++ which is provided by the free GCC compiler.
  28.  
  29. Good Health.
  30.  
  31. Changhao.
  32. boh@sfu.ca
  33.  
  34.