diff --git a/demosplash/ansi/Makefile b/demosplash/ansi/Makefile index b20fa3d8..e3960c8a 100644 --- a/demosplash/ansi/Makefile +++ b/demosplash/ansi/Makefile @@ -1,9 +1,9 @@ ANSI2PNG = ~/research/ansi2gif/ansi2gif.git/ansi2png -all: kfest.png +all: kfest2020.png -kfest.png: kfest.ans - $(ANSI2PNG) --ysize auto kfest.ans > kfest.png +kfest2020.png: kfest2020.ans + $(ANSI2PNG) --ysize auto kfest2020.ans > kfest2020.png clean: - rm -f kfest.png *~ + rm -f kfest2020.png *~ diff --git a/gr-sim/mode7_demo/lookup_tables.c b/gr-sim/mode7_demo/lookup_tables.c index 48e2731c..6bd72ffb 100644 --- a/gr-sim/mode7_demo/lookup_tables.c +++ b/gr-sim/mode7_demo/lookup_tables.c @@ -2,7 +2,18 @@ #include -#define ANGLE_STEPS 16 +#define ANGLE_STEPS 64 + +static int double_to_fixed(double d) { + + int temp; + + temp=d*4096; + + return temp; + +} + int main(int argc, char **argv) { @@ -12,7 +23,7 @@ int main(int argc, char **argv) { printf("Sin\n"); for(i=0;i