Am Montag, 7. Januar 2002 17:04 schrieben Sie: > 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. Ok, I'll try that then.
> 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. I thought so too, but about one day of web research found nothing useful, even svgalib can't do that on standard VGA hardware, so I guess nonstandard packed pixel modes only work with hardware specific SVGA drivers. Even when telling the card to use a 128kb frame buffer (0xa0000-0xbffff), it still copies the upper 40 lines to the lower part of the screen. OTOH, now that I think about it, there /might/ be a 4bpp packed pixel mode for 320x240. Have you heard about something like that? Arnd <>< _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
