about.c 1004 B

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