Mail Archives: djgpp/1995/11/09/04:02:21
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:3126
|
Path: | news-dnh.mv.net!mv!news.sprintlink.net!news.inc.net!news.sol.net!daily-planet.execpc.com!news.moneng.mei.com!news.ecn.bgu.edu!vixen.cso.uiuc.edu!uwm.edu!chi-news.cic.net!newsfeed.internetmci.com!in2.uu.net!EU.net!Austria.EU.net!newsfeed.ACO.net!fuw.edu.pl!news.nask.org.pl!sunrise.pg.gda.pl!loqi15.elka.pg.gda.pl!krzsam
|
From: | Krzysztof Samplawski <krzsam AT loqi15 DOT elka DOT pg DOT gda DOT pl>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: graphics and dpmi for djgpp
|
Date: | Wed, 8 Nov 1995 17:17:36 +0100
|
Organization: | Politechnika Gdanska
|
Lines: | 34
|
References: | <47o3af$j2u AT aglaia DOT forthnet DOT gr>
|
Nntp-Posting-Host: | loqi15.elka.pg.gda.pl
|
To: | djgpp AT sun DOT soe DOT clarkson DOT edu
|
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp
|
On 7 Nov 1995 than AT alphanet DOT gr wrote:
> hi there,
> i'm working with gcc 2.63 (djgpp 1.12maint3)
>
> i get protection faults working with the following:
>
> code goes like this:
> ---------------------------------------------------------------
> GrSetMode(...); // fine i get my graphics mode
> GrLine(0,0,100,100,GrWhite()); // protection fault (***)
> GrSetMode(GR_default_text); // ok returns back in text mode.
> ---------------------------------------------------------------
>
> after some days of testing (i get the same results both with
> -lgr and -lgrx) i found out that the problem really is in the
> DPMI memory interface
>
> is there any workaroud?
Answer is simple: NO !
libgr and libgrx don't work under DPMI ( in djgpp 1.xx )
develop your software under DPMI, but run it without DPMI.
if you want running graphics under DPMI, think about
upgrading djgpp to V2 ( still Beta :-(( )
Krzysztof Samplawski
krzsam AT loqi01 DOT elka DOT pg DOT gda DOT pl
c52961ks AT roger01 DOT elka DOT pg DOT gda DOT pl
- Raw text -