Espresso 0.0.1f

This commit is contained in:
2025-07-07 10:41:05 -05:00
parent dbaee2c881
commit f677e2e283
13 changed files with 315 additions and 119 deletions

View File

@ -45,6 +45,15 @@
extern void _hang_asm(void);
extern void _sti_asm(void);
char* espresso_str = ""
"####### ##### ###### ###### ####### ##### ##### #######\n"
"# # # # # # # # # # # # # #\n"
"# # # # # # # # # # #\n"
"##### ##### ###### ###### ##### ##### ##### # #\n"
"# # # # # # # # # #\n"
"# # # # # # # # # # # # #\n"
"####### ##### # # # ####### ##### ##### #######\n";
void kernel_main(multiboot_info_t* mbd, uint32_t magic)
{
@ -142,16 +151,23 @@ void kernel_main(multiboot_info_t* mbd, uint32_t magic)
/*pit_sleep(4000);
begin_anim(espresso_kernel_version);*/
/*printf("here\n");
printf("Guten tag and welcome to Espresso %s\n", espresso_kernel_version);
printf("%s\n", espresso_str);
char buffer[512] = { 0 };
printf("%i\n", sfs_init(false));
int32_t i = sfs_read_file("test.txt", buffer, -1);
printf("here\n");*/
printf("%i\n", i);
printf("Guten tag and welcome to Espresso\n");
if (i == 0)
{
printf("%s\n", buffer);
}
while (true)
{
/* Loop infinitely. We only do something when a syscall happens now. */
}
}