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 <[EMAIL PROTECTED]> 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.                         [EMAIL PROTECTED]





------------------------------------------------------------------
Unsubscribe:  To:   [EMAIL PROTECTED]
              Body: unsubscribe linux-svgalib

Reply via email to