From 0b05db72cf9d992796d74ba178ffcd1811fdf5b8 Mon Sep 17 00:00:00 2001 From: Sir Richard Date: Tue, 23 Nov 2010 16:50:35 +0000 Subject: [PATCH] [ARMLLB]: Although the soothing BSOD blue color is nice for LLB debugging, we'd really prefer to have black so it looks more natural on the eyes when booting to FreeLoader. As such, make the default backcolor black, but keep the old blue color for early testing, if enabled with a define. svn path=/trunk/; revision=49742 --- reactos/boot/armllb/hw/video.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/reactos/boot/armllb/hw/video.c b/reactos/boot/armllb/hw/video.c index 3e3179aa404..2ee37eb9527 100644 --- a/reactos/boot/armllb/hw/video.c +++ b/reactos/boot/armllb/hw/video.c @@ -326,7 +326,11 @@ LlbVideoClearScreen(IN BOOLEAN OsLoader) else { /* Deep blue */ +#ifdef BLUE_SCREEN BackColor = LlbHwVideoCreateColor(14, 0, 82); +#else + BackColor = LlbHwVideoCreateColor(0, 0, 0); +#endif BackColor = (BackColor << 16) | BackColor; } @@ -346,8 +350,12 @@ LlbVideoPutChar(IN UCHAR c) { ULONG cx, cy, CharsPerLine, BackColor, ScreenWidth; - /* Forecolor on this machine */ - BackColor = LlbHwVideoCreateColor(14, 0, 82); + /* Backcolor on this machine */ +#ifdef BLUE_SCREEN + BackColor = LlbHwVideoCreateColor(14, 0, 82); +#else + BackColor = LlbHwVideoCreateColor(0, 0, 0); +#endif /* Amount of characters in a line */ ScreenWidth = LlbHwGetScreenWidth();