www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/18/15:10:14

From: Ilya Ryzhenkov <orangy AT inetlab DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: MESA/OpenGL used with DJGPP
Date: Mon, 19 Oct 1998 01:41:32 +0600
Organization: iNetLab
Lines: 43
Distribution: world
Message-ID: <362A446C.FB3E9105@inetlab.com>
References: <362a2c73 DOT 0 AT feed1 DOT realtime DOT net>
NNTP-Posting-Host: ppp3.isp.nsc.ru
Mime-Version: 1.0
X-Mailer: Mozilla 4.03 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi!

John Burch wrote:
> I downloaded the MESA-3.0 package, hoping to use it to accelerate my DJGPP
> code on cards that support the openGL functions. I've seen a lot of messages
> here that have given me the idea it is impossable to do that with DJGPP in
> dos.
I downloaded the whole MGL lib, and after fixing few makefiles was able
to 
compile.
 
> However, the Mesa package comes with DJ makefiles, so that tells me it can be
> done.  I tried to compile the mesa libs, but got a lot of errors such as
> these:
It compiled well for me with slightly changed native makefiles and djgpp
v2.02 
(gcc 2.8.1) except that include/mgl/mglver.h file was missed from the
package 
for some reason. However it seems that it doesn't conatain any vital
information,
so it compiled. But was failed to work ;)
The problem seems to be in pmode lib, which uses (seems to) incompatible
with djgpp
usage of DPMI host. It doesn't use native djgpp DPMI funcs except one -
enable near ptr - which itself can cause problems ... Instead, it issues
direct
0x33 interrupts and seems to be inaccurate.

> Has anyone compiled this on DJ 2 , gcc 2.8.1 ?  The errors mean, to me, that
> either this  DJGPP or Mesa version is incompatible with the other.
I'm working extensively on djgpp port of MGL (i use it as a test project
for DLMs
http://www.iis.nsk.su/orangy/dlm/) and plan to contact SciTech Soft
to work in coord. If you wish to help, email me. There also will
separate
hell with porting MGL to support not only dos host, but also windows
host
under djgpp with RSXNTDJ, but this is plans for far future.

============================
Ilya P. Ryzhenkov aka Orangy
E-mail : orangy AT inetlab DOT com
   ICQ : 17942172

- Raw text -


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