public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Ryan Underwood <nemesis-lists@icequake.net>
To: anon permutation <anonpermutation@hotmail.com>
Cc: linux-msdos@vger.kernel.org
Subject: Re: Dos App hangs with DPMI / PIC problem
Date: Fri, 10 Sep 2004 11:16:25 -0500	[thread overview]
Message-ID: <20040910161625.GB30478@dbz.icequake.net> (raw)
In-Reply-To: <BAY15-F39YZMGN7Osdt000486a9@hotmail.com>


> 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, <nemesis@icequake.net>

       reply	other threads:[~2004-09-10 16:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BAY15-F39YZMGN7Osdt000486a9@hotmail.com>
2004-09-10 16:16 ` Ryan Underwood [this message]
2004-09-17  4:18 Dos App hangs with DPMI / PIC problem anon permutation
  -- strict thread matches above, loose matches on Subject: below --
2004-09-16 16:45 Stas Sergeev
2004-09-16  3:33 anon permutation
2004-09-16 20:01 ` Ryan Underwood
2004-09-15  4:49 anon permutation
2004-09-15  8:54 ` Bart Oldeman
2004-09-15 21:00   ` Ryan Underwood
2004-09-15 21:43     ` Bart Oldeman
2004-09-16 19:58       ` Ryan Underwood
2004-09-09  4:10 anon permutation
2004-09-09 15:02 ` Ryan Underwood
2004-09-09  3:28 anon permutation
2004-09-09  2:42 anon permutation
2004-09-08  9:54 anon permutation
2004-09-08 20:49 ` Ryan Underwood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040910161625.GB30478@dbz.icequake.net \
    --to=nemesis-lists@icequake.net \
    --cc=anonpermutation@hotmail.com \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox