Feat: Starting of ACTUALL keyboard inturruptions with PIC

This commit is contained in:
AfonsoCMSousa
2026-08-03 20:33:05 +01:00
parent 1dfe5d4fea
commit fb27ad1e0c
3 changed files with 254 additions and 123 deletions
+7 -7
View File
@@ -20,16 +20,16 @@ typedef struct {
void kmain(void) {
user current_user = {.user_name = "admin", .user_hostname = "soraos", .user_id = 0};
__clear_screen_colored(LIGHT_GREEN);
__clear_screen();
printf("SoraOS Kernel Initialized!\n");
printf("\tWelcome to SoraOS!\n");
printf("\tKernel Version: %s\n", __KERNEL_VERSION);
printf("\tCompiled on: %s at %s\n\n", __DATE__, __TIME__);
printf("SoraOS Kernel Initialized\n");
printf("\tWelcome to SoraOS\n");
printf("\tKernel Version %s\n", __KERNEL_VERSION);
// printf("\tCompiled on: %s at %s\n\n", __DATE__, __TIME__);
// TODO: CLI IDEA
int _count = printf("%s@%s:>", current_user.user_name, current_user.user_hostname);
scursor(_count, text_pos.line);
// int _count = printf("%s@%s:>", current_user.user_name, current_user.user_hostname);
// scursor(_count, text_pos.line);
// TODO: Enable user input handling
// char input_buffer[256];