Skip to content

Instantly share code, notes, and snippets.

@everilae
Created April 2, 2015 12:55
Show Gist options
  • Save everilae/a6e69a0fc8e7cd7bb3f0 to your computer and use it in GitHub Desktop.
Save everilae/a6e69a0fc8e7cd7bb3f0 to your computer and use it in GitHub Desktop.
tcc -run ctris.c | aplay -r8000
static const char m[] = {
24,24,18,19,
21,21,19,18,
16,16,16,19,
24,24,21,19,
18,18,18,19,
21,21,24,24,
19,19,16,16,
0,0,0,0,
21,21,21,25,
32,32,28,25,
24,24,24,19,
24,24,21,19,
18,18,18,19,
21,21,24,24,
19,19,16,16,
0,0,0,0,
};
main(t){for(;;t++)putchar(t*m[t>>11&63]&128);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment