exit: ld a,8 ;instead of ld a,0 exit2: call _newline djnz exit2 res 5, (iy+0) ret Here's the same loop... except this one does what you want. See if it works... Also make sure you jump to it... _________ JBrett tbarwick@esn.net - http://brett.acz.org ICQ UIN: 20607010 AIM: BarwickBJ ACZ member - http://www.acz.org