Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #174: Backbone adjustment


comp / comp.misc / Re: Using FreeDOS In 2022

SubjectAuthor
* Re: Using FreeDOS In 2022Andy Burns
+- Re: Using FreeDOS In 2022Ben Collver
`* Re: Using FreeDOS In 2022Ben Collver
 `- Re: Using FreeDOS In 2022Lawrence D'Oliveiro

1
Subject: Re: Using FreeDOS In 2022
From: Andy Burns
Newsgroups: comp.misc
Date: Fri, 26 Apr 2024 13:24 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@andyburns.uk (Andy Burns)
Newsgroups: comp.misc
Subject: Re: Using FreeDOS In 2022
Date: Fri, 26 Apr 2024 14:24:23 +0100
Lines: 11
Message-ID: <l91o8fFb8dtU1@mid.individual.net>
References: <slrnv2aagh.2fm.bencollver@svadhyaya.localdomain>
<v055pm$rf51$3@dont-email.me>
<slrnv2cuoj.1ub.bencollver@svadhyaya.localdomain> <6626e295@news.ausics.net>
<v08j0h$1mg6c$1@dont-email.me>
<20240423174958.2fd4398422d51ed0f4cce992@127.0.0.1>
<20240423175054.49ee5b47705519dcb97a0dae@127.0.0.1>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net wM19ojkClO1uWttPUHfmBA0+wTf8s0iiNqE9DwIBNRDP5pS5C8
Cancel-Lock: sha1:7AnV5GdU/EWnB2YJlxxYu8/ls7I= sha256:kVYiAnB3eFCZ2vEWHxLJhofWcPWYqw8GCyz/n4Mf5jc=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <20240423175054.49ee5b47705519dcb97a0dae@127.0.0.1>
View all headers

Kerr-Mudd, John wrote:

>> A promising alternative was MS DOS 5's "DOSShell" program, but that go
>> killed off to save Windows sales.
>
> DOS 4.0, sorry.

Is that included in yesterday's MS-DOS 4.0 source code release?

<https://cloudblogs.microsoft.com/opensource/2024/04/25/open-sourcing-ms-dos-4-0/>

Subject: Re: Using FreeDOS In 2022
From: Ben Collver
Newsgroups: comp.misc
Organization: A noiseless patient Spider
Date: Fri, 26 Apr 2024 18:15 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bencollver@tilde.pink (Ben Collver)
Newsgroups: comp.misc
Subject: Re: Using FreeDOS In 2022
Date: Fri, 26 Apr 2024 18:15:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <slrnv2nrc1.ein.bencollver@svadhyaya.localdomain>
References: <slrnv2aagh.2fm.bencollver@svadhyaya.localdomain>
<v055pm$rf51$3@dont-email.me>
<slrnv2cuoj.1ub.bencollver@svadhyaya.localdomain>
<6626e295@news.ausics.net> <v08j0h$1mg6c$1@dont-email.me>
<20240423174958.2fd4398422d51ed0f4cce992@127.0.0.1>
<20240423175054.49ee5b47705519dcb97a0dae@127.0.0.1>
<l91o8fFb8dtU1@mid.individual.net>
Injection-Date: Fri, 26 Apr 2024 20:15:20 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9440bc25be6c6dd400dbaaae741c8bb1";
logging-data="4039242"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19+wt21BUiFFB2lbDVl9UEr1LMBBliatOk="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:n4fsO7dR8gaAp1yscyx2nefHVRA=
View all headers

On 2024-04-26, Andy Burns <usenet@andyburns.uk> wrote:
> Kerr-Mudd, John wrote:
>>> A promising alternative was MS DOS 5's "DOSShell" program, but that go
>>> killed off to save Windows sales.
>>
>> DOS 4.0, sorry.
>
> Is that included in yesterday's MS-DOS 4.0 source code release?
>
><https://cloudblogs.microsoft.com/opensource/2024/04/25/
open-sourcing-ms-dos-4-0/>

No, dosshell is not included. Nor is gwbasic, himem.sys, nor
xmaem/xma2ems.

Subject: Re: Using FreeDOS In 2022
From: Ben Collver
Newsgroups: comp.misc
Organization: A noiseless patient Spider
Date: Fri, 26 Apr 2024 21:21 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bencollver@tilde.pink (Ben Collver)
Newsgroups: comp.misc
Subject: Re: Using FreeDOS In 2022
Date: Fri, 26 Apr 2024 21:21:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 125
Message-ID: <slrnv2o69p.i8k.bencollver@svadhyaya.localdomain>
References: <slrnv2aagh.2fm.bencollver@svadhyaya.localdomain>
<v055pm$rf51$3@dont-email.me>
<slrnv2cuoj.1ub.bencollver@svadhyaya.localdomain>
<6626e295@news.ausics.net> <v08j0h$1mg6c$1@dont-email.me>
<20240423174958.2fd4398422d51ed0f4cce992@127.0.0.1>
<20240423175054.49ee5b47705519dcb97a0dae@127.0.0.1>
<l91o8fFb8dtU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 26 Apr 2024 23:21:52 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9440bc25be6c6dd400dbaaae741c8bb1";
logging-data="4117298"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ievLYhgxU/CKHBVKzUgBOA0RVaHknxkk="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:GTs9N0/4nblp84OTEM7DVSR/jqI=
View all headers

On 2024-04-26, Andy Burns <usenet@andyburns.uk> wrote:
> Is that included in yesterday's MS-DOS 4.0 source code release?
>
><https://cloudblogs.microsoft.com/opensource/2024/04/25/
open-sourcing-ms-dos-4-0/>

How Not To Release Historic Source Code
=======================================
Posted on April 26, 2024 by Michal Necasek

This is how to not do it:

GitHub
<https://github.com/microsoft/MS-DOS/tree/main/v4.0>

Don't get me wrong, it's absolutely brilliant that Microsoft was able to
release a fairly complete (minus DOSSHELL) source code for MS-DOS 4.00
or 4.01 (see below). As much as it was hated, DOS 4.0 was an important
milestone and DOS 5.0 was much more similar to DOS 4.0 than not. This
source code will be an excellent reference of modern-ish DOS until
Microsoft officially releases the long ago leaked MS-DOS 6.0 source
code. The source code includes all required build tools, which makes
building it (compared to many other source releases) extremely easy.

But please please don't mutilate historic source code by shoving it into
(stupid) git.

First of all, git does not preserve timestamps, which causes
irreversible damage. Knowing when a source file was last modified is
valuable information.

Second of all, the people releasing the source code clearly thought,
hey, it's source code, let's shove it into git, what could possibly go
wrong. Well, this is what could go wrong:

Nope, not building
<http://www.os2museum.com/wp/wp-content/uploads/2024/04/
dos40src-error1-640x356.png>

For practical purposes, old source files are not text files. They are
binary files, and must be preserved without modification. It is not OK
to take an old source file and convert it to UTF-8. For one thing, UTF-8
didn't even exist in the times of MASM 5.10 and Microsoft C 5.1, of
course old tools can't deal with it!

The above problem was most likely caused by taking a source line using
codepage 437 characters and badly converting them to UTF-8. That made
the source line too long, past the circa 512 byte line length limit of
MASM.

In the case of getmsg.asm it's easy enough to manually delete the too
long line in a comment. But it's much worse with the src\SELECT\USA.INF
file. Here, the misguided use of git not only made some comment lines
too long for MASM, but it also actively destroyed the original source
code. The byte arrays defined near labels PANEL36 and PANEL37 got turned
into junk, or more accurately into a sequence of Unicode replacement
characters.

<https://github.com/microsoft/MS-DOS/blob/main/v4.0/src/SELECT/USA.INF>

This blunder is all the more regrettable because similar problems
affected the previous GW-BASIC source release (very old MASM versions
cannot deal with UNIX style line endings).

<https://www.os2museum.com/wp/gw-basic-source-notes/>

The timestamp destruction makes it harder to pin down what the source
code actually is. The DOS 4.0 release was very confused because IBM
first released PC DOS 4.0 in June 1988 (files dated 06/17/1988), but
soon followed with a quiet update (files dated 08/03/1988) where the
disks were labeled 4.01 but the software still reported itself as 4.00.

The just released source code almost certainly corresponds to this quiet
4.01 update. At least one source comment implies 8/5/88 modification,
i.e. August 1988.

At least the core files (IO.SYS, MSDOS.SYS, COMMAND.COM, FORMAT.COM,
FDISK.SYS, SYS.COM) built from the source release are a perfect match
for the files on "MS-DOS 4.00" disk images that can be found on
winworldpc.

<https://winworldpc.com/product/ms-dos/4x>

Said files are dated 10/06/1988 and DOS reports itself as 4.00. However,
the released source code, in the file SETENV.BAT, includes the following
line:

echo setting up system to build the MS-DOS 4.01 SOURCE BAK...

This further suggests that the source code in fact corresponds to the
quiet update of DOS 4.01 and not to the original IBM DOS 4.00 from June
1988, which to the best of my knowledge was never available from
Microsoft. After a few months, perhaps in late 1988 Microsoft changed
DOS to report itself as 4.01 because—unsurprisingly—the 4.00 version
number was confusing customers.

As a historic footnote, BAK stood for Binary Adaptation Kit. MS-DOS OEMs
would receive the BAK to adapt to their hardware. However, most OEMs did
not receive the full source code, only the code to components that
likely needed modification, such as IO.SYS.

But the fact that the "Source BAK" was something that Microsoft shipped
to (select lucky) customers is actually great—since it's supposed to be
built by 3rd parties, it includes all of the required tools and is in
fact quite easy to build.

Executive Summary
=================
It's terrific that the source code for DOS 4.00/4.01 was released! But
don't expect to build the source code mutilated by git without problems.

Historic source code should be released simply as an archive of files,
ZIP or tar or 7z or whatever, with all timestamps preserved and every
single byte kept the way it was. Git is simply not a suitable tool for
this.

From:
<https://www.os2museum.com/wp/how-not-to-release-historic-source-code/>

Comments
========
According to HN comments, some of the source was even censored a bit as
a hot-fix (original contained a not-so-nice comment about Tim Paterson):

<https://news.ycombinator.com/item?id=40163766>

Subject: Re: Using FreeDOS In 2022
From: Lawrence D'Oliv
Newsgroups: comp.misc
Organization: A noiseless patient Spider
Date: Fri, 26 Apr 2024 23:19 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.misc
Subject: Re: Using FreeDOS In 2022
Date: Fri, 26 Apr 2024 23:19:49 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <v0hcql$3v35b$2@dont-email.me>
References: <slrnv2aagh.2fm.bencollver@svadhyaya.localdomain>
<v055pm$rf51$3@dont-email.me>
<slrnv2cuoj.1ub.bencollver@svadhyaya.localdomain> <6626e295@news.ausics.net>
<v08j0h$1mg6c$1@dont-email.me>
<20240423174958.2fd4398422d51ed0f4cce992@127.0.0.1>
<20240423175054.49ee5b47705519dcb97a0dae@127.0.0.1>
<l91o8fFb8dtU1@mid.individual.net>
<slrnv2o69p.i8k.bencollver@svadhyaya.localdomain>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 27 Apr 2024 01:19:49 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9e4fadc78fe91d749786c6f98d388f78";
logging-data="4164779"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5xYxOKXHxsUusocDE2kdq"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1://O11RxJx5wRmlcFDLjfO8RWkoQ=
View all headers

On Fri, 26 Apr 2024 21:21:52 -0000 (UTC), Ben Collver wrote:

> But please please don't mutilate historic source code by shoving it into
> (stupid) git.

Well, Linus himself described Git as “the stupid content tracker”. It’s
even in the man page synopsis.

> First of all, git does not preserve timestamps, which causes
> irreversible damage. Knowing when a source file was last modified is
> valuable information.

One that can be recorded in Git, the same way you would in any other VCS:
use the commit date. You want help to figure that out? Have a look at the
fake_git script here <https://bitbucket.org/ldo17/fake_vcs/src/master/>.

> Well, this is what could go wrong:

Wonderful. Posting screen shots of text error messages, instead of posting
the actual text itself. Has this become some kind of ingrained habit among
DOS/Windows users? Is software development still some kind of novelty to
you?

1

rocksolid light 0.9.8
clearnet tor