delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2020/07/27/13:08:58

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=jH8KjaSM/BwpcCYQ3JCPbw7vpbjEPXzBxgSwDP2n9bQ=;
b=FawpRK0N35SORg7vsUWuNttiGzLJnqbs51LYP2SGPwvIHVpx1iVR/44fqx9gE7zDsX
2Ij0y+Buhad2bv4a0dU34oqof9VOW1OCvIgfIyFQDD8ZBaghoy+P2Qy2Sm7H1Y9tA0by
Twq8+Hqxxl7iiIgKZ6W+wzbdE2SUeaSsmJr4OVEor3nuXA+94y5xtfnd2dc1wsl9DzXR
OYR2JWBUSmnMK7wO30+Fc1RaDwmezCNXuSad9HFWiPHuKjXD9v1pixyJNbCG2svsBpbK
Rd6LsPSZAIKVwwzmvg+bUO8Er+GJh1zm/af2hAnkLpvbv3RjyZi9b7R4D4r8NdH3laFy
Dbjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=jH8KjaSM/BwpcCYQ3JCPbw7vpbjEPXzBxgSwDP2n9bQ=;
b=Eu16A3dCK0v0Q2R19obng8OmhxCZBWYAfnUWabLvel5UJeDUKjTSa11FOv5hgIZkbe
XBz8uGEWKe9jMF1VrWnwRvUKlEFXAuZaEYbTkwMoDY3SgXwo3OGv38oVb0RrXnfNTqCG
ePmsUG5v8/mYARqn9c67phRRua4F/XXoVpnVASvuYC1R1SJxTIXmYHaPXCiYr4uZqHiw
GoPvuqHLRYTPXu/A5uSyIk27EQR9VBDNWczYG+TMQyMGv0GolR14s5BM/jbeGuwiyCJa
5MJIsK1O7ftus+TlnBg70fF9Nbwt/yVcqlHlgM3VvOhtDMAJFp1mxhPNP3L7oNLRO9Ea
wdnw==
X-Gm-Message-State: AOAM530tQKEpZ1OMs1WuSlHeFaZgQ4Cn9RH2Ez+ub4MZQrbJl7DUemsp
1i4fkCWIQZcejrplaUPSP0UrIBhXmHtN9+scLkBDEYTo
X-Google-Smtp-Source: ABdhPJwfuQUdIIICwJ1mQoWPG2bJH756tunKw9K1ccgm9rG6018dKO/RIZaE8AnvPMqWxsVx4RlyZy/wS6Ymv+3Lmfk=
X-Received: by 2002:a19:43:: with SMTP id 64mr12191895lfa.72.1595869478127;
Mon, 27 Jul 2020 10:04:38 -0700 (PDT)
MIME-Version: 1.0
References: <202007261750 DOT 06QHo9QM015849 AT delorie DOT com>
In-Reply-To: <202007261750.06QHo9QM015849@delorie.com>
From: "A. Wik (awik32 AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Date: Mon, 27 Jul 2020 17:04:25 +0000
Message-ID: <CALPW7mTz2W7KNELU-PFGeTw_+r-55t3Y3-BJDuZ7uCVU-3xTPA@mail.gmail.com>
Subject: Contemporary DOS environments
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com

Greetings to all.

This is an important topic, and warrants a thread of its own, but it
started it as a reply to the recent GCC 10.2.0 announcement.

On Sun, 26 Jul 2020 at 18:01, Andris Pavenis (andris DOT pavenis AT iki DOT fi)
[via djgpp-announce AT delorie DOT com] <djgpp-announce AT delorie DOT com> wrote:
>
> Binaries are built and tested in Windows Vista Business SP3 bit. Unfortunately Microsoft has broken
> DPMI
> in Windows 10 32 bit since March 2018. There is also no improvement in recent Insider builds of 32 bit
> versions of Windows 10.

NT-series Windows support for DOS programs has always been pathetic,
and with 64-bit versions of Windows, it is non-existent.  Likewise,
64-bit Linux no longer supports DOSEMU.

Yet it is not practical to run DOS or Win9x directly as a main
operating system on modern hardware.

Fortunately, there are alternatives.   You don't have to give up Linux
or WinNT to use DOS (16- or 32-bit), even at the same time.

You can set up a fine 16- and 32-bit DOS environment using a Win98SE
(or any Win9x) install under VMWare.  (The freeware VMWare Player is
sufficient for the purpose.).  Importantly, you get long filenames and
pre-emptive multi-tasking as part of this package.  The VMW guest
addons for Win9x provide clipboard synchronisation with the host OS,
and you can use Samba to set up file sharing.  I use Linux, but I
don't see any reason why you couldn't set up this environment under
Windows NT, including Vista or later versions, including 64-bit.  The
performance is more than good enough.

I use the Vim editor, in the form of a 32-bit DOS application, and it
supports the Win9x clipboard, so I can copy text (or other data) in
the editor running under DOS and have it immediately available for
pasting on my Linux desktop.

I'm using this setup for DOS software development, and it is just
about as good as running Win98SE directly (on older hardware in the
late 90s early 00s).  Indeed, in some ways it is better: when the
DOS/Win98 crashes, I don't have to restart the whole system, I just
restart the virtual machine, and I am back up and running within a few
minutes.

I run this under 64-bit Linux Mint 19.3, which is based on Ubuntu
(which is based on Debian).

You can use QEMU to run Win9x in a VM, but the shared clipboard
support is not available, and it is somewhat slower.

I encourage you to share your own solutions for running DJGPP and
other DOS software in this day and age.  I'm sure further refinements
over those reported above are possible.  In fact, there is one that
comes to mind immediately: CMDEDIT, which in addition to the features
provided by DOSKEY also implements filename completion with Tab; see
http://adoxa.altervista.org/cmdedit/index.html

Regards,
Albert.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019