Re: acorn32 console changes

Mike Pumford <[email protected]> Tue, 04 Mar 2008 20:14:34 +0000
Newsgroups gmane.os.netbsd.ports.acorn32
Message-ID <[email protected]>
Chris Gilbert wrote:
> FYI,
> 
> over the past few weeks I've been updating the acorn32 console code in 
> -current to hopefully improve it's usability.  Highlights include:
> * virtual console support added.  To enable make sure wscons=YES is in 
> your /etc/rc.conf, then use ctrl-alt-fx to switch console
> * colour console.  I've set the flag to indicate we can do colour on the 
> console
> * console scrollback. shift+page-up and shift+page-down should scroll 
> the console up and down
> * kernel messages are in green, so they stand out
> * the default font is the default NetBSD 8-pixel wide font, rather than 
> the sony one we previously used.
Much nicer. I'm glad I'm not the only one that hated the default WSCONS 
font choice for acorn32.
> * Console beep - fixed a 3 year old bug that stopped beep working on the 
> console.
:).
> One caveat is that I've not tested these changes with an X server yet, 
> so it's possible I might have broken something, but I'm hoping I haven't.
> 
I did try X but I got an unable to initialise framebuffer error. I 
wouldn't worry about that too much as I couldn't even guarantee that X 
was working with the last kernel I used.
> Changes were tested on an A7000+ and SA Risc-PC with 2MB VRAM at 800x600 
> in 8bpp colour.
> 
Working nicely here on a 1024x768 8bpp SA RiscPC (also with 2MB VRAM).

> Known issues:
> * 4bpp colour isn't working for some reason, need to investigate
> * scrollback only works after switching virtual console.
> 
I found the following. When running at 1024x768 I was able to scrollback 
  more lines than were available in the text buffer but I'm not sure if 
thats a general wscons scrollback feature or not.

I also see console beeps causing occasional glitching of the screen. 
However thats minor compared to the aurateconv error that used to be 
there. I never could figure out what caused that bug. :)

> Feedback (positive or negative :) would be good.
> 
Thanks for doing all this. Actually makes the console on acorn32 a 
pretty nice environment.