retrogame.c for Pi-Pocket GPIO edit