Antti wrote:alexfru wrote:Why would I want to allocate more memory than needed when it's easy to avoid it?
You would not waste any memory by loading the program as low as possible.
Right, but manipulating the max field is the wrong way of changing the location where the program gets loaded. The max field's primary purpose is to reserve memory and not to control the program's location (btw, relying on or requiring a particular memory layout is generally a bad idea, there must be strong reasons for doing such odd things). If all of the memory is allocated because of max=0xFFFF, then I can't load and execute subordinate programs using the standard APIs and even if I could, they in turn wouldn't be able to allocate any additional memory using the standard APIs. Setting max=0xFFFF *does* result in an unjustified waste of memory. This field is not a location control.
Antti wrote:alexfru wrote:If my program needs to load and run another program but there's no memory left because all of it has already been allocated to my program, that other program can't be loaded.
On DOS, I think it is convenient to use free memory that is above the program than below it.
Maybe. Maybe not. Do you have an actual scenario, where one or the other is so much preferable that it must be the only way? Or are you just thinking in some abstract terms and trolling people with your fantasies? Or are you thinking about something completely unrelated here? For example, some people would stack your tech books on the shelf by their size or color, because that's the best they can do it and everything just looks neat that way.
Except then you can't find your books in this piece of art.
Antti wrote:alexfru wrote:So what? What's your problem here? Do you actually have one? How and why should it be my problem?
I just made a suggestion that I considered to be a much better default setting.
You just took it out of y... well, you know out of where. You never explained how loading lower is better than loading higher or vice versa. If you said that your RAM was bad at lower addresses, that would be laughable, but nonetheless enough of a reason to even remotely consider lower vs higher locations. But you did not provide any reason or scenario whatsoever to support your claim. And yet somehow your suggestion is "much better". Really? Your suggestion will also break some of properly working code. Again, for no good reason at all.
Sorry, but so far you aren't making much sense.