Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!wuarchive!zaphod.mps.ohio-state.edu!sdd.hp.com!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!axion!planet!prk From: prk@planet.bt.co.uk (Peter Knight) Newsgroups: comp.os.os2.programmer Subject: Re: OS/2 DOS compatible box Message-ID: Date: 20 Sep 90 07:49:58 GMT References: <1251@ashton.UUCP> Sender: usenet@planet.bt.co.uk (Usenet News Manager) Organization: RT743, BT Research Labs, Martlesham Heath, Ipswich, UK. Lines: 21 william@ashtate (William Wong) writes: >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 Yes. Peter Knight BT Research #inlcude