lkml.org 
[lkml]   [1998]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: std VGA text console funnies
> That helped quite a bit, actually.  I still see some corruption, but not
> nearly as much as before.

Please try this patch in addition to enabling SLOW_VGA.

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"Mr. Worf, scan that ship." "Aye, Captain... 300 DPI?"


--- drivers/video/vgacon.c.mj Mon Aug 10 14:14:26 1998
+++ drivers/video/vgacon.c Mon Aug 10 14:15:50 1998
@@ -144,10 +144,14 @@
outw(v1, vga_video_port_reg);
outw(v2, vga_video_port_reg);
#else
+ unsigned long flags;
+
+ save_flags(flags); cli();
outb_p(reg, vga_video_port_reg);
outb_p(val >> 8, vga_video_port_val);
outb_p(reg+1, vga_video_port_reg);
outb_p(val & 0xff, vga_video_port_val);
+ restore_flags(flags);
#endif
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

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