Hi Ryan,

I have uploaded a complete log here:

http://sourceforge.net/tracker/index.php?func=detail&aid=1027805&group_id=49784&atid=457447


The other thing is that you can try patching the conditional jump
immediately after that comparison that never succeeds:
c316:9036 F64408FF         test    [si+0x8],0xff
c316:903a 7408             je      9044

how do i "patch" this jump?


From: Ryan Underwood <[EMAIL PROTECTED]>
To: anon permutation <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Dos App hangs with DPMI / PIC problem
Date: Fri, 10 Sep 2004 11:16:25 -0500


> Ryan, the dos app was designed for running on a MS-DOS machine that has no
> Windows on it. Since it is not meant for Linux, the vendor is not willing
> to support me in any way...


Maybe you should make some noise to his competitors...

> I also tried to attach dosdebug to dosemu before I start the Dos App. I
> was told that dosdebug will give a lot more information on the problem this
> way. However, dosdebug did not give me any extra info when the Dosemu hang.
>
> Thank you for helping me. What else can I try?


Well, the first thing I'm wondering is what int you are inside of in
that trace.  Eventually it does iret, but there was never an int that I
can see.  Was part of the trace omitted?

The other thing is that you can try patching the conditional jump
immediately after that comparison that never succeeds:
c316:9036 F64408FF         test    [si+0x8],0xff
c316:903a 7408             je      9044

The op code for jmp 9044 is EB08.  This will at least get you past this
while (foo != -1) situation, but it might just loop again or crash
afterwards.  You could also try printing the value at the memory
location si+0x8 when you arrive at that instruction to see if it ever
changes.

--
Ryan Underwood, <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

_________________________________________________________________
Don�t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to