Re: Pegasos frame buffer (was: map_isa_ioregs)

Tim Rightnour <[email protected]>
Newsgroups gmane.os.netbsd.ports.ofppc
Message-ID <[email protected]>
On 10-Nov-2007 Frank Wille wrote:
> Something useful. For example, when you type:
> 
>   280 1d0 40 10 fb8-install
> 
> ...it will set screen-width to 280 and screen-height to 1d0. But, on the
> other hand, screen-#columns remains 50 and is not set to 40!

Well.. thats actually rather useful.  You can get genfb somewhat working by
just issuing the fb8-install command, and *then* copy the screen-width and
screen-height values out with the copyprops() function.  (obviously you would
check first if they were zero, and if they are, then run fb8-install, that way
you can override it at the prom before boot).

That will give us a reasonable default that should work for genfb.

---
Tim Rightnour <[email protected]>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.