From 1a4d5374c9f861e63aac92cedfea03a5f7d588be Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Fri, 21 Jun 2013 07:31:04 +0000 Subject: [PATCH] Console: bugfix for bright text colors git-svn-id: svn://kolibrios.org@3692 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/console/console.asm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/programs/develop/libraries/console/console.asm b/programs/develop/libraries/console/console.asm index ba5e0a06c..2941ffb44 100644 --- a/programs/develop/libraries/console/console.asm +++ b/programs/develop/libraries/console/console.asm @@ -977,28 +977,28 @@ con.write_special_char: jz .attr_bgr_color mov dl, 0x08 - cmp al, 100 + cmp al, 90 jz .attr_color mov dl, 4 + 8 - cmp al, 101 + cmp al, 91 jz .attr_color mov dl, 2 + 8 - cmp al, 102 + cmp al, 92 jz .attr_color mov dl, 6 + 8 - cmp al, 103 + cmp al, 93 jz .attr_color mov dl, 1 + 8 - cmp al, 104 + cmp al, 94 jz .attr_color mov dl, 5 + 8 - cmp al, 105 + cmp al, 95 jz .attr_color mov dl, 3 + 8 - cmp al, 106 + cmp al, 96 jz .attr_color mov dl, 7 + 8 - cmp al, 107 + cmp al, 97 jz .attr_color mov dl, 0x80