lkml.org 
[lkml]   [2005]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Screen regen buffer at 0x00b8000
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-20 22:21    [W:0.074 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site