From: Bart Oldeman Subject: Re: regress in Dosemu Version 1.4.0 Rebel12 fails Date: Mon, 11 May 2009 13:17:32 -0400 Message-ID: References: <200905071740.35709.bernhard.bialas@t-online.de> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=sW3LV5KYD6vexztYMmcrGlOtyp4raSZuYdcTmpKhrz4=; b=a0vYLwnNxmVXpXYc5q+hotoJd/RpLYXDYdbFPMvnjGyIO1+U76H756OJ011GPUwtB2 Gy48ua+MPiKgPuBucu7jsObFnoRIGY/4HgTHXCdaGSRzqhsGySzXOVRUNJHxSxylfNz6 c4FGHYW/oTC1qluwCmfyHHVL5q5LlMvJavnX0= In-Reply-To: <200905071740.35709.bernhard.bialas@t-online.de> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Bernhard Bialas Cc: linux-msdos@vger.kernel.org 2009/5/7 Bernhard Bialas : > after long time =A0working with Dosemu 1.3.4 I have just updated to D= osemu > 1.4.0.1 and found the following regress =A0compared with !.3.4: > > 1. Chess program Rebel 12 fails with the message > > Interrupt 0CH Stack fault > Errorcode =3D0000, 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= =2E */ if (_esp > 0xffff && !Segments[_cs >> 3].is_32 && Segments[_ss >> 3]= =2Eis_32 && + Segments[_ss >> 3].type !=3D MODIFY_LDT_CONTENTS_STACK && _esp > GetSegmentLimit(_ss)) { D_printf("DPMI: ESP bug, esp=3D%#x, ebp=3D%#x, limit=3D%#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