forked from cores/microwatt
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
428 B
C
31 lines
428 B
C
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
#include "console.h"
|
|
|
|
static char mw_logo[] =
|
|
|
|
"\n"
|
|
" .oOOo. \n"
|
|
" .\" \". \n"
|
|
" ; .mw. ; Microwatt, it works.\n"
|
|
" . ' ' . \n"
|
|
" \\ || / \n"
|
|
" ;..; \n"
|
|
" ;..; \n"
|
|
" `ww' \n";
|
|
|
|
int main(void)
|
|
{
|
|
console_init();
|
|
|
|
puts(mw_logo);
|
|
|
|
while (1) {
|
|
unsigned char c = getchar();
|
|
putchar(c);
|
|
if (c == 13) // if CR send LF
|
|
putchar(10);
|
|
}
|
|
}
|