Path: 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 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