]> xenbits.xensource.com Git - seabios.git/commitdiff
Set the color attribute when calling vgabios print character.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 6 Apr 2014 01:45:27 +0000 (21:45 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 11 Apr 2014 15:26:23 +0000 (11:26 -0400)
Set the color attribute in case the SeaBIOS console code is used while
the vgabios is in a graphics mode.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/output.c

index 994a1d6190c71465c67ea9f629aa907f3d511f6a..45397b3f6da205c42f6241f6da3654a6f4581310 100644 (file)
@@ -76,6 +76,7 @@ screenc(char c)
     br.flags = F_IF;
     br.ah = 0x0e;
     br.al = c;
+    br.bl = 0x07;
     call16_int(0x10, &br);
 }