flat assembler
Message board for the users of flat assembler.
Index
> DOS > DOS version detection |
Author |
|
rugxulo 20 Jun 2006, 04:06
First of all, sorry if my bumping this thread annoys anyone.
Code: - different DOS-compatible OSes report different (usually phony) versions (from int 21h,30h or int 21h,3306h) for compatibility: - DR-DOS 7.03 reports 6.00 - Win XP Home SP2 reports 5.00 - RxDOS 7.2 beta reports 6.20 - MS-DOS 6.22 reports 6.22 (no surprise there) - FreeDOS Beta 8 (install bootdisk) reports 5.00 - FreeDOS Beta 9 sr 2 (ODIN 0.72 bootdisk) reports 7.10 - Win 95 (my minimal bootdisk) reports 7.00 - DOSbox 0.65 reports 5.00 - DR-DOS does this without SETVER.EXE loaded and despite %VER%=7 - (SETVER is usually only needed for oldies like some MS-DOS 5.00 apps, etc.) - not sure about SETVER /X, though (advanced version reporting) - that's a bit too complex for my understanding! - there is a way to find out the real DR-DOS version: MOV AX, 4452h ; (4452h = 'DR') STC INT 21h JC Not_DR-DOS - DR-DOS 7.03 Lite returns 1073h in AX: 10h = single user, 73h = 7.02 beta1 or newer ? - (refer to Ralf Brown's list: INTER61?.ZIP: ? = [A-F]) - DR-DOS VER (built-in) doesn't support /R - this VER is silly (useless?) because it only reports the value of %VER% - e.g., "set VER=3" then "VER": ---------------------<snippet #1 begins>----------------------------------- Caldera DR-DOS 3.03 Copyright (c) 1976, 1998 Caldera, Inc. All rights reserved. ---------------------<snippet #1 ends>------------------------------------- - 4DOS 4.50 build 130 (built-in VER) reports 'Novell DOS 7.00' on DR-DOS 7.03 Lite |
|||
20 Jun 2006, 04:06 |
|
rugxulo 08 Feb 2007, 21:39
http://fd-doc.sourceforge.net/faq/cgi-bin/viewfaq.cgi?faq=General_Information/557
Code: ======================== FreeDOS identification ======================== nobody@???.?.?.? / Mon Jan 9 19:36:18 2006 How does FreeDOS identify itself (30h, INT 21h)? How might this change as FreeDOS evolves? -=================================================- eric / Tue Jan 10 02:38:40 2006 Hi, Ralf Brown's Interrupt List tells: --------D-2130------------------------------- INT 21 - DOS 2+ - GET DOS VERSION AH = 30h ---DOS 5+ --- AL = what to return in BH 00h OEM number (see #01394) 01h version flag Return: AL = major version number (00h if DOS 1.x) AH = minor version number BL:CX = 24-bit user serial number (not used often) ---if DOS <5 or AL=00h--- BH = MS-DOS OEM number (see #01394) The OEM number for FreeDOS is 0FDh. We also use BL as build index. You can also get the version STRING with function int 21, AX=33ff, returns segment, offset in DX, AX. Or look for os_release in the sources. -=================================================- |
|||
08 Feb 2007, 21:39 |
|
scientica 28 Feb 2007, 14:51
moderation notice: thread splitt/moved from old post
|
|||
28 Feb 2007, 14:51 |
|
rugxulo 01 Mar 2007, 03:28
Yes, I was wondering if this should be moved, so thanks.
smiddy posted some of his DOS id code in that old v2os thread (because Dex/ASHLEY needed it for his OS), but he's too busy (upcoming baby? congrats!) to really add much to this nowadays. Anyways, I'm pretty sure he's wrong in that MS-DOS 8.0 is really WinME. P.S. DR-DOS was, at one time, prevented from running Windows 3.x, but eventually they patched it to work. (I only recently tried briefly installing/running Win 3.0 on 7.03 ... it does indeed work. But, Win95 supposedly won't.) |
|||
01 Mar 2007, 03:28 |
|
Hayden 26 Apr 2007, 18:17
windows 9x ect... fails to install under dr-dos
_________________ New User.. Hayden McKay. |
|||
26 Apr 2007, 18:17 |
|
DOS386 27 Apr 2007, 07:12
Quote: windows 9x ect... fails to install under dr-dos/ Nonsense. "9x ect" is NOT a DOS app and not supposed to run/install under FreeDOS/DR-DOS/EDR-DOS or anything except the included bootloader |
|||
27 Apr 2007, 07:12 |
|
LocoDelAssembly 27 Apr 2007, 13:53
But the installer runs under DOS
|
|||
27 Apr 2007, 13:53 |
|
Hayden 27 Apr 2007, 17:54
Quote:
I had an old computer with no boot from cd option in the bios so I tried to load dr-dos from floppy and install windows manualy from the cd but installer ended up failing ( after it coppied setup files to the HD ), also tried caldra-dos with no success. I ended up haveing to go to workshop and get windows me bootdisk. from memory... ms-dos clones will have thier own oem version numbers, however the version number returned by function AH=30h will return the ms-dos version compatability. I don't know how true this is.... _________________ New User.. Hayden McKay. |
|||
27 Apr 2007, 17:54 |
|
rugxulo 24 May 2007, 06:07
DR-DOS will not run Win95 or later (though in-house they patched it to work but never released such). It will only run Win 3.x etc. But, since Win95 and later include their own DOS (so to speak), you don't need it anyway.
If you can read the CD-ROM via a FreeDOS bootdisk (using XCDROM or your native DOS CD-ROM driver plus SHSUCDX loaded), then you can ideally copy or unpack the .CAB files and grab what you need for making a boot disk. Or try something like eltorito.sys (haven't tried that, but it sounds like it'd be useful, at least). |
|||
24 May 2007, 06:07 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.