🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DOS Box Programming

#2940
From: Kevin Vigor
Date: Fri, 18 Dec 1992 18:54
28 lines
1744 bytes
sip1@ellis.uchicago.edu (Timothy F. Sipples) writes:

>In article <1992Dec14.180704.29564@wicat.com> kevin@wicat.com (Kevin Vigor) writes:
>>>   1.  Is there a way to detect if a programme is operation in OS/2 2.0's
>>>       dos box ?
>>A question I'd like an answer to myself; however, at the moment, I am just 
>>checking the DOS version; if the major version is 20 or higher, I assume
>>I'm dealing with OS/2 2.x or better.

>How about looking for an OS/2 2.x-specific file that will always be in
>the same location?

Certainly possible, but this seems far more likely to change in a future 
release than does the DOS version. Of course, it's easy to fake out the
DOS version check and harder to remove OS2LDR or somesuch.

Interestingly enough, I have reveived the PDK since this thread started, and
the only information I can find relating to programming the DOS box is about
using named pipes to communicate between a DOS session and a OS/2 session. I
can find absolutely no mention of time-slicing (though the call I originally
mentioned does work), nor anything else of interest. I sincerely hope this
information will be documented in a later version (preferably very soon!).

-- 
		Peace & PopTarts, 
			Kevin
Email to the reply address will almost certainly bounce; use
72500.3705@compuserve.com
Technical Details
Message-ID: <1992Dec18.185446.21728@wicat.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sgiblab!spies!wicat!kevin
References: <boh.724320875@sfu.ca> <1992Dec14.180704.29564@wicat.com> <1992Dec17.230826.5577@midway.uchicago.edu>

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: DOS Box Programming
Message-ID: <1992Dec18.185446.21728@wicat.com>
Organization: WICAT Systems
References: <boh.724320875@sfu.ca> <1992Dec14.180704.29564@wicat.com> <1992Dec17.230826.5577@midway.uchicago.edu>
Date: Fri, 18 Dec 1992 18:54:46 GMT
Lines: 28