[lkml]   [1996]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Speeding up screen output for dialog
> Exactly, this is what I did first. I added a 256 byte buffer to 
> struct vt_struct, and added flush_chars() and put_char() calls to the console
> driver. This was already faster, but there were some things I didn't like.
> First, you could still watch the cursor jump from one 256 byte block to the
> next while the screen was redrawn.

If the speed problem is almost entirely due to moving the cursor,
you don't need to do any buffering, just keep track of the cursor
in software and sync the hardware in flush_chars().


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