🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

DOS Box Programming

#2823
From: Changhao Boh
Date: Mon, 14 Dec 1992 08:14
22 lines
1284 bytes
Hi, I am wondering about programming a serial communication programme in DOS
but would like to make it "OS/2 aware".  Thus I have the following questions.

   1.  Is there a way to detect if a programme is operation in OS/2 2.0's
       dos box ?

   2.  Is there a way a programme, running in OS/2 2.0's DOS box, can release
       clock cycles to OS/2 ?

   3.  What happens when a programme hooks onto the serial communication
       inturrupt as provided by DOS INT 21h ? Will a interrupt driven
       serial communication driver written this way be efficient in the
       DOS box of OS/2 ?

The reason why I want to write an OS/2 aware programme in DOS mode is that
I cannot afford an OS/2 based compiler just yet, and I really don't want to
be forced into using C/C++ which is provided by the free GCC compiler.

Good Health.

Changhao.
boh@sfu.ca
Technical Details
Message-ID: <boh.724320875@sfu.ca>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!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
From: boh@fraser.sfu.ca (Changhao Boh)
Subject: DOS Box Programming
Message-ID: <boh.724320875@sfu.ca>
Sender: news@sfu.ca
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Mon, 14 Dec 1992 08:14:35 GMT
Lines: 23