Hi! Neat hardware :)
None of the existing drivers support planar modes, but your best bet is probably to use the linux framebuffer, the fbdev driver, and write a linear4p planar Video Base Library based on the linear1 VBL. The svgafb driver may be useful to you, but if you already have framebuffer support for the modes you want it's better to stick with that. Another option would be using a 256-color packed pixel mode. 8bpp planar wouldn't be any less troublesome than 4bpp planar. It's been a while since i did VGA programming, but i think there's a way to get a 320x240 (or maybe 320x400) 8bpp packed-pixel mode. Yet another option is to use a library that already supports 4bpp packed pixel. IIRC the vgagl library does. We stopped maintaining it a while back, but you could dig up the old vgagl driver for picogui out of CVS and fix it up. Hope that's helpful! -- Micah On 2002.01.07 08:23 Arnd Bergmann wrote: > Hi, > > I'm porting PicoGUI to some of our companies embedded platforms, but I > have a bit trouble with one device that has more or less just standard > VGA. > I wonder if graphics output is already supposed to be working on it. > The specific device (http://www.ssv-embedded.de/ssv/pc104/p26.htm ) > has a 320x240 16grey LCD that is supposed to be used as the upper left > corner of a 640x480 standard VGA controller. > > I already have a slightly patched Linux framebuffer driver working on > it, but > unfortunately, PicoGUI doesn't like the planar 4bpp mode of vga16fb. > Does any other graphics backend in pgserver support my hardware or do > I need to write a driver? > > If I need to write a driver, I could probably also use the planar 256 > color > mode (a.k.a. "mode X"), depending on what would be easier to write, > lower > overhead > or more beneficial for other PicoGUI users. > > Arnd <>< > > _______________________________________________ > Pgui-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/pgui-devel > _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
