> > (2) vesa vga driver doen't work for say 1280x1024x16 or x 32 vgasize ( this 
> > machine's
> > vga card is ATI Radeon HD 4350(1002/954f).  the upper 1/4 part etc...
> 
> This is still problem.

there may be some magic overflow crt register bits that
could be set incorrectly.  i wonder about vga->crt[0x13].
my reading of the spec several years ago was that it needed

to be
        vga->crt[0x13] = (vga->virtx*mode->z)/64;       
not
        vga->crt[0x13] = ((vga->virtx*mode->z)/8);

this produces output like the table here
http://wiki.osdev.org/VGA_Hardware.  but i never finished
testing this.

also, crt[0x18] should be set to 0x3ff, not that it matters.
the extra bit is just ignored.
(see http://www.osdever.net/FreeVGA/vga/crtcreg.htm)

- erik

Reply via email to