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