From mboxrd@z Thu Jan 1 00:00:00 1970 From: "anon permutation" Subject: Re: Dos App hangs with DPMI / PIC problem Date: Thu, 16 Sep 2004 03:33:03 +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="us-ascii" Content-Transfer-Encoding: 7bit To: bartoldeman@users.sourceforge.net Cc: nemesis-lists@icequake.net, linux-msdos@vger.kernel.org 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... 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... 3. I tried d si+0x8 10 after the test statement. The value does not change. I checked it for 4 iterations. What else can I try? >From: Bart Oldeman >To: anon permutation >CC: nemesis-lists@icequake.net, linux-msdos@vger.kernel.org >Subject: Re: Dos App hangs with DPMI / PIC problem >Date: Wed, 15 Sep 2004 20:54:17 +1200 (NZST) > >On Wed, 15 Sep 2004, anon permutation wrote: > > > > > >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? > >in dosdebug type: > >e c316:903a 75 > >that will change the "je" to jne. I had to do something similar for >command keen 4, it was hanging in a very similar way. > >Bart >- >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 _________________________________________________________________ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement