delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2024/02/26/08:30:34

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=1708954225; x=1709559025; 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=Ne3EIq1t3kI+QYYXsH0H0Cjn0+u0lVxYa+z6MhoHeJ8=;
b=OnU8wBrKn7fmjWeymiG+sp0S3Z8rb8gazuh8iWczY87U/9fhoc3BEHuZ1Xac4n4Ph/
R+JDOm4Il5jWYLG6odY4ReNi/JyHU2EgYtq8fIWO0on2AirAvXr/V6snNIWGtBoOHHbn
Hjbcu1oZN4jx1lvVmZrcqB/E/JznpOCOLjOlepOMSgKg9n/Bl6x/O2erLlZecALstywN
0l/eaLOcdi2JNzrtJeJlZ5KPrePzDQ8bM3fXUPQBsiRtxRy5sKrrJVewuSc6VbZe606x
lClS2o9/D+wmLCiQMb2tMP02bsUWumzpUBZfPP+mlQEWNCXASz+84aEsT4k8R5ChOyvg
MdLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1708954225; x=1709559025;
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=Ne3EIq1t3kI+QYYXsH0H0Cjn0+u0lVxYa+z6MhoHeJ8=;
b=cMZIVJX1KNwZrVsvqDorjRaYQQOHykcwIyP7vjlFqFYgfLv+/LkDPe2NcSFt1nYNEe
a12QyoAI4mkMowtHoL2/iCUaWX6nTIN8lySR1RzVm/ZznPjN/nDUAzU1p0dFVOOV22F6
QHIJDIdNo74Hs35FS5EZf++dBO+wl9w/sjrUFGm6QcwgWEw0OXZLYENbQLz/vFlhz2+n
PcDpmNIrHexRaIgqjcT2hHTtvmQ1lrTschnvXor0oGUAhpnE2EuxMHu4qlSHq9sri79R
2FAhTcKMHYKdiYX6CIIATrVeiAjCLRFrt4bJ+Cje0Dd16rLvgOaMGMIQViLdxLiTHlro
9ciw==
X-Gm-Message-State: AOJu0YyQWtgiqbmCwszPahE6uHPFJyT+qmXzP8LvzGWwdEBQ8+qYSkyd
5cmxXmEknvpS/AQ1Abc27pMYwS7jUYXTqdZH4TnaZ7J17qIB/S98uYyw/DHnp+qFkZyvGwx7mPu
TiMJJUqzOmRUvBe5dbWP3FqnSK/+Ws3ds
X-Google-Smtp-Source: AGHT+IE6MtZT546Tkic9uxrKnyr2gGePAAH3EU6IWMFgetY5fa0lkx3XQN02uHP3VuHrieTZIeM+oJqpDS+nU2tyjPI=
X-Received: by 2002:a2e:22c1:0:b0:2d2:7f28:7b16 with SMTP id
i184-20020a2e22c1000000b002d27f287b16mr4074527lji.39.1708954224976; Mon, 26
Feb 2024 05:30:24 -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> <CALPW7mRAZHoai1B6xp_qMsC77wOJOPp6mZ1ueNceF-w=eW80WQ AT mail DOT gmail DOT com>
<864jdvwfiy DOT fsf AT gnu DOT org>
In-Reply-To: <864jdvwfiy.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 13:30:13 +0000
Message-ID: <CALPW7mRUipL8RhJLWMo+8LOzqGhL83ZnrQe10Rz8tizEt_pt9w@mail.gmail.com>
Subject: Re: DJGPP documentation updates
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com

On Mon, 26 Feb 2024 at 12:56, 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: Mon, 26 Feb 2024 08:23:27 +0000
> >
> > > 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.
>
> Of course.  But the misunderstanding I was pointing out is exactly
> this: a programmer doesn't care about those page tables in this case,
> because DOS memory is by definition "physical".
>
> We basically agree about the facts, but not about their impact on the
> documentation that is the subject of this thread.

Perhaps you mean that the distinction doesn't matter, because the
addresses are always mapped in while the VM is running?  But the
distinction does matter if you're going to pass the address to a
hardware device.  It can also matter if you're going to do certain
things with paging, such as turning it on or off or in some cases,
when you're manipulating the page tables.

-Albert.

- Raw text -


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