🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

OS/2 DOS compatible box

#1520
From: William Wong
Date: Wed, 19 Sep 1990 20:01
14 lines
895 bytes

I have a question concerning the OS/2 DOS compatible box.

How does a DOS program detect that it's running in the OS/2 DOS compatible
box?

I have tried using the INT 21 service 30h to get the DOS version.  It
returns AL=10, AH=10 when run under OS/2 version 1.10.  Now the minor
version in AH seems correct, but I am not so sure about the major version
number in AL.  Does OS/2 DOS compatible box always return its version
number times 10 to distinguish itself from the regular DOS?

William
Technical Details
Message-ID: <1251@ashton.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!hacgate!ashtate!william

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!hacgate!ashtate!william
From: william@ashtate (William Wong)
Newsgroups: comp.os.os2.programmer
Subject: OS/2 DOS compatible box
Message-ID: <1251@ashton.UUCP>
Date: 19 Sep 90 20:01:39 GMT
Reply-To: william@ashton.UUCP (William Wong)
Organization: Ashton-Tate, Torrance, CA
Lines: 14