Espresso 0.0.1f
This commit is contained in:
@ -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. */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user