aboutsummaryrefslogtreecommitdiff
path: root/bbl/logo.c
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-03-09 23:58:17 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-03-09 23:58:17 -0800
commitb94c7a4b07f96f24ae7411780abf874416549f7b (patch)
treeb94ca015e49392f52e5abf1209ee184fcf874db4 /bbl/logo.c
parentf5a96732cb81571a3ba6b081b8556187d564f678 (diff)
downloadpk-b94c7a4b07f96f24ae7411780abf874416549f7b.zip
pk-b94c7a4b07f96f24ae7411780abf874416549f7b.tar.gz
pk-b94c7a4b07f96f24ae7411780abf874416549f7b.tar.bz2
Refactor pk, bbl, machine into separate libraries
Yuck.
Diffstat (limited to 'bbl/logo.c')
-rw-r--r--bbl/logo.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/bbl/logo.c b/bbl/logo.c
new file mode 100644
index 0000000..673899d
--- /dev/null
+++ b/bbl/logo.c
@@ -0,0 +1,32 @@
+#include <string.h>
+#include "mtrap.h"
+
+static const char logo[] =
+" vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv\n"
+" vvvvvvvvvvvvvvvvvvvvvvvvvvvv\n"
+"rrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvvvv\n"
+"rrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv\n"
+"rrrrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv\n"
+"rrrrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv\n"
+"rrrrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvvvv\n"
+"rrrrrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvv \n"
+"rrrrrrrrrrrrr vvvvvvvvvvvvvvvvvvvvvv \n"
+"rr vvvvvvvvvvvvvvvvvvvvvv \n"
+"rr vvvvvvvvvvvvvvvvvvvvvvvv rr\n"
+"rrrr vvvvvvvvvvvvvvvvvvvvvvvvvv rrrr\n"
+"rrrrrr vvvvvvvvvvvvvvvvvvvvvv rrrrrr\n"
+"rrrrrrrr vvvvvvvvvvvvvvvvvv rrrrrrrr\n"
+"rrrrrrrrrr vvvvvvvvvvvvvv rrrrrrrrrr\n"
+"rrrrrrrrrrrr vvvvvvvvvv rrrrrrrrrrrr\n"
+"rrrrrrrrrrrrrr vvvvvv rrrrrrrrrrrrrr\n"
+"rrrrrrrrrrrrrrrr vv rrrrrrrrrrrrrrrr\n"
+"rrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrr\n"
+"rrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrr\n"
+"rrrrrrrrrrrrrrrrrrrrrr rrrrrrrrrrrrrrrrrrrrrr\n"
+"\n"
+" INSTRUCTION SETS WANT TO BE FREE\n";
+
+void print_logo()
+{
+ putstring(logo);
+}