diff --git a/bin/shade.bin b/bin/shade.bin index a20093f..e7a83fd 100755 Binary files a/bin/shade.bin and b/bin/shade.bin differ diff --git a/bin/shade.iso b/bin/shade.iso index 564e088..1709085 100644 Binary files a/bin/shade.iso and b/bin/shade.iso differ diff --git a/include/shade/tty.h b/include/shade/tty.h index ad39e3d..1eacef7 100644 --- a/include/shade/tty.h +++ b/include/shade/tty.h @@ -4,6 +4,15 @@ #include #include +/** + * @brief A type to represent a printable char + * + */ +typedef struct tty_ochar_struct { + char character; + char style; +} tty_ochar_t; + /** * @brief A type to represent a tty driver * @@ -43,17 +52,8 @@ typedef struct tty_struct { bool active; } tty_t; -/** - * @brief A type to represent a printable char - * - */ -typedef struct tty_ochar_struct { - char character; - char style; -} tty_ochar_t; - -tty_t ttys[10]; -int active_tty; +static tty_t ttys[10]; +static int active_tty; /** * @brief Create a new tty_t with the provided driver diff --git a/include/shade/version.h b/include/shade/version.h index 00c3dc9..b0abfd5 100644 --- a/include/shade/version.h +++ b/include/shade/version.h @@ -3,7 +3,7 @@ // This file was autogenerated by the shadeOS build system. It should not be modified. #define SHADE_OS_KERNEL_VERSION "0.1.1-alpha" #define SHADE_OS_KERNEL "shade-development" -#define SHADE_OS_BUILD "02abf37" -#define SHADE_OS_COMPILE_DATE "Tue May 17 08:32:53 AM EDT 2022" +#define SHADE_OS_BUILD "531ba0c" +#define SHADE_OS_COMPILE_DATE "Tue May 17 10:46:28 AM EDT 2022" #define SHADE_OS_CODENAME "willow" #endif diff --git a/obj/kernel/kernel.o b/obj/kernel/kernel.o index 56ff092..2f51074 100644 Binary files a/obj/kernel/kernel.o and b/obj/kernel/kernel.o differ diff --git a/src/kernel/tty.c b/src/kernel/tty.c index 67fb223..154f999 100644 --- a/src/kernel/tty.c +++ b/src/kernel/tty.c @@ -68,12 +68,20 @@ void tty_mvpchar(int tty, char c, int x, int y) { } // tty_pnl family -void tty_pnl(int tty); -void tty_mvpnl(int tty, int x, int y); +void tty_pnl(int tty) { + return; +} +void tty_mvpnl(int tty, int x, int y) { + return; +} // tty_clr family -void tty_clr(int tty); // clear entire screen -void tty_clrl(int tty, int line); // clear a line +void tty_clr(int tty) { + return; +} +void tty_clrl(int tty, int line) { + return; +} void tty_setcurxy(int tty, int x, int y) { ttys[tty].cursor_col = x;