From: Matan Ziv-Av (matan@svgalib.org)
Date: Thu 07 Jun 2001 - 23:01:00 IDT
Kevin D. Quitt wrote: > I'm compiling as follows: > > gcc -O2 ck.c -DSHOW=1 libvgagl.a libvga.a ckn.o -o cks > > It appears that no I/O writes or reads are taking place.The output from: > > outb( 0x14, 0x3D6 ); // Select XR14 > > stat = inb( 0x3D7 ) & 0x8F; // Enable VSYNC, Retrace, and HSYNC > outb( stat | 0x50, 0x3D7 ); > fprintf( report, "stat is %0X\n", stat ); > > is always 0.Are the compiler switches I need? You don't show the rest of the code - do you set io permissions correctly? Do you enable chips extensions? Patrick Mochel <mochel@transmeta.com> wrote: > What video registers are you trying to access? > > According to this book in front of me ("The Undocumented PC" by van > Gilluwe) those do nothing in relation to standard VGA. According to my documents, 3d6 is the address for chips and tech extended registers, so I assume this is the card used. -- Matan Ziv-Av. matan@svgalib.org ------------------------------------------------------------------ Unsubscribe: To: listbot@svgalib.org Body: unsubscribe linux-svgalib
This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:24 IST