Skip to content

Commit 0bc2238

Browse files
authored
Add logs and year
1 parent 0258e2d commit 0bc2238

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

kernel/main.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,18 @@ void *kernel_main(void) {
2525
};
2626
fclose(fptr);
2727
writestring("The square root of pi times e is %f", M_1_SQRTPI*M_E);
28+
writestring("The year is %d", YEAR);
2829
writestring("Welcome to Platypus OS!\n");
29-
writestring("This is still in development, so there isn't anything to do...\n\n\n");
30+
writestring("This is still in development, so there isn't anything to do...\n...\n...\n");
3031
writestring("Yet.\n");
3132
writestring("If you want to help, go to https://github.com/Platypus-Tech/new-platypus-os-drafts/ to help\n");
3233
writestring("...\n");
3334
writestring("Or to see the source code!");
3435
//ps2kb.work();
3536
mouse.work();
37+
log(INFO, "Mouse working!");
3638
rtc.work();
39+
log(INFO, "RTC working!");
3740
/*return("Chicken butt");*/ /* Eh no chicken butt */
3841
return("Really serious message :D POO POO PEE PEE"); /* Yeah, REALLY serious */
3942
};

0 commit comments

Comments
 (0)