delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/07/04:01:59

Date: Mon, 7 Sep 1998 11:00:16 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: mert0407 AT sable DOT ox DOT ac DOT uk
cc: djgpp AT delorie DOT com
Subject: Re: help! SIGILL?!?
In-Reply-To: <199809061937.WAA22180@is.elta.co.il>
Message-ID: <Pine.SUN.3.91.980907105956.23208G-100000@is>
MIME-Version: 1.0

On Sun, 6 Sep 1998, George Foot wrote:

> Allegro sometimes creates executable code at run-time (specifically,
> compiled sprites and stretched blits are normally performed in this
> way).  This code will be in the heap, so the EIP value when executing
> it will be greater than ESP.

Right.  The user should check whether the program indeed calls one of
those Allegro functions.

> This might also explain the ES value
> (since the stretchers, at least, use `stosb' instructions).

Sorry, I don't get this one.  How could a valid code cause ES be
loaded with an invalid selector?

- Raw text -


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