Skip to contentSkip to conversation

regress in Dosemu Version 1.4.0 Rebel12 fails

DISCUSSION Bernhard Bialas 2 participants 2 messages May 7, 2009 – May 11, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

2009/5/7 Bernhard Bialas <[email protected]>:

Quoted 7 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html