From d450e1b4021cb6e136d2701db130613a3a84f6f3 Mon Sep 17 00:00:00 2001 From: Julian Barathieu Date: Thu, 9 Jan 2020 12:55:19 +0100 Subject: [PATCH] up --- kaleid/kernel/io/ata.asm | 2 +- kaleid/kernel/io/vga.c | 2 +- kaleid/libc/ctype.c | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/kaleid/kernel/io/ata.asm b/kaleid/kernel/io/ata.asm index b1bf8f9..40dcc08 100644 --- a/kaleid/kernel/io/ata.asm +++ b/kaleid/kernel/io/ata.asm @@ -60,7 +60,7 @@ IoReadATA: ; rdx : the first sector to read ; ;-----------------------------------------------------------------------; -; Technical infos about the ports (Intel Doc): +; Technical info about the ports (Intel Doc): ; ; Port Access Mode Misc ; diff --git a/kaleid/kernel/io/vga.c b/kaleid/kernel/io/vga.c index 6e4919f..e02041d 100644 --- a/kaleid/kernel/io/vga.c +++ b/kaleid/kernel/io/vga.c @@ -66,7 +66,7 @@ error_t bvgaflusher(Buffer_t *buf) // Handle color codes if (*ptr >= RtlColorToChar(VGA_COLOR_BLACK) && *ptr <= RtlColorToChar(VGA_COLOR_WHITE)) { - skip++; cols++; // 'cols' is for scrolling + skip++; cols++; // 'cols' (colors) is for scrolling bfg = RtlCharToColor(*ptr); } diff --git a/kaleid/libc/ctype.c b/kaleid/libc/ctype.c index 4dcf7b2..f0482d4 100644 --- a/kaleid/libc/ctype.c +++ b/kaleid/libc/ctype.c @@ -58,7 +58,8 @@ int __ctype[] = { /* 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) {