From mboxrd@z Thu Jan 1 00:00:00 1970 From: "anon permutation" Subject: Re: Dos App hangs with DPMI / PIC problem Date: Wed, 15 Sep 2004 04:49:49 +0000 Sender: linux-msdos-owner@vger.kernel.org Message-ID: Mime-Version: 1.0 Return-path: List-Id: Content-Type: text/plain; format=flowed; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: nemesis-lists@icequake.net Cc: linux-msdos@vger.kernel.org Hi Ryan, I have uploaded a complete log here: http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1027805&group_= id=3D49784&atid=3D457447 >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 >To: anon permutation >CC: linux-msdos@vger.kernel.org >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= =20 >no > > Windows on it. Since it is not meant for Linux, the vendor is not=20 >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=20 >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 !=3D -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, >- >To unsubscribe from this list: send the line "unsubscribe linux-msdos" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html _________________________________________________________________ Don=92t just search. Find. Check out the new MSN Search!=20 http://search.msn.click-url.com/go/onm00200636ave/direct/01/