Path: csiph.com!aioe.org!a/T4ApFfDwfCJeUuLpbuYw.user.46.165.242.75.POSTED!not-for-mail From: Mateusz Viste Newsgroups: comp.os.msdos.programmer Subject: Re: initial memory Date: Sat, 4 Dec 2021 09:35:37 +0100 Organization: . . . Message-ID: References: <8808cb98-5cfd-444d-87ac-a71ef937f64cn@googlegroups.com> <8mnduvhd2fdw$.33ex4smmmt4t$.dlg@40tude.net> <18xw4wam0sv01$.15vxgi1xg9ahw.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="19006"; posting-host="a/T4ApFfDwfCJeUuLpbuYw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; X-Notice: Filtered by postfilter v. 0.9.2 Xref: csiph.com comp.os.msdos.programmer:4089 2021-12-04 at 14:00 +0700, JJ wrote: > On Fri, 3 Dec 2021 09:45:00 +0100, Mateusz Viste wrote: > > 2021-12-03 at 00:38 -0800, muta...@gmail.com wrote: > >> So for all executables, all of memory is allocated until > >> released? > > > > AFAIK this is true only for COM files, where CS=DS=ES=SS. > > EXE files can be made to allocate the maximum available memory. e.g. > compiling a tiny model program into an EXE. "can be made", yes, through fiddling with exe headers, but then that's done on purpose, and not a by-design behavior, right? Mateusz