The problem is 155. 155 is the Atari equavalent of CR/LF. Any time 155 is present in any output I/O data a "end-of-line" will result. So you are just seeing the result of the 155 positioning you to the next logical line, which in this case is at the bottom of the screen.