start writing darwin runtime (GLUT version)