xref: /DragonOS/user/apps/about/about.c (revision 0d0705a1694bfa057c1f84ee7c683a3653a9160f)
1 #include <libc/stdio.h>
2 #include<libc/stdlib.h>
3 void print_ascii_logo()
4 {
5     printf(" ____                                      ___   ____ \n");
6     printf("|  _ \\  _ __   __ _   __ _   ___   _ __   / _ \\ / ___| \n");
7     printf("| | | || '__| / _` | / _` | / _ \\ | '_ \\ | | | |\\___ \\  \n");
8     printf("| |_| || |   | (_| || (_| || (_) || | | || |_| | ___) |\n");
9     printf("|____/ |_|    \\__,_| \\__, | \\___/ |_| |_| \\___/ |____/ \n");
10     printf("                     |___/     \n");
11 }
12 void print_copyright()
13 {
14     printf(" DragonOS - An opensource operating system.\n");
15     printf(" Copyright: fslongjin. 2022, All rights reserved.\n");
16     printf(" You can visit the project via:\n");
17     printf("\n");
18     put_string("    https://github.com/fslongjin/DragonOS\n", COLOR_ORANGE, COLOR_BLACK);
19     printf("\n");
20     printf("    Email: longjin@RinGoTek.cn\n");
21     printf("\n");
22 }
23 int main()
24 {
25     // printf("Hello World!\n");
26     print_ascii_logo();
27     print_copyright();
28     exit(0);
29     while (1)
30         ;
31 }