mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2006-12-13 Alexey Shamrin <shamrin@gmail.com>
PR 1189/bsps * console/outch.c: If you print a character with the code larger than 127 (extended ASCII) to the VGA console, then it blinks. The reason: char == signed char, so such characters get represented by negative numbers. The sign bit then goes to attribute byte, resulting in the blinking.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2006-12-13 Alexey Shamrin <shamrin@gmail.com>
|
||||
|
||||
PR 1189/bsps
|
||||
* console/outch.c: If you print a character with the code larger than
|
||||
127 (extended ASCII) to the VGA console, then it blinks. The reason:
|
||||
char == signed char, so such characters get represented by negative
|
||||
numbers. The sign bit then goes to attribute byte, resulting in the
|
||||
blinking.
|
||||
|
||||
2006-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.ac: New BUG-REPORT address.
|
||||
|
||||
@@ -141,7 +141,7 @@ videoPutChar(char car)
|
||||
return;
|
||||
}
|
||||
default: {
|
||||
*pt_bitmap = car | attribute;
|
||||
*pt_bitmap = (unsigned char)car | attribute;
|
||||
advanceCursor();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user