Thread View: comp.os.os2.programmer
4 messages
4 total messages
Started by William Wong
Wed, 19 Sep 1990 20:01
OS/2 DOS compatible box
Author: William Wong
Date: Wed, 19 Sep 1990 20:01
Date: Wed, 19 Sep 1990 20:01
14 lines
895 bytes
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
Re: OS/2 DOS compatible box
Author: Peter Knight
Date: Thu, 20 Sep 1990 07:49
Date: Thu, 20 Sep 1990 07:49
21 lines
1166 bytes
1166 bytes
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 <std.disclaimer>
Re: OS/2 DOS compatible box
Author: John Cowan
Date: Thu, 20 Sep 1990 15:43
Date: Thu, 20 Sep 1990 15:43
10 lines
787 bytes
787 bytes
In article <1251@ashton.UUCP> william@ashton.UUCP (William Wong) writes: >Does OS/2 DOS compatible box always return its version >number times 10 to distinguish itself from the regular DOS? I don't think it's been defined whether it's a version number times 10 or plus 9, but at any rate, if the version number >=10, you can assume the compatibility box. -- cowan@marob.masa.com (aka ...!hombre!marob!cowan) e'osai ko sarji la lojban
Re: OS/2 DOS compatible box
Author: Lawrence W Salomon
Date: Wed, 26 Sep 1990 19:54
Date: Wed, 26 Sep 1990 19:54
2 lines
584 bytes
584 bytes
OS/2 returns the major version number as 10+version number of OS/2. Q
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads