www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/08/12:12:37

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Message-Id: <4.2.0.58.20020108175939.01c8dff8@ics.u-strasbg.fr>
X-Sender: muller AT ics DOT u-strasbg DOT fr
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
Date: Tue, 08 Jan 2002 18:12:22 +0100
To: djgpp-workers AT delorie DOT com
From: Pierre Muller <muller AT cerbere DOT u-strasbg DOT fr>
Subject: INT 31 0303 Win XP bug
Cc: core AT freepascal DOT org
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com


    After trying for a while to get the mouse 
to work for our go32v2 FP IDE, 
Florian Klaempfl and I finally discovered that the INT 31 0303 
has an XP specific bug:

when the callback address is called the es register is null
instead of having the value given in es register
when calling the function 0303.
This leads to a crash of the NTVDM.

   Setting this value to the djgpp_ds_alias made the mouse callback to work correctly for XP.
As this is only done if es is null it shouldn't break any
working target.

This info might be useful for SET, Rhide and maybe allegro,
but maybe there is some Free Pascal specific code that triggers this bug...


Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller AT ics DOT u-strasbg DOT fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99

- Raw text -


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