delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2023/01/29/13:06:48

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
X-Yandex-Fwd: 1
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1675015500;
bh=dc03XTbYdF2hkxkBvZPtmydZLEajfkG4tU6x+PR58BM=;
h=In-Reply-To:Date:References:To:Subject:From:Message-ID;
b=doPGcQiobXTD5TCRK49RdFqEPwItc0GqwUT2a+Eeu9gdyckZ538UWGUeWmPd7T9CX
uhUiRJs7lt8YT5DxbE5y+KYvL/lHkZ45TpF8d/k2s5DiOn2meuo3s+LqPHNVylJW8U
/t953Va7Xbc+vcLDgWP0NPlXbcB6NREcpyzitlrw=
Authentication-Results: vla5-3364930cd0c2.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru
Message-ID: <13bcde45-37ca-5947-7065-fa2381cd8cfc@yandex.ru>
Date: Sun, 29 Jan 2023 23:04:59 +0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
From: "stsp (stsp2 AT yandex DOT ru) [via djgpp-workers AT delorie DOT com]" <djgpp-workers AT delorie DOT com>
Subject: Re: [PATCH] process: add _dos_exec5()
To: djgpp-workers AT delorie DOT com
References: <efccb9e3-86b5-60b3-9afc-5066f1cfda46 AT yandex DOT ru>
<bb376189-80d6-49d2-ab7e-62afe7c57832 AT gmail DOT com>
In-Reply-To: <bb376189-80d6-49d2-ab7e-62afe7c57832@gmail.com>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Trying to re-send w/o international chars,
maybe that won't bounce...

29.01.2023 18:43, Frank Sapone (emoaddict15 AT gmail DOT com) [via 
djgpp-workers AT delorie DOT com] wrote:

> On 1/29/2023 8:15 AM, stsp (stsp2 AT yandex DOT ru) [via 
> djgpp-workers AT delorie DOT com] wrote:
>> Same as _dos_exec() but with "flags" as 5th arg.
>> The flags are passed to AL when calling int21/4Bh.
>> In addition to an execution mode in AL, freedos defines the loadhigh
>> flag 0x80.
>
> Why the necessary change?  You mention what the patch does, but not 
> what it fixes or why we need it.


To implement loadhigh.
Of course there are other possible
uses, eg AL=1 means "load but do
not execute", which may be useful
for some debugger.
But for me its just loadhigh.
Without that flag you can do looadhigh
by hands, but the problem is that UMB
won't be unlinked after exec then.


- Raw text -


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