Linux MS DOS discussions
 help / color / mirror / Atom feed
* regress in  Dosemu Version 1.4.0 Rebel12 fails
@ 2009-05-07 15:40 Bernhard Bialas
  2009-05-11 17:17 ` Bart Oldeman
  0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Bialas @ 2009-05-07 15:40 UTC (permalink / raw)
  To: linux-msdos

Hello,
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 

2.Chess program Vchess fails with the same message like above

 INTERRUPT 0CH, STACK FAULT
error code = 0000
eax = 0000000C      esi = 000000EF      flags = 3046        ds = 00E7
ebx = F000E987      edi = 0010DAB8      eip = 00004476      es = 00E7
ecx = FFFFFF09      ebp = 00187E30      cs = 00AF           fs = 0000
edx = 0002CDB6      esp = 00007D70      ss = 00DF           gs = 0000
F:\vchess>
   
The difference between the both cases is, that after the crash of Rebel 12 
also dosemu crashes, after the crash of Vchess the dosemu still works

In Dosemu 1.3.4 the Rebel12 was working (with some mouse problems, but it was 
possible to play games.
With Vchess I can play a game without using the mouse, moving the mouse dosemu 
crashes (as far I remember, Stass Sergejev has made a patch for it, I should 
have anywhere.

Big question:
is there somebody who can fix this issue?

Best regards
Bernhard Bialas                                                                                               

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: regress in Dosemu Version 1.4.0 Rebel12 fails
  2009-05-07 15:40 regress in Dosemu Version 1.4.0 Rebel12 fails Bernhard Bialas
@ 2009-05-11 17:17 ` Bart Oldeman
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Oldeman @ 2009-05-11 17:17 UTC (permalink / raw)
  To: Bernhard Bialas; +Cc: linux-msdos

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-11 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-07 15:40 regress in Dosemu Version 1.4.0 Rebel12 fails Bernhard Bialas
2009-05-11 17:17 ` Bart Oldeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox