Skip to content

Commit

Permalink
Update Program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
nifanfa committed Feb 1, 2023
1 parent 513b799 commit c779f28
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ConsoleApp1/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,15 @@ static EFI_STATUS EfiMain(EFI_HANDLE imageHandle, EFI_SYSTEM_TABLE* systemTable)
gBS->SetWatchdogTimer(0, 0, 0, null);

Console.Clear();
Console.WriteLine("Hello world from \"BootTo.NET project\"!");
Console.WriteLine("Welcome to: ");
gST->ConOut->SetAttribute(gST->ConOut, EFI_BACKGROUND_BLACK | EFI_LIGHTGREEN);
Console.WriteLine(" ____ _ _______ _ _ ______ _______ ");
Console.WriteLine(" | _ \\ | |__ __| | \\ | | ____|__ __| ");
Console.WriteLine(" | |_) | ___ ___ | |_ | | ___ | \\| | |__ | | ");
Console.WriteLine(" | _ < / _ \\ / _ \\| __|| |/ _ \\ | . ` | __| | | ");
Console.WriteLine(" | |_) | (_) | (_) | |_ | | (_) || |\\ | |____ | | ");
Console.WriteLine(" |____/ \\___/ \\___/ \\__||_|\\___(_)_| \\_|______| |_| ");
gST->ConOut->SetAttribute(gST->ConOut,EFI_BACKGROUND_BLACK | EFI_LIGHTGRAY);
Console.WriteLine("Press any key to continue...");

Console.ReadKey();
Expand Down

0 comments on commit c779f28

Please sign in to comment.