|
|
@ -9,7 +9,7 @@ void init() { |
|
|
|
vga_init(); // Initialize the screen first
|
|
|
|
vga_init(); // Initialize the screen first
|
|
|
|
// i.e. clear the screen et cetera.
|
|
|
|
// i.e. clear the screen et cetera.
|
|
|
|
|
|
|
|
|
|
|
|
println("Kernel loaded", DEFAULT_COLOR); |
|
|
|
println("Kernel loaded", SUCCESS_COLOR); |
|
|
|
|
|
|
|
|
|
|
|
// enable_paging();
|
|
|
|
// enable_paging();
|
|
|
|
|
|
|
|
|
|
|
@ -26,6 +26,14 @@ void init() { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
char* intbuf = "xxxx"; |
|
|
|
|
|
|
|
int num = 1234; |
|
|
|
|
|
|
|
intbuf = int_to_str(num, intbuf); |
|
|
|
|
|
|
|
print("TEST NUM: ", DEFAULT_COLOR); |
|
|
|
|
|
|
|
println(intbuf, DEFAULT_COLOR); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
|
|
// Memory allocation testing
|
|
|
|
// Memory allocation testing
|
|
|
|
printalign("-- PMM Tests --", DEFAULT_COLOR, MIDDLE); |
|
|
|
printalign("-- PMM Tests --", DEFAULT_COLOR, MIDDLE); |
|
|
|
|
|
|
|
|
|
|
@ -47,4 +55,5 @@ void init() { |
|
|
|
char* str2 = "Works!"; |
|
|
|
char* str2 = "Works!"; |
|
|
|
strbuf = strcat(strbuf, str2);
|
|
|
|
strbuf = strcat(strbuf, str2);
|
|
|
|
println(strbuf, DEFAULT_COLOR); |
|
|
|
println(strbuf, DEFAULT_COLOR); |
|
|
|
|
|
|
|
*/ |
|
|
|
} |
|
|
|
} |
|
|
|