[ECOS] Screen funzies?

Gary Thomas gary@mlbassoc.com
Sun Apr 4 21:14:00 GMT 2004

Chuck McManis said:
> Can anyone tell me how to create a linear frame buffer area for my video
> card? (Its a Riva TNT2 if that helps) (PC platform, no special imports)

First of all you have to convince the chip to go into that mode.  Sorry,
but I don't know how it's done  (programming VGA-esque chips is an archane
art, left only to wizards).  Of course, the details of this may be different
from device to device (the TNT2 might be different from even a TNT1!)

Once that's done, just use it - eCos provides a simple, flat, address
space.  Since this is most likely a PCI device, you may need to do some
PCI magic to figure out where it's been mapped, etc.  Look at some PCI
drivers for ideas on how to do this.  Examples are:

Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

More information about the Ecos-discuss mailing list