Re: Screen regen buffer at 0x00b8000

From: Richard B. Johnson
Date: Fri May 20 2005 - 15:19:30 EST


On Fri, 20 May 2005, Linus Torvalds wrote:



On Fri, 20 May 2005, Richard B. Johnson wrote:

Why can't I consistantly write to the VGA screen regen buffer
and have it appear on the screen????

Don't do it.


Well I started out opening /dev/vcs, lseeking to 64, and writing
a string. This "sort of" worked, but screen attributes got messed
up so the "blue" screen attribute 0x17 ended up eventually being
black.

So, I decided to directly write. It doesn't work as you explain
because hardware scroll is being used.


Anyway, you really _really_ shouldn't do anything like this in the first
place.

Linus


Yes, and I didn't want to. However a customer wants some status to
be always displayed in the upper-right-hand corner of a 4x5 LCD
with a tiny CPU board.


Cheers,
Dick Johnson
Penguin : Linux version 2.6.11.9 on an i686 machine (5554.17 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/