delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/10/12:09:09

From: Gautier DOT DeMontmollin AT maths DOT unine DOT ch (Gautier)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: OpenDos acting up...
Message-ID: <1997Jul10.100830.6087@news>
Date: 10 Jul 97 10:08:30 MET
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970709104642 DOT 16266O-100000 AT is>
Reply-To: Remove_this DOT Gautier DOT deMontmollin AT maths DOT unine DOT ch
Organization: University of Neuchatel, Switzerland
Lines: 32
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>> 	I just got DJGPP and emacs and I'm trying to get them to run under
>> OpenDOS, but OpenDOS just doesn't want to cooperate.  It keeps on
>> crashing.  It sais that EMM386 has found an illegal opcode, shows me the
>> contents of all my registers and wants me to reboot.
 
> It seems that EMM386 from OpenDOS has problems, at least as far as 32-bit 
> protected mode is concerned.  I've heard such reports from users that 
> told me their problems went away once they booted native MS-DOS.  In one 
> of the recent reports, a user tried to compile GCC, but Make was crashing 
> half-way through the build process because apparently EMM386 was leaking 
> memory (the free RAM consistently went down); after the crash, only a 
> reboot would make the system stable again.

The problem is actually with the DPMI built in OpenDOS' EMM386.
Once you turn that DPMI server down, all DJGPP programs (GCC itself,
MAKE, GNAT (the Ada compiler which uses GCC's back-end), GNATMAKE,
the game QUAKE, etc.) launch the DPMI server which comes with DJGPP:
CWSDPMI, as they would do under MS-DOS (MS-DOS hasn't a DPMI server...).
All these program work fine under OpenDOS once the built-in DPMI is off
(DPMI=OFF as parameter for EMM386 in config.sys). 

The reason, one says, is that OpenDOS' DPMI is a v0.9 DPMI and
the GCC programs use v1.0 features; the problem should disappear
in the next version of OpenDOS.

-- 
Gautier

--------
Homepage: http://www.unine.ch/math/Personnel/Assistants/Gautier/Montmollin.html
Software: http://www.unine.ch/math/Personnel/Assistants/Gautier/Gaut_FTP.htm

- Raw text -


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