From 2675b31080234b108d6ec683445dd1d5a1dd2db1 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Mon, 18 Apr 2022 17:14:23 +0200 Subject: [PATCH] Tick indicator stuff --- kernel/kernel.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/kernel.c b/kernel/kernel.c index 891baa5..bad8e7f 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -15,6 +15,7 @@ void print_kernel_motd() { void print_kernel_stats() { char* buf; + set_cursor_pos(0, 12); // Memory stats print("MEMORY BITMAP: ", 0x0f); buf = itoa(get_bitmap(), buf, 2); @@ -50,8 +51,10 @@ void print_kernel_stats() { println(buf, DEFAULT_COLOR); int i = 0; + set_cursor_pos(0, 9); + printalign("[Ticks since boot]", 0xf0, MIDDLE); while(true) { - set_cursor_pos(0, 20); + set_cursor_pos(0, 10); buf = itoa(i, buf, 10); printalign(buf, 0x0f, MIDDLE); ++i;