From 26b648f5a152a8fa36352fd3c6de5cc4fd514040 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Thu, 7 Aug 2014 18:48:46 +0200 Subject: increase versiond and beautify start messages --- kernel/kernel.c | 4 ++++ kernel/kernel.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/kernel.c b/kernel/kernel.c index 0e6b32e..c3a0ff7 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -31,13 +31,16 @@ void kernel_main() // hello message scr_put_string_nl(KERNEL_HELLO_MESSAGE); + scr_put_string_nl(""); //pit config timer_init(); scr_put_string_nl("Configured PIT Channel 0 : Mode 2 : 1/25 s."); + scr_put_string_nl(""); // we know that here the bootloader placed the mamory map! mem_init(0x7c00+0x120); + scr_put_string_nl(""); // init and interrupt decriptor table int_init(0x08); @@ -61,6 +64,7 @@ void kernel_main() // now we can enable interrupts back again int_enable(); scr_put_string_nl("Interrupts are up and running"); + scr_put_string_nl(""); //init shell shell_init(); diff --git a/kernel/kernel.h b/kernel/kernel.h index c7ebfd4..45494c7 100644 --- a/kernel/kernel.h +++ b/kernel/kernel.h @@ -3,7 +3,7 @@ #include //needed for uint16_t -#define KERNEL_HELLO_MESSAGE "FoolOs 0.0.1" +#define KERNEL_HELLO_MESSAGE "FoolOs 0.0.2" // #define DEBUG #endif -- cgit v1.2.3