|
From: Petr V. <VAN...@vc...> - 2001-06-14 19:26:56
|
On 14 Jun 01 at 21:51, Matan Ziv-Av wrote:
> On Thu, 14 Jun 2001, James Simmons wrote:
> > So basically I need a vga_ops struct that defines functions to access the
> > vga_region. Have any ideas what is needed? How is the linear aperture
> > arranged differently?
>
> In vga:
> char[n] is at mem[2n]
> attribute[n] is at mem[2n+1]
>
> In nv3, linear aperture:
> char[n] is at mem[8n]
> attribute[n] is at mem[8n+1]
On Matrox it is almost same, only constant differs. There are defined
FB_AUX_TEXT_MGA_STEP8 and FB_AUX_TEXT_MGA_STEP16. Millennium1 and
G-series use STEP16, Mystique and MillenniumII use STEP8 ... nv3 driver
should use STEP8 - maybe after creating FB_AUX_TEXT_STEP8 and
obsoleting *_MGA_* values.
Petr Vandrovec
van...@vc...
|