dos33fsprogs/hellmood_memories/table_gen.c

13 lines
184 B
C
Raw Normal View History

2020-05-05 05:14:22 +00:00
#include <stdio.h>
int main(int argc, char **argv) {
int x,y;
// for(x=-32;x<32;x++) printf("$%02x,",(x*x)>>4);
for(x=-32;x<32;x++) printf("$%02x,",(x*x*16/9)>>4);
return 0;
}