diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-01-02 14:28:12 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-01-02 14:28:12 +0100 |
commit | 4c99789f58761063ee15175cd3110fd94a7f5686 (patch) | |
tree | 65eee605024d0489a394b8e92181c7e7cde8615d | |
parent | eb08d63b87296d5267506e9f6de820c3aaf8166d (diff) |
Strictly adhere to the VGA register convention
Not writing a value to the "enable display" register works for tested cards, but
Linux writes a 0, and you can never know what manufacturers think.
* console-client/vga-support.c (vga_exchange_palette_attributes): Write a
0 value to the "enable display" register.
-rw-r--r-- | console-client/vga-support.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/console-client/vga-support.c b/console-client/vga-support.c index dd4d099d..bce6f8e9 100644 --- a/console-client/vga-support.c +++ b/console-client/vga-support.c @@ -488,4 +488,5 @@ vga_exchange_palette_attributes (unsigned char index, operation. */ inb (VGA_INPUT_STATUS_1_REG); outb (0x20, VGA_ATTR_ADDR_DATA_REG); + outb (0x00, VGA_ATTR_ADDR_DATA_REG); } |