about.c 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #include <libc/stdio.h>
  2. #include <libc/stdlib.h>
  3. #include <libc/unistd.h>
  4. #include <libc/time.h>
  5. #include <libc/math.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. 2022, All rights reserved.\n");
  19. printf(" You can visit the project via:\n");
  20. printf("\n");
  21. put_string(" https://github.com/fslongjin/DragonOS\n", COLOR_ORANGE, COLOR_BLACK);
  22. printf("\n");
  23. printf(" Email: [email protected]\n");
  24. printf("\n");
  25. }
  26. int main()
  27. {
  28. // printf("Hello World!\n");
  29. print_ascii_logo();
  30. print_copyright();
  31. // exit(0);
  32. // while (1)
  33. // ;
  34. return 0;
  35. }