[lkml]   [1996]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectVGA blanker patch
    Hi guys.

    The attached short patch changes the screen blanker for VGA-alike consoles
    slightly. This makes hiding the cursor work on my Hercules mono card;
    previously it just moved the cursor to the top left corner and left it
    there, which was irritating. It doesn't seem to do any harm on my SVGA
    card either, but other people should probably check it out. Assuming no
    cards are broken by this, I think it would be a good idea to incorporate
    it into the standard kernel.

    --- clean-linux/linux/drivers/char/vga.c Tue May 14 00:05:44 1996
    +++ linux/drivers/char/vga.c Wed Sep 25 18:25:11 1996
    @@ -111,9 +111,9 @@
    but perhaps the delays due to the inefficiency are useful for
    some hardware... */
    outb_p(14, video_port_reg);
    - outb_p(0xff&((video_mem_term-video_mem_base)>>9), video_port_val);
    + outb_p(0xff&((video_mem_term-video_mem_base-1)>>9), video_port_val);
    outb_p(15, video_port_reg);
    - outb_p(0xff&((video_mem_term-video_mem_base)>>1), video_port_val);
    + outb_p(0xff&((video_mem_term-video_mem_base-1)>>1), video_port_val);


     \ /
      Last update: 2005-03-22 13:37    [W:0.016 / U:6.256 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site