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) {