Subject: Re: rasops "attr"
To: Michael <macallan18@earthlink.net>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 05/23/2005 10:27:52
--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 23, 2005 at 10:12:07AM -0400, Michael wrote:
>=20
> And wouldn't uint16_t ( or probably wchar_t ) be enough for characters?
> So far we don't use more than 8bit anyway.

Well, isn't wchar_t 32-bits on most architectures (36 on pdp10)? :-)

Also, are the attributes stored in-line with the caracters, or in a=20
separate array? i.e. do we have struct charinfo {wchar_t char, attr}=20
screensworth[x*y]; or do we have wchar_t chars[x*y], attrs[x*y]. If we=20
have the former, it's better to just use whatever size is used for the=20
characters.

Take care,

Bill

--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFCkhKYWz+3JHUci9cRAjv/AJ4uhPixsp82uBAKB81nVGo/zXYD2ACfUVaV
r5Ta50NeB0ivHjN0xnM50Wo=
=aF6s
-----END PGP SIGNATURE-----

--vtzGhvizbBRQ85DL--