A86: Clear Screen


[Prev][Next][Index][Thread]

A86: Clear Screen




I ended my ASM program with
call _clrLCD
call _homeup
ret
but if I turn the calc off then on, it displays everything again. I
switched to:
call _newline x8
and want to use a loop instead. I have:
exit:
 ld a, 0
 jr exit2
exit2:
 inc a
 cp 8
 res 5, (iy+0)
 ret
 jr exit3
exit3:
 call _newline
 jr exit2

but all it does is end the program with no clearing of anything. How do
I get this loop to work, and is there a better way? (I want to know how
to get the loop to work so I can learn it.)
terrence