forked from PoliEcho-holding-org/kern
Minor changes
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <color.h>
|
#include <sys/gfx.h>
|
||||||
|
|
||||||
#define PROMPT "#>"
|
#define PROMPT "#>"
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
@@ -36,18 +36,20 @@ Legend:
|
|||||||
- [ ] complex.h (idk why we would need this)
|
- [ ] complex.h (idk why we would need this)
|
||||||
- [x] ctype.h
|
- [x] ctype.h
|
||||||
- [x] errno.h
|
- [x] errno.h
|
||||||
- [ ] fcntl.h
|
|
||||||
- [ ] float.h
|
- [ ] float.h
|
||||||
- [ ] limits.h
|
- [x] limits.h
|
||||||
- [ ] locale.h
|
|
||||||
- [ ] math.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)
|
- [ ] signal.h (we would need signals first)
|
||||||
- [ ] stdarg.h
|
- [x] stdarg.h
|
||||||
- [ ] stddef.h
|
- [x] stdbool.h
|
||||||
- [ ] stdint.h
|
- [x] stddef.h
|
||||||
|
- [x] stdint.h
|
||||||
- [ ] stdio.h
|
- [ ] stdio.h
|
||||||
- [ ] syscall.h
|
- [ ] stdlib.h
|
||||||
|
- [x] string.h
|
||||||
|
- [x] syscall.h
|
||||||
- [ ] time.h
|
- [ ] time.h
|
||||||
- [ ] unistd.h (do we do POSIX?)
|
- [ ] unistd.h (do we do POSIX?)
|
||||||
- [ ] wchar.h (we would need text support for wide chars ig?)
|
- [ ] wchar.h (we would need text support for wide chars ig?)
|
||||||
|
|||||||
Reference in New Issue
Block a user