This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Screen funzies?
- From: "Gary Thomas" <gary at mlbassoc dot com>
- To: "Chuck McManis" <ecos at mcmanis dot com>
- Cc: "ECOS Discussion Group" <ecos-discuss at sources dot redhat dot com>
- Date: Sat, 3 Apr 2004 21:58:34 -0700 (MST)
- Subject: Re: [ECOS] Screen funzies?
- References: <6.0.0.22.2.20040403202349.025db7a8@66.125.189.29>
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:
devs/eth/intel/...
hal/arm/xscale/uE250/.../src/uE250_ide.c
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss