Rune Petersen writes:
 > The old drivers made the screen all white, to get it to work  I had to patch
 > the drivers so they didn't setup the LCD, an then use the VESA framebuffer
 > to setup the display.

Guess how I debugged the sis_bios.c code. I enabled the VESA
framebuffer, removed parts of the initialization in sis_bios.c
until I found the code that broke it.
This is a bit tricky. Most initialization functions in sis_bios.c
depend on variables set by the previous functions called. One cannot
just remove them at random but rather work his way up from the bottom.

As I said already: this funtion contains x86 BIOS code converted to C.
This is how this code looks like, too.
 > 
 > I have no experience in this but the VESA framebuffer (as far as I know)
 > uses the BIOS to setup the LCD and that works for me, any chance the same
 > can be done with these drivers?
 > or have I gotten it all wrong?
 > 

No, that's what will happen eventually. I will add code that simply
uses the BIOS to set video modes and make this the default.
sis_bios.c really isn't anything else.

Egbert.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to