From 5046fa1dd154f54950af11b5b225e92d96162ee2 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 15 Apr 2022 23:16:26 +0200 Subject: [PATCH] Junk --- kernel/kernel.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/kernel.c b/kernel/kernel.c index 740ddfd..62cf15a 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -9,7 +9,7 @@ void print_kernel_motd() { println(""); printalign("Fun fact: e = lim[h->0] (1+h)^(1/h)", DEFAULT_COLOR, MIDDLE); - printalign("Created by Elias Almqvist", DEFAULT_COLOR, MIDDLE); + printalign("Created by E. Almqvist", DEFAULT_COLOR, MIDDLE); println(""); } @@ -22,7 +22,7 @@ void print_kernel_stats() { println(""); - println("Memory", 0x0f); + println("BIOS E820", 0x0f); print("Loaded Entries: ", DEFAULT_COLOR); uint entries = get_phys_mem_size(); buf = itoa(entries, buf, 10); @@ -52,8 +52,8 @@ void print_kernel_stats() { uint ticks = 0; while (true) { set_cursor_pos(0, 20); - buf = itoa(ticks/1000000, buf, 10); - print(buf, 0x0f); + buf = itoa(ticks, buf, 10); + printalign(buf, 0x0f, MIDDLE); ++ticks; }