This commit is contained in:
parent
fcf6e745a7
commit
d450e1b402
|
@ -60,7 +60,7 @@ IoReadATA:
|
||||||
; rdx : the first sector to read ;
|
; rdx : the first sector to read ;
|
||||||
;-----------------------------------------------------------------------;
|
;-----------------------------------------------------------------------;
|
||||||
|
|
||||||
; Technical infos about the ports (Intel Doc):
|
; Technical info about the ports (Intel Doc):
|
||||||
;
|
;
|
||||||
; Port Access Mode Misc
|
; Port Access Mode Misc
|
||||||
;
|
;
|
||||||
|
|
|
@ -66,7 +66,7 @@ error_t bvgaflusher(Buffer_t *buf)
|
||||||
// Handle color codes
|
// Handle color codes
|
||||||
if (*ptr >= RtlColorToChar(VGA_COLOR_BLACK)
|
if (*ptr >= RtlColorToChar(VGA_COLOR_BLACK)
|
||||||
&& *ptr <= RtlColorToChar(VGA_COLOR_WHITE)) {
|
&& *ptr <= RtlColorToChar(VGA_COLOR_WHITE)) {
|
||||||
skip++; cols++; // 'cols' is for scrolling
|
skip++; cols++; // 'cols' (colors) is for scrolling
|
||||||
bfg = RtlCharToColor(*ptr);
|
bfg = RtlCharToColor(*ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,8 @@ int __ctype[] = {
|
||||||
/* 120 */ LW, LW, LW, PT, PT, PT, PT, CT,
|
/* 120 */ LW, LW, LW, PT, PT, PT, PT, CT,
|
||||||
};
|
};
|
||||||
|
|
||||||
static_assert(sizeof(__ctype) == 128 * sizeof(int), "ctype table - invalid size");
|
static_assert(sizeof(__ctype) == 128 * sizeof(int),
|
||||||
|
"ctype table: invalid size");
|
||||||
|
|
||||||
int tolower(int c)
|
int tolower(int c)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue