From: Maurice Lombardi Newsgroups: comp.os.msdos.djgpp Subject: Re: NEED HELP WITH GRX Date: Thu, 16 Mar 2000 23:29:27 +0100 Organization: Universite Joseph Fourier - Grenoble 1 Lines: 39 Message-ID: <38D16047.3C9F9A95@ujf-grenoble.fr> References: <38D0C9F8 DOT 40BECC63 AT ujf-grenoble DOT fr> <8aqsuf$42fh4$1 AT fu-berlin DOT de> NNTP-Posting-Host: knautie.ujf-grenoble.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: amazone.ujf-grenoble.fr 953246158 87517 193.54.234.27 (16 Mar 2000 22:35:58 GMT) X-Complaints-To: abus AT ujf-grenoble DOT fr NNTP-Posting-Date: 16 Mar 2000 22:35:58 GMT X-Mailer: Mozilla 4.7 [fr] (Win98; U) X-Accept-Language: fr,it,en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Dieter Buerssner a écrit : > > Maurice Lombardi wrote: > > >Well... I have applied the two patches, compiled (no more error message) > >and run the tests contained in the grx23/test subdirectory. Three tests > >fails with a SIGSEGV error: blittest, curstest, and imgtest. Using rhide > >I find that the error in curstest is in the function __GR_shift_scanline > >contained in grx23/src/utils/shifscl.c, in the asm section which has > >been patched with patgrx23.diff. I cannot say more since I know > >absolutely nothing about AT&T assembly syntax. Anybody knows ??? > > This may be unrelated, but have you also applied the update patches > that can be found on the grx home page? no but applying them changes nothing > I didn't apply any offical patches to shiftscl.c, but rather tried > the patch I append. The test programs you mention seem to work here > in a full screen DOS window in 16 color mode (and in other color modes > as weel, but I think, then that function won't be used) with the > VESA driver. One other change I made, that could be related, is > to set the optimization options to -O only (but I kept > -fomit-frame-pointer). OK, It works now with your patch (even with -O6, and 256 or 64k colors), but I need to apply the other patches of Ian Miller contained in patgrx23.diff and grx23asm.diff referred to in the DJGPP FAQ (8.17) (otherwise it does not compile). Thanks ! -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 51 45 44 mailto:Maurice DOT Lombardi AT ujf-grenoble DOT fr