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; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=RotJc2pq7W2B+jEU4uWjHL5IvSYDfx2JO5bb1QPB5XI=; b=b9aNiZfybBJS JirtVXNhqcE/puoedRt9eE+Gza4zVOHxQdlpN989xgSAKiKInh+sT6bcGCpQ2ewbxCeFjYOsFxSm5 q1OH4pPGJ/7NzfVQjcFGbSMBMCa/ODWf8P3DJWG6cJmuDJiD4ix/eOVcZ3gAcjcg5eAsgyMhGTNfC U0pzw6/2P2EcYLpX6S9CN65+PtSz0mMWgEZIrBWHmUbwt5Hzjoqj98bisQe+Yunouf8cqDisdV5a+ gN30Cshte1ecNloj+YEY/8+ppucmvG9buYpn5PThLKtpVWXxZNmLq0lgl57slBdc54csT0WY+lYSr WwYL7DVO93D3m0oLSg0P3w==; Date: Sun, 25 Feb 2024 21:58:39 +0200 Message-Id: <86a5nowc28.fsf@gnu.org> From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" To: djgpp AT delorie DOT com In-Reply-To: (djgpp AT delorie DOT com) Subject: Re: DJGPP documentation updates References: <20240213210641 DOT 52jnxonf3zuc2qxw AT pali> <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> Reply-To: djgpp AT delorie DOT com > From: "A. Wik (awik32 AT gmail DOT com) [via 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] 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.