about.c 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #include <libc/math.h>
  2. #include <libc/stdio.h>
  3. #include <libc/stdlib.h>
  4. #include <libc/time.h>
  5. #include <libc/unistd.h>
  6. void print_ascii_logo()
  7. {
  8. printf(" ____ ___ ____ \n");
  9. printf("| _ \\ _ __ __ _ __ _ ___ _ __ / _ \\ / ___| \n");
  10. printf("| | | || '__| / _` | / _` | / _ \\ | '_ \\ | | | |\\___ \\ \n");
  11. printf("| |_| || | | (_| || (_| || (_) || | | || |_| | ___) |\n");
  12. printf("|____/ |_| \\__,_| \\__, | \\___/ |_| |_| \\___/ |____/ \n");
  13. printf(" |___/ \n");
  14. }
  15. void print_copyright()
  16. {
  17. printf(" DragonOS - An opensource operating system.\n");
  18. printf(" Copyright: fslongjin & DragonOS Community. 2022, All rights reserved.\n");
  19. printf(" Version: ");
  20. put_string("V0.1.0 - 20221106\n", COLOR_GREEN, COLOR_BLACK);
  21. printf(" You can visit the project via:\n");
  22. printf("\n");
  23. put_string(" Official Website: https://DragonOS.org\n", COLOR_INDIGO, COLOR_BLACK);
  24. put_string(" GitHub: https://github.com/fslongjin/DragonOS\n", COLOR_ORANGE, COLOR_BLACK);
  25. printf("\n");
  26. printf(" Maintainer: longjin <[email protected]>\n");
  27. printf(" Get contact with the community: <[email protected]>\n");
  28. printf("\n");
  29. printf(" If you find any problems during use, please visit:\n");
  30. put_string(" https://bbs.DragonOS.org\n", COLOR_ORANGE, COLOR_BLACK);
  31. printf("\n");
  32. }
  33. int main()
  34. {
  35. // printf("Hello World!\n");
  36. print_ascii_logo();
  37. print_copyright();
  38. // exit(0);
  39. // while (1)
  40. // ;
  41. return 0;
  42. }