BetaArchive Logo
Navigation Home Database Screenshots Gallery Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 74d, 1h, 29m | CPU: 82% | MEM: 6461MB of 12287MB used
{The community for beta collectors}

Post new topic Reply to topic  [ 4 posts ] 
Author Message
 PostPost subject: MS-DOS 6.30 (to all who ask)        Posted: Tue Jun 09, 2009 8:54 am 
Reply with quote
Donator
User avatar
Offline

Joined
Sun Dec 30, 2007 8:12 am

Posts
1203

Location
Brisbane, Queensland

Favourite OS
OS/2 Wrp 3.0
For a lark, i constructed a version of MS-DOS 6.30. This really reports 6.30 to anything that wants to know DOSVER (eg msd or qconfig), and runs any PC-DOS 6.30 without screeching.

All the cosmetics have been done, too: the start menu says 6.30, (or 6.3 if you use the 6.20/6.21 flavours), and even the copright strings are done. You can use io.sy/msdos.sys/command.com from 6.20, 6.21 or 6.22 [all converted to 6.30] in the package.

The hacks are scripted, so you can readily prepare something like 6.40 or 7.10 if ye want.

Image

Command.com uses the real dos version in ver or "ver /r"

It's fairly complete. defrag runs under it, but scandisk does not. However, one should look at the WinME version of this.


Top  Profile  WWW
 PostPost subject: Re: MS-DOS 6.30 (to all who ask)        Posted: Tue Jun 09, 2009 5:25 pm 
Reply with quote
Donator
Offline

Joined
Sun May 13, 2007 12:42 am

Posts
2406
Interesting, I remember seeing this on boot-land the other day.

Here it is:
Quote:
For a lark, i decided to make a 'real' version of 6.3. It's about four hours' work.

There was a kind of MS-DOS 6.3 on the internet, but this was just 6.22 with some strings in command.com hacked. The bulk of the files were indeed straight out of 6.22. and the program happily reported 6.22 to any program seeking 'dosver'.

What i wanted was an MS-DOS that was actually MS-DOS 6.3, reporting 6.30 to any proggie that asked. For example, it should load PC-DOS 6.3 stuff without worry.

The actual chore is made supprisingly easy, if ye have lying around, MS-DOS 6.21, MS-DOS 6.20, and some handy tools.

MS-DOS 6.22 consists of something like 191 files over four diskettes (we're adding in the supplement files). This is 'MS-DOS and Additional Tools', so we cull out the additional tools, to leave 'MS-DOS'.

* QBASIC110 - Edit, Help. May need to dismantle QBHELP - in hand.
* DOSSHELL - no changes needed
* SCANDISK - We could use the ME version here! - but see if 6.22 works!
* MSAV - It was nasty in its day
* DRVSPACE - From 6.20
* DBLSPACE - From 6.22
* MSDRIVER - himem, emm386, mouse, msd, etc - no need to change
* MSBACKUP - apparently version free - see Win95 disk
* INTERLNK - version free since 5.02 - version free
* MEMMAKER - version free = see win95 diskette
* NETWORLS - dos upgrades include network files
* DEFRAG - needs some work.



You first need to unpack files with PKLITE. The files needed to do things from floppies (like fdisk, debug, qhasic), are compressed with PKLITE. The rest are packed with COMPRESS v 1 [this is rather obscure software, not v 2 in the Win3.1 sdk]

Most of these are incessently nasty, but it seems little work is needed here, since these all turn out to be version-free stuff (ie don't care what DOS it uses), the exception being DBLSPACE and SCANDISK.

We are then left with something like 85 files, which consist of setup, dos5, dos6, and some odds and ends. dos5 stuff (like IO.SYS, MSDOS.SYS, etc) typically ask for version, while DOS6 stuff (DELTREE, MOVE, ...) do not. Doing something like CRC + CRCCHK sorts out what is different.

Supprisingly many files just need the DOS versions and copyright date changed. The versions in 6.21 and 6.22 differ by a handful of bytes. Some of the files have large data segments that have changed to reflect the new state of the world (like new SORT tables, new DOSVER tables, etc), still require this change, others, like KEYBOARD.SYS and EGA3.SYS do not.

The actual hand-hacked files that require a manual fc/b entry into the batch file, is then fixed along with the balance of the files. You end up with a batch file like the output from fc /b file1 file2.


Code:
Comparing files 622\CHKDSK.EXE and 621\CHKDSK.EXE
00000012: 4A 52
00000013: 80 87
000007BB: 34 33
0000136A: 16 14
00001B1E: 16 14
00001F5D: 16 14
00002267: 16 14
00002491: 16 14
00002918: 16 14
0000293C: 16 14


It's just a matter of writing a suitable command processor to process this. The relevant commands are

One can even do things to the dos kernel (IO.SYS and COMMAND.COM), so that MS-DOS 6.3 can run in 6.20 or 6.21 or 6.22 mode. Neato.

* files Open a new file to edit + print file name.
* 16 14Change binary DOS version
* 34 33 Change 1981-1994 to 1981-1983
* 32 31Change string '6.22' to '6.21'
* else print the line.


You then set the desired DOS version "061e"x, DOS string '6.30' and Copyright date '1995' and run the batch file through a special command processor that reads this script.

Of course, what this tells us is that MS-DOS 6.x is pretty much the same, and that the thing about checking for DOS version is more a commercial, rather than technical reason.


Top  Profile
 PostPost subject: Re: MS-DOS 6.30 (to all who ask)        Posted: Wed Jun 10, 2009 12:58 am 
Reply with quote
Donator
User avatar
Offline

Joined
Sun Dec 30, 2007 8:12 am

Posts
1203

Location
Brisbane, Queensland

Favourite OS
OS/2 Wrp 3.0
It's the same thing. Just a bit more tidy up. wendy at bootland = os2fan2 here.


Top  Profile  WWW
 PostPost subject: Re: MS-DOS 6.30 (to all who ask)        Posted: Mon Nov 23, 2009 9:33 am 
Reply with quote
Donator
User avatar
Offline

Joined
Sun Dec 30, 2007 8:12 am

Posts
1203

Location
Brisbane, Queensland

Favourite OS
OS/2 Wrp 3.0
What's terribly surprising is that that the DOS version is governed by just two bytes in io.sys. In any case, here is something interesting for Windows 9x builds! (also fake)



Code:
Microsoft(R) MS-DOS 7.1
   (C)Copyright Microsoft Corp 1981-1999.

Q:\SAVE\DOS\710>ver /r

MS-DOS 7.1 [Version 4.10.2400]
Revision A
DOS is in HMA

Q:\SAVE\DOS\710>



If you really want to be wicked, ye could do:

Code:
Microsoft(R) Windows NT
   (C)Copyright Microsoft Corp 1981-1999.

Q>ver /r

Windows NT [Version 5.10.2600]
Revision A
DOS is in HMA

Q>


It's just the command.com from Windows 98se (with updates), with a few string hacks, and deversioned, and a few changes to environment size etc.

It kind of looks cool, though!


Top  Profile  WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 




Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2019

 

Sitemap | XML | RSS