delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2024/02/26/03:23:52

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=20230601; t=1708935819; x=1709540619; darn=delorie.com;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=sz/Oscn0OIk2nK1DxHzLhhKLwA27Ee7nnsreemhXnNk=;
b=a/KR4E8U5Ym4eJTXjHeRW7/uMa/aQHFwmckjZNec98h7DPYIlPjY7zTtfqmoBRX+R4
bdjFjCjisT964XoWNFNc2Gdh+Qd4id18j+tq8cPzVBrvyCH4DRb3l1Np2o/jZuy17XRB
8ZJP1zzFh39e9kLxKRusalVWZXDaCqNr21BoMJOwPbXcSCECJBb5pDCSEgqkJi9N7w/G
QiiSpHBgv7ajUn0Mk85c7dTNvsXJa1a3jqAOrjvhWSKPyueqSvZJrhYEmfgxrjruNDp+
+Lbz2+q5dXtqNJDLaJLlNu9qVueg1BU1qvTj7bP7h52wOs/2VzvNryfsU0pWRJhjZvRv
P+Bg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1708935819; x=1709540619;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=sz/Oscn0OIk2nK1DxHzLhhKLwA27Ee7nnsreemhXnNk=;
b=ZbKRW2mWOow6WS1L2BmKLcVhAz/Cp07GTGwX3Itk0dI50pWXliCPBOtSpqn4KVVTzg
NzEQP0g6pu2qh8NgDhjP9rmwYDmd6uJSGq5ayFitjpYLdebvBH9pOiHkUWgp16NQFBYn
cjgniDgv+u4+OKaTTK/iWCLWSHFqv0PbtmyRyzplFZyzXpIF3XdWPi/hRbkKklzC7Yro
GWwJcYL5avUaexbRiRyCgBhXoXWQzGcIREhGr3uGIJI1lodtfN64BxK2JS+C+3f1Lt0I
0NkUxYWs73qJ7sajGUIVBU+5l2MBZMW4rXmhmUDyCTrQjzcbZRPVF8v/5/H4rAxbx1ri
wNRw==
X-Gm-Message-State: AOJu0Yzljn+mlySAAzFR6wj3Ww3wZ1oBCjjeuaVLStEkWaFYFC4RklAP
otkQbkXG8hso4hRYZ7bGoTTejglcFJgKP1JdoQBG+E9FANfDdWuJuTq1xZX0pfBoHh5fH4VTwAv
b0A8qQs/MBm/IOdFi5BaBIulZTa3a3CLc
X-Google-Smtp-Source: AGHT+IE1bzMdXk4JbB+xbzvyUFsCyYiP/zqs8/NpDhANHkuLIVpd2GDvVEIAlKo5NnouUbEP+wiJwL7ZxAhAxkMWZD0=
X-Received: by 2002:a05:6512:38c5:b0:511:4253:3a8b with SMTP id
p5-20020a05651238c500b0051142533a8bmr3734473lft.42.1708935818312; Mon, 26 Feb
2024 00:23:38 -0800 (PST)
MIME-Version: 1.0
References: <20240213210641 DOT 52jnxonf3zuc2qxw AT pali> <CAA2C=vA9F0qL8vAw+FA5AtVavsEZqJKY=UrMz8MbpQa1POqjLA AT mail DOT gmail DOT com>
<86mss3xfu9 DOT fsf AT gnu DOT org> <20240217155210 DOT cs5mqv3izh5jlvee AT pali>
<86eddbt6e3 DOT fsf AT gnu DOT org> <20240225115526 DOT mnx5jogkevlbjwu4 AT pali>
<86y1b8wvx9 DOT fsf AT gnu DOT org> <20240225165154 DOT aiasgj6e6uipmt42 AT pali>
<86le78wjv1 DOT fsf AT gnu DOT org> <CALPW7mSqDTJcOs0JywP8Q8OPQHsj-qVR8dQsAyCkZUo2OPo_kw AT mail DOT gmail DOT com>
<86a5nowc28 DOT fsf AT gnu DOT org>
In-Reply-To: <86a5nowc28.fsf@gnu.org>
From: "A. Wik (awik32 AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Date: Mon, 26 Feb 2024 08:23:27 +0000
Message-ID: <CALPW7mRAZHoai1B6xp_qMsC77wOJOPp6mZ1ueNceF-w=eW80WQ@mail.gmail.com>
Subject: Re: DJGPP documentation updates
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com

On Sun, 25 Feb 2024 at 19:59, Eli Zaretskii (eliz AT gnu DOT org) [via
djgpp AT delorie DOT com] <djgpp AT delorie DOT com> wrote:
>
> > From: "A. Wik (awik32 AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
> > Date: Sun, 25 Feb 2024 19:28:07 +0000
> >
> > On Sun, 25 Feb 2024 at 17:11, Eli Zaretskii (eliz AT gnu DOT org) [via
> > djgpp AT delorie DOT com] <djgpp AT delorie DOT com> wrote:
> > >
> > > > I'm not sure now if I understood it correctly. But my understanding of
> > > > the spec is that DPMI host which supports paging may page-out also
> > > > linear addresses below 1 MB.
> > >
> > > Really?  IME, no DPMI host does that.  DOS memory is always mapped
> > > 1:1, AFAIR.
> >
> > Windows maps VMs one at a time into the low 1 MB, although the memory
> > that was in use when Windows started is replicated (at the same linear
> > address) in all the VMs.  A VM is approximately a "DOS box", but there
> > is always a so-called "system" VM in which (usually) the GUI is
> > running.
> >
> > There is also expanded memory (LIM EMS) that involves mapping the
> > "expanded" memory into or out of a program's low 1 MB address space.
>
> I think there's a misunderstanding here.  The issue at hand is whether
> the DOS memory's linear address, as it appears within a certain VM,
> can ever have the value above 1MB.  If the linear address is _always_
> below 1MB, then for all practical purposes it is the same as the
> "physical address", since what the VM does under the hood is none of
> the business of the DJGPP programmer.

Linear V86 addresses are obviously below 1 MB, but (via the page
tables) they can be (and in Wndows often are) mapped to any physical
address, including above 1 MB.

-Albert.

- Raw text -


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