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

---------------------------------------------------------------------
To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org
For additional commands, e-mail: nanogui-h...@linuxhacker.org

Reply via email to