lkml.org 
[lkml]   [1996]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: VGA/Console stuff

> > Is there an easy kernel internal for determining the _physical_ scan lines
> > in the current video mode? (video_scan_lines is computed as
> > video_font_height * video_num_lines, it has no physical significance.)
> > Working on a console-beautification patch, needs to know if
> > physical_scan_lines%video_font_height==0.
> >
>
> If that information was available, we would use it! However, losing a
> couple of scans at the bottom is usually no biggie; the opposite is
> bad, though.

Here's the trick - those extra few scans are picking up stray text from
the console buffer and displaying their "top half". I could just patch to
unconditionally overwrite an extra line every time the console is
cleared/scrolled... but that seems lees than optimal...

Adam
--
He feeds on ashes; a deluded mind has led him Adam Bradley, UNCA Senior
astray, and he cannot deliver himself or say, Computer Science
"Is there not a lie in my right hand?" Isaiah 44:20
bradley@cs.unca..edu http://www.cs.unca.edu/~bradley <><


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.068 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site