Skip to content
Snippets Groups Projects
Commit babcb2ef authored by y2-shaffan's avatar y2-shaffan
Browse files

further changes made to main()

parent 025ce7d2
No related branches found
No related tags found
No related merge requests found
......@@ -118,8 +118,19 @@ void kernel_main() {
* yet, '\n' will produce some VGA specific character instead.
* This is normal.
*/
terminal_setcolor(make_color(COLOR_RED, COLOR_WHITE));
terminal_setcolor(make_color(COLOR_RED, COLOR_BLACK));
terminal_writestring("Hello World!\n");
terminal_setcolor(make_color(COLOR_WHITE, COLOR_BLACK));
for (int i = 0; i < 6; i++) {
terminal_writestring("Hello World!\n");
}
terminal_setcolor(make_color(COLOR_BLUE, COLOR_BLACK));
for (int i = 0; i < 18; i++) {
terminal_writestring("Hello World!\n");
}
terminal_setcolor(make_color(COLOR_GREEN, COLOR_BLACK));
for (int i = 0; i < 5; i++) {
terminal_writestring("Hello World!\n");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment