delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/17/02:20:56

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: CWSDPMI problem with Allegro Was:Problems with Allegro (followup)
Date: 17 May 1997 05:09:22 GMT
Organization: The National Capital FreeNet
Lines: 31
Message-ID: <5ljei2$bvl@freenet-news.carleton.ca>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970515191128 DOT 10056K-100000 AT is> <337C0144 DOT 528C AT eik DOT bme DOT hu>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet3.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

"Dr. Andras Sólyom" (solyom AT eik DOT bme DOT hu) writes:
> Eli Zaretskii wrote:
>> 
>> On Wed, 14 May 1997, Dr. Andras Sólyom wrote:
>> If your conclusion is that CWSDPMI is responsible for the crashes, I would
>> suggest to look into this a bit more.  CWSDPMI is much less tolerant to
>> certain violations of DPMI rules than most other DPMI hosts, so it
>> sometimes aborts your program when other hosts let it get away.  
> 
> It does not simply aborts my program, but it hangs the machine
> completetly. Furthermore if my memory serves right the cr2 register can
> only be set/modified by a ring 0 instruction, and I think that my
> program will not run in ring 0.
> Am I right?
>> 
>> If you do think that CWSDPMI has a bug, I suggest to write to Charles
>> Sandmann <sandmann AT clio DOT rice DOT edu> and tell him about the problem (please
> That's a valuable suggestion I should have thought it myself... Thanks
> 
> 					Andras


Sub CWSDPR0 for CWSDPMI.EXE (keep the latter as CWSDPMI.BAK) and your
program will run in ring 0.

--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019