nanogui: Compile with DJGPP or MSC


Previous by date: 22 May 2011 19:54:31 -0000 Re: Compile with DJGPP or MSC, Greg Haerr
Next by date: 22 May 2011 19:54:31 -0000 Re: Compile with DJGPP or MSC, Greg Haerr
Previous in thread: 22 May 2011 19:54:31 -0000 Re: Compile with DJGPP or MSC, Greg Haerr
Next in thread: 22 May 2011 19:54:31 -0000 Re: Compile with DJGPP or MSC, Greg Haerr

Subject: Re: [nanogui] Compile with DJGPP or MSC
From: "Georg Potthast" ####@####.####
Date: 22 May 2011 19:54:31 -0000
Message-Id: <001401cc18ba$0e99b5c0$a900a8c0@SCHREIBTISCHGP>

I expanded Victor's makefiles which came with one version of 0.87 in the 
contrib/djgpp directory dated 24th of May 2000. The makefiles that come with 
versions 0.88 and above I could not get to run.

In version 0.92 the malpha demo did work, just the window title text was 
gone. The other samples which I qualified as not working just showed a black 
screen.

With 0.91 I did get 16bpp truecolor to work. So old drivers also supported 
truecolor! However, 24bpp and 32bpp truecolor did display the wrong colors. 
I do not know if this is caused by the grx20 library or Nano-X. Also the 
palette colors are not set properly, I have to look into that.

>You need to implement a direct memory mapping, or a blit driver entry point

I tried to write a new screen driver for DOS but that did not work yet. How 
do I implement a blit driver entry point? I would really like to do that. If 
I look at the screendevice structure, there is no entry point for a blit 
driver. E.g.:

SCREENDEVICE scrdev = {
0, 0, 0, 0, 0, 0, 0, NULL, 0, NULL, 0, 0, 0, 0, 0, 0,
gen_fonts,
X11_open,
X11_close,
X11_setpalette,
X11_getscreeninfo,
gen_allocatememgc,
gen_mapmemgc,
gen_freememgc,
gen_setportrait,
X11_update,
X11_preselect,
};

Regards

Georg 


Previous by date: 22 May 2011 19:54:31 -0000 Re: Compile with DJGPP or MSC, Greg Haerr
Next by date: 22 May 2011 19:54:31 -0000 Re: Compile with DJGPP or MSC, Greg Haerr
Previous in thread: 22 May 2011 19:54:31 -0000 Re: Compile with DJGPP or MSC, Greg Haerr
Next in thread: 22 May 2011 19:54:31 -0000 Re: Compile with DJGPP or MSC, Greg Haerr


Powered by ezmlm-browse 0.20.