www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/04/21:41:04

From: Sengan DOT Short AT durham DOT ac DOT uk
Message-Id: <23873.9605050122@bylands.dur.ac.uk>
Subject: djp
To: lmolnar AT goliat DOT eik DOT bme DOT hu
Date: Sun, 5 May 1996 02:22:00 +0100 (BST)
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0

Hi L. Molnar,

Following up my recent message about your package djp to the djgpp group,
I looked at the source code of the package, and have noticed the following
bug:

At L0: the escape clause of the decompress routine, the ds and es selectors
are popped off the stack in the wrong order.

The decompress routine enters with:
push ds
push es

and exits with

pop ds
pop es

This may have been hidden by the fact that decompress is called twice.
However the read_section routine is called in between, and it relies on
dos, amoung other things. I'm not as yet familliar with when es and ds
are used implicitely, but it would be lucky if the above had no effect.

Thanks for making this program. I hope the above will prove to be the
cause of the error I observed. I'm afraid I am not willing to test it
myself until my PHD thesis is written, as I feel very lucky to have
escaped with only cpp damaged: I can't afford to lose the use of my
computer at this time, or indeed my thesis!).

Sengan

- Raw text -


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