From: Bart Oldeman <bartoldeman@users.sourceforge.net>
To: Bernhard Bialas <bernhard.bialas@t-online.de>
Cc: linux-msdos@vger.kernel.org
Subject: Re: regress in Dosemu Version 1.4.0 Rebel12 fails
Date: Mon, 11 May 2009 13:17:32 -0400 [thread overview]
Message-ID: <c3d607cc0905111017r45dcef63qe3f09d1dbe71f6de@mail.gmail.com> (raw)
In-Reply-To: <200905071740.35709.bernhard.bialas@t-online.de>
2009/5/7 Bernhard Bialas <bernhard.bialas@t-online.de>:
> after long time working with Dosemu 1.3.4 I have just updated to Dosemu
> 1.4.0.1 and found the following regress compared with !.3.4:
>
> 1. Chess program Rebel 12 fails with the message
>
> Interrupt 0CH Stack fault
> Errorcode =0000, with the some additional information
Hello Bernhard,
I only tested with Rebel Decade, but it may be the same problem.
Current SVN has a fix, or you can change
in src/dosext/dpmi/dpmi.c:
@@ -3412,6 +3412,7 @@
but that method is unreliable for 32-bit DOSEMU on x86-64 kernels.
*/
if (_esp > 0xffff && !Segments[_cs >> 3].is_32 && Segments[_ss >> 3].is_32 &&
+ Segments[_ss >> 3].type != MODIFY_LDT_CONTENTS_STACK &&
_esp > GetSegmentLimit(_ss)) {
D_printf("DPMI: ESP bug, esp=%#x, ebp=%#x, limit=%#lx\n",
_esp, _ebp, GetSegmentLimit(_ss));
Let me know if it works for you.
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
prev parent reply other threads:[~2009-05-11 17:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-07 15:40 regress in Dosemu Version 1.4.0 Rebel12 fails Bernhard Bialas
2009-05-11 17:17 ` Bart Oldeman [this message]
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=c3d607cc0905111017r45dcef63qe3f09d1dbe71f6de@mail.gmail.com \
--to=bartoldeman@users.sourceforge.net \
--cc=bernhard.bialas@t-online.de \
--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