Subject: Re: console, XFree and such
To: Martin Husemann <martin@duskware.de>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 01/06/2005 23:00:35
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

>> To overcome this I did a quick but hopefully not too dirty port of
>> macppc's ofb driver
>
> I'd realy prefer to fix any issues in the machfb driver (if there are  
> any),
> and add acceleration to it as well.

Ok, just had some time to kill so I had a look at XFree's ATI driver (  
because I couldn't find any Mach64/Rage3D docs anywhere ) and did some  
hacking.

I added proper colour map support, did some tweaks to make it look more  
like a Sun console ( read: black on white ) and added acceleration for  
copycols, copyrows, erasecols and eraserows. Not too well tested  
though. I'm not sure if it would be worth the trouble to accelerate the  
character drawing stuff as well ( having the font in off-screen video  
memory would be nice but we'd need a fallback in case there's not  
enough video RAM )
Anyway, it's QUITE a difference :)

A test kernel for Ultra 5 and 10 systems is here:
http://macallan.homeunix.org:6704/stuff/BSD/sparc64/ 
netbsd_Ultra10_mach.bz2
The keyboard bug is still present, but as far as I know someone is  
working on it.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBQd4JY8pnzkX8Yg2nAQIfwwgAqwc+SeXgb7AHMRtU2wcGitENP91TfSEi
iWrJLuE0J74/7u9jE4ja3rBPNe1UsptpUItg9H38Wk4zKa+qQm0aAQgOknfzOppf
Yefb5bjKMWSbNqWW2cWd8qtH0SmAOut/JPesyv0DsFgZH9SBMH+jIMvrYhkLK22f
pIlRsABt8mLExh7t8XoUmf/DaBUbOAEScniW5ZQJn4Yc4Zf9j38eH75il2kLzpgO
7hAo+WV0JEtmzzU0BmXGUTWxzsySRj37UkD5LYSAkmTQwPjrGo87F32VrOjw3b82
VRuOsBi8qisAiyQ8ViQPcR1RGE6WsYV2zXfi9CuXp6R7g508CavxUQ==
=32vr
-----END PGP SIGNATURE-----