Page 1 of 1

vesa questions

Posted: Mon Jun 24, 2002 11:00 pm
by Stefan
What is vesa framebuffer ... I have nVida Vanta 32MB witch support VESA 3.0
When I found the PMInfoBlock, there was this address e2000000 witch is a framebuffer. What is this framebuffer for? ... Is it just like a buffer where I can put values, and after that pixels apear on the screen? ... I know that I must allocate for this drive an segment descriptor in GDT or LDT before using!
What is VESA function 0x0a? It is something for PM imterface, but I don't get it!

RE:vesa questions

Posted: Mon Jun 24, 2002 11:00 pm
by carbonBased
I wrote a chapter on VESA 2.0 (which is what you're using) Linear Frame Buffer and Protected Mode Interface for a DJGPP book which was, unfortunately, never published.  I believe I've still got it online, though...

Yep... check out http://www.execulink.com/~psweeks/tut/chapter.html

The VESA stuff is near the end.

In short, though, yes, the frame buffer is the linear equivalent to your 0xA000 interface.  You can access _all_ of your cards memory through that, without the need for banking.

Granted, I wrote that chapter years ago... (I think I was 16 at the time!), but the info is still current and relavent, so you should be able to get something up and running with it.

If you need more help, just let me know,
Jeff

RE:vesa questions

Posted: Tue Jun 25, 2002 11:00 pm
by Stefan
Thanks!