From: "Matthias Paul" Organization: IBH, RWTH-Aachen To: opendos AT delorie DOT com Date: Tue, 1 Apr 1997 18:28:14 GMT+0100 Subject: Re: running opendos with win 95 Reply-to: Matthias DOT Paul AT post DOT rwth-aachen DOT de Message-ID: Hi! On Tue, 1 Apr 97, wrote: [SETVER] > > > Oh, well If I use MSD during a Win95 DOS session, I get DOS version 7.0 > > > > This doesn't mean anything. There's a DOS function call that returns the > > OS major and minor version numbers. If you have the setver.exe TSR > > loaded, you should be able to fake out that function call with whatever > > you want. > > > > When I ran MSD under a DOS box in OS/2 2.1, it returned version "20.1". > > > It is documented feature of DOS box - available from early versions of OS/2. > BTW PC DOS 7.0 reports major version as 7 - not 6 as OD. And i do not think > it causes any troubles. If you would like to give it a try, under Novell DOS and OpenDOS you can by undocumented option: SETVER /G:7.0 or SETVER /G:7.01 sets the global DOS version to be returned for all programs not in the SETVER list... (the default is 6.0) ;-) There's another undocumented feature of SETVER: If you set a subversion of .255 (e.g. 6.255), the kernel will hide the DR DOS install check (INT21h/4452h, if I remember well). This way, you can fake programs, that might test for the DR DOS family to give an error message, these were not supported... ;-) However, since subversions 128..255 are not used for other purposes, I would recommend to change this behaviour in such a way, that bit7 hides the DR install check, but bit6-0 still go through to the standard "Get DOS version" call. Otherwise, a program being reported a version number of 6.255 still might refuse to run because of this strange subversion. Implementing the modification, a version 6.128 would be reported as 6.0, and programs will be happy... (For more details, have a look at my NWDOSTIP.TXT from MPDOSTIP.ZIP.) [Combining Win95 and OpenDOS] Since M$ was so kind to introduce several of their new MS-DOS 7.0 API functions over already established DR DOS, Novell DOS, and OpenDOS API functions, we would have to move all these effected DR DOS APIs to other locations, breaking all software, that was written especially for this family, and most software, that was written to take advantage of DR DOS goodies... :( (For details, have a look at Ralf Brown's Interrupt List INTERxx...) Bye, Matthias ------------------------------------------------------------------ Matthias Paul ! My eMail address has changed. For some time ! Ubierstrasse 28 ! mails to former ! D-50321 BRUEHL ! will be forwarded to the new address. ! eMail: WWW : URL: http://www.rhrz.uni-bonn.de/~uzs180/mpdokeng.html ------------------------------------------------------------------