diff --git a/kern.img b/kern.img index 835c4c9..fa2b04d 100644 Binary files a/kern.img and b/kern.img differ diff --git a/kernel/kernel.c b/kernel/kernel.c index 4f880e0..b77af8e 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #define PROMPT "#>" diff --git a/libc/include/color.h b/libc/include/color.h deleted file mode 100644 index b303c8f..0000000 --- a/libc/include/color.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef COLOR_H -#define COLOR_H - -#define BLACK 0x00000000 // 0 -#define RED 0x00ff0000 // 1 -#define GREEN 0x0000ff00 // 2 -#define YELLOW 0x00ffff00 // 3 -#define BLUE 0x000000ff // 4 -#define MAGENTA 0x00ff00ff // 5 -#define CYAN 0x0000ffff // 6 -#define WHITE 0x00ffffff // 7 - -uint32_t codeToColor(uint8_t code); - -#endif diff --git a/todo.txt b/todo.txt index 50fe671..0b1f0ca 100644 --- a/todo.txt +++ b/todo.txt @@ -36,18 +36,20 @@ Legend: - [ ] complex.h (idk why we would need this) - [x] ctype.h - [x] errno.h - - [ ] fcntl.h - [ ] float.h - - [ ] limits.h - - [ ] locale.h + - [x] limits.h - [ ] math.h - - [ ] setjmp.h + - [ ] tgmath.h (if we want type generic) + - [x] setjmp.h (this plagues my mind) - [ ] signal.h (we would need signals first) - - [ ] stdarg.h - - [ ] stddef.h - - [ ] stdint.h + - [x] stdarg.h + - [x] stdbool.h + - [x] stddef.h + - [x] stdint.h - [ ] stdio.h - - [ ] syscall.h + - [ ] stdlib.h + - [x] string.h + - [x] syscall.h - [ ] time.h - [ ] unistd.h (do we do POSIX?) - [ ] wchar.h (we would need text support for wide chars ig?)