use APU_FRAMECOUNT instead of JOYSTICK2 for more literate programming