yeah, but you have to look out how the y-coordinate affects the offset in the screen. The // is a little funny like that. Basically, offset = 128*(y % 8) + 40*(y / 8); (assuming integer divison and that y is an integer from 0 to 23) -B