summaryrefslogtreecommitdiff
path: root/kern/toad.c
diff options
context:
space:
mode:
authorHanjie Wu <hanjiew@andrew.cmu.edu>2023-04-23 12:41:16 -0400
committerHanjie Wu <hanjiew@andrew.cmu.edu>2023-04-23 12:41:16 -0400
commit8b93cd18bc1ff2ec1cfd96ead5ff5606cbc35831 (patch)
tree372562615328f2d214e0ad1eed0bb946712f379a /kern/toad.c
parent981a10da84b0b33d7c169566b4faa9093dff6431 (diff)
toad
Diffstat (limited to 'kern/toad.c')
-rw-r--r--kern/toad.c62
1 files changed, 62 insertions, 0 deletions
diff --git a/kern/toad.c b/kern/toad.c
new file mode 100644
index 0000000..a83deaf
--- /dev/null
+++ b/kern/toad.c
@@ -0,0 +1,62 @@
+#include <console.h>
+
+const char toad[] =
+ "..:. ......::.. ..^7JYYJJJJJYJJJJ??7~^:.. ^~^^:........ "
+ " "
+ "..... .....:.. .^!?JPGB#BBBBBBGGGGGGGP5J7~:.. ^~^:......... "
+ " "
+ ".... ..:...!P#########BBBBGGGGGGGGGP5Y?~:.. "
+ ".^::........... "
+ "... ...^Y#&&&&&##BBBBBBGPP555PPPPYY?!^:.. ... "
+ "............"
+ " ..:?B#&&&&&&##BBBBBGPP55PP55YJ?7~:... "
+ "..........."
+ " ..^5B#&&&&&###B##B#BBGGGGP5Y??"
+ "!!^.. "
+ ".........."
+ " ..7PB#&&&&&#B###B#&#GGPPP55YJ7!!^:. "
+ "........."
+ " :75B#&&#BBGGPG#PBBY?77?JJJ7!7!~^^. "
+ "........."
+ " . .~5GG#BGYYJ?7PBY?7?YPPP5YJ7~:~!::.. ........ "
+ "....... "
+ "......... .. ::^5GBG5?!~^.7Y::7YJ!!~:^^~!^.7^^:^^^^^:..:.^ "
+ "..... "
+ ".................^: YBY77^::^^ :^~7JYY?77?JY^:?7!!~~~~:.:^:: "
+ ".... "
+ "................ YPJJPGP5J!!J!~G7..^??JJJY555Y!^?777!~~!!.:^^. "
+ "........ "
+ "....::::.........7##BGGPYJ?JJ~##P!. :7J555YYJ?^!77!!!!!7!^^~~. "
+ "........ "
+ "...:::::::::......7GB#PYY??J?P&GY77!~:^!!!~~~^~~~!!!!77?77??: "
+ ".................."
+ "..:::::::::::......JPY?!~^!5J7J!^...:^^!!!!~~^^^^~7777??J5?^.............."
+ "......"
+ "^^^^~~~~~^^^^::::::7GPJ~!5BBGGGJ?77????7!~^~^^!!!!!!7!7?7^................"
+ "......"
+ "77777???7777!!!!!!!7P5!!YGB###BGP5J77!~:.:^!!??"
+ "!~~~~~~~7!................."
+ "......"
+ "YYYYYYYYYYYYYYYYYYYJ5GP55YJ!^~!77~!^::::^~!7??"
+ "!~~^^^^^^~~^::::::::........"
+ "......"
+ "PPPPPPPPPPPPPPPPPPPPPPGPP5GBGPPPP5J?77777777!~~^:::::::^7?777!!!~~~~^^^^^:"
+ "::::::"
+ "BBBBBBBBBBBBBBBBBBBBBBG55PB###BPYJ??777777?!^:::::::::!G77Y55YYYJJJJ??"
+ "7777!!!~~~"
+ "BBBB#BBBB##############GY5B####BGPPP5YJJ?7~^:::::.:::?#&G.."
+ "7GGPPPPPP5555YYYJJJJJ"
+ "B########################PYG####GPP5J?7!~^:.:::::.:~5#&&&7 "
+ ".~5BBBBGGGGGGGPPPP555"
+ "B#########################B5555Y?!!~^^^::::::::.:~JG##&&G. "
+ "...!P####BBBBBBBGGGGG"
+ "## TOO YOUNG TOO SIMPLE ###&PJ?7!^:::::::^::::~?5GB####G. "
+ ".....~?YPGB###BBBBBBB"
+ "#### SOMETIMES NAIVE ##BP5J#@BPY?7~^^^^^^:.^?5GB##BB#&#: "
+ "........:^!J5PBBBBBB";
+
+void print_toad() {
+ set_cursor(0, 0);
+ set_term_color(FGND_WHITE | BGND_BLACK);
+ putbytes(toad, sizeof(toad) - 1);
+}