[SeaBIOS] [PATCH 6/7] Set the color attribute when calling vgabios print character.
Kevin O'Connor
kevin at koconnor.net
Mon Apr 7 01:00:41 CEST 2014
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 at koconnor.net>
---
src/output.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/output.c b/src/output.c
index 994a1d6..45397b3 100644
--- a/src/output.c
+++ b/src/output.c
@@ -76,6 +76,7 @@ screenc(char c)
br.flags = F_IF;
br.ah = 0x0e;
br.al = c;
+ br.bl = 0x07;
call16_int(0x10, &br);
}
--
1.9.0
More information about the SeaBIOS
mailing list