Re: Dos App hangs with DPMI / PIC problem

Ryan Underwood
2004-09-16T20:01:50Z

[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]

On Thu, Sep 16, 2004 at 03:33:03AM +0000, anon permutation wrote:
>
> Hi,
>
> Thank you for helping. Okay:
>
> 1. I tried e c316:903a 75, and I see the je changed to jne. However, the
> app continues to hang inside that loop...

The flow of execution should be diverted either to or away from the jump
target depending on the value of the zero flag. If nothing changes in
the trace, then I guess you've done something wrong. Note that it is
possible for the program to find another place to get stuck after that.

> 2. I tried e c316:903a EB08, and I see the je changed to or [bi+si], cl .
> The app continues to hang inside that loop. However, I think I am not
> doing exactly what Ryan wanted me to do though...

Um, something didn't work there. Try
e c316:903a EB
e c316:903b 08

But inverting the conditional jump as bart suggested should have at
least gotten you past that point.

> What else can I try?

Asking the vendor what the program is doing at that point so they can
offer suggestions.

--
Ryan Underwood, <nemesis@icequake.net>

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]