From: TC (svgalib@conleyfamilyonline.org)
Date: Sat 20 Jan 2001 - 23:28:00 IST
OK. I am narrowing this down. vga_hasmode(G320x240x256) returns true. But when I use the following code, it seems that I get both horizontal and vertical scrolling. I am using the VESA driver. G320x200x256 and G640x480x256 work just fine. Any ideas? TC #include <stdlib.h> #include <vga.h> int main(void) { int i; vga_init(); if(!vga_hasmode(G320x240x256)) { printf("Mode not supported.\n"); return 1; } vga_setmode(G320x240x256); vga_setpalette(100, 63, 0, 0); vga_setcolor(100); for(i=0;i<200;i++) vga_drawline(0,i,200,i); sleep(3); vga_setmode(TEXT); return 0; } ------------------------------------------------------------------ Unsubscribe: To: listbot@svgalib.org Body: unsubscribe linux-svgalib
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:23 IST