Subject: Re: rasops "attr"
To: Michael <>
From: Martin Husemann <>
List: tech-kern
Date: 05/23/2005 22:29:34
On Mon, May 23, 2005 at 01:16:50PM -0700, Bill Studenmund wrote:
> It would be nice to support at least the CGA color definitions which I 
> believe wscons supports.

The current rasops encoding for colour displays is 16 bit flags plus 2 x 8 bit
colour index, where the colour indices actually used are only 4 bits wide.

This does allow hardware drivers using this mode to store attributes in
32bit quantities, without loosing any functionality.