delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2022/08/06/12:18:09

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 2002:ac8:598e:0:b0:33c:9c91:2f0e with SMTP id e14-20020ac8598e000000b0033c9c912f0emr10037292qte.213.1659801140752;
Sat, 06 Aug 2022 08:52:20 -0700 (PDT)
X-Received: by 2002:a05:690c:807:b0:322:be87:7926 with SMTP id
bx7-20020a05690c080700b00322be877926mr10878305ywb.510.1659801140457; Sat, 06
Aug 2022 08:52:20 -0700 (PDT)
Newsgroups: comp.os.msdos.djgpp
Date: Sat, 6 Aug 2022 08:52:20 -0700 (PDT)
In-Reply-To: <CAA2C=vCKayVtwbC7xaPtcfZ2a6PDPLAa8K2diCRN52=yi9R_Og@mail.gmail.com>
Injection-Info: google-groups.googlegroups.com; posting-host=81.217.199.198; posting-account=RR3OeQoAAACYgn23XqTski3oGOFlt-O1
NNTP-Posting-Host: 81.217.199.198
References: <3c11b033 DOT 75 DOT 182562fe32f DOT Coremail DOT lostxwind AT 163 DOT com>
<414f3e66 DOT a1 DOT 182565154ec DOT Coremail DOT lostxwind AT 163 DOT com> <CAA2C=vCKayVtwbC7xaPtcfZ2a6PDPLAa8K2diCRN52=yi9R_Og AT mail DOT gmail DOT com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <83b98192-9ce6-495d-8eaf-9c4e6906cb5dn@googlegroups.com>
Subject: Re: BUGREPORT: ___dpmi_get_raw_mode_switch_addr() modifies SI
register and doesn't save it
From: "Stefan Ring (stefanrin AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Injection-Date: Sat, 06 Aug 2022 15:52:20 +0000
Bytes: 1693
Lines: 13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> src\libc\dpmi\api\d0306.S, line 2-line 4. 
> 
> code before fix: 
> #define USE_EBX 
> #define USE_EDI 
> #include "dpmidefs.h" 
> 
> possible fix: 
> #define USE_EBX 
> #define USE_EDI 
> #define USE_ESI 
> #include "dpmidefs.h" 

Yes, looks very reasonable, given that the DPMI call explicitly changes (e)si.

- Raw text -


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