File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
#include <stdio.h>
2
2
#include <time.h>
3
3
#include <kernel/tty.h>
4
+ #include <string.h>
5
+ #include "devices/keyboard/keyboard.h"
4
6
5
7
void kernel_main (void ) {
6
8
int time_t ;
7
9
terminal_initialize ();
10
+ //memset()
8
11
fptr = fopen ("ascii-art.txt" ,"r" );
9
12
char c ;
10
13
c = fgetc (fptr );
@@ -13,11 +16,15 @@ void kernel_main(void) {
13
16
c = fgetc (fptr );
14
17
};
15
18
fclose (fptr );
19
+ keyboard .init ();
20
+ keyboard .work ();
16
21
terminal_writestring ("The time is %d" , time_t );
17
22
terminal_writestring ("Welcome to Platypus OS!\n" );
18
23
terminal_writestring ("This is still in development, so there isn't anything to do...\n\n\n" );
19
24
terminal_writestring ("Yet.\n" );
20
- terminal_writestring ("If you want to help, go to https://github.com/Platypus-Tech/new-platypus-os-drafts/ to help\n\n" );
25
+ terminal_writestring ("If you want to help, go to https://github.com/Platypus-Tech/new-platypus-os-drafts/ to help\n" );
26
+ terminal_writestring ("...\n" );
21
27
terminal_writestring ("Or to see the source code!" );
22
- return ("Chicken butt" ); /* will it work... will it return "Program returned Chicken butt (0xChicken butt)"... */
28
+ /*return("Chicken butt");*/
29
+ return ("Really serious message :D POO POO PEEPEE" ); /* Eh no chicken butt */
23
30
};
You can’t perform that action at this time.
0 commit comments