CC65 Routines, Group #2: STK_FUNC.OBJ and PAD_FUNC.OBJ allow access to the paddle and stick ports of the Atari. The real gem here is GRAPH.OBJ that allows access to the Atari graphic modes and commands.