From: Brion Vibber (brion@pobox.com)
Date: Mon 13 Jul 1998 - 23:43:58 IDT
Well, that patch didn't quite work for me. I get this error: /usr/src/svgalib-1.3.0.new/src/lrmi.c:29: i386/syscall.h: No such file or directory /usr/src/svgalib-1.3.0.new/src/lrmi.c: In function `__svgalib_vm86old': /usr/src/svgalib-1.3.0.new/src/lrmi.c:52: `__NR___svgalib_vm86old' undeclared (first use this function) /usr/src/svgalib-1.3.0.new/src/lrmi.c:52: (Each undeclared identifier is reported only once /usr/src/svgalib-1.3.0.new/src/lrmi.c:52: for each function it appears in.) /usr/src/svgalib-1.3.0.new/src/lrmi.c:52: warning: `__res' might be used uninitialized in this function make[1]: *** [lrmi.o] Error 1 make[1]: Leaving directory `/usr/src/svgalib-1.3.0.new/sharedlib' make: *** [sharedlib/libvga.so.1.3.0] Error 2 I'm using Red Hat 5.1 and kernel 2.0.35pre5. I made a couple of changes that seem to have it working, I'm attaching a patch relative to the 1.3.0 release. It includes the changes of the previous patch but removes #include <i386/syscall> (which I don't have), does #include <errno.h>, appropriately renames the syscall with a __NR_ prefix instead of SYS_, and removes -fPIC from the DLLFLAGS to fix the register spill. Also, the VESA driver almost but not quite works on my Canopus Total3d 128V (PCI). The left half (about) of the screen shows every other 8 pixels, and the right half shows the left and right quarters or so of the left half repeated. Something like this: (Normal scan line would be this - each digit is 8 pixels) 0123456789ABCDEFGHIJKLMNOPQRSTUV (But it looks like this) 02468ACEGIKMOQSU0246OQSU0246OQSU The NV3 driver doesn't work at all for me - it segfaults, apparently when asking the plain VGA driver to fill out the mode structures (!). I'll look into this further if I can figure out gdb enough to get something more useful out of it. -- brion vibber (brion@pobox.com)
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:22 IST