new version
[Chiptunes.git] / foo.c
CommitLineData
61fab018
TG
1#include <stdio.h>
2typedef unsigned char u8;
3int g(int i, int x, int t, int o) {
4 return ((3 & x &
5 (i *
6 ((3 & i >> 16 ? "BY}6YB6%" : "Qj}6jQ6%")[t % 8] +
7 51) >> o)) << 4);
8};
9
10int main(void) {
11int i;
12int n;
13int s;
14 for (i = 0;; i++) {
15 putchar(g(i, 1, n = i >> 14, 12) +
16 g(i, s = i >> 17, n ^ i >> 13, 10) +
17 g(i, s / 3, n + ((i >> 11) % 3), 10) +
18 g(i, s / 5, 8 + n - ((i >> 10) % 3), 9));
19 }
20}
Imprint / Impressum