Messages in this thread Patch in this message | | | Date | Mon, 10 Aug 1998 14:16:13 +0200 | From | Martin Mares <> | Subject | Re: 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
| |