Re: A86: Clear Screen
[Prev][Next][Index][Thread]
Re: A86: Clear Screen
In a message dated 5/1/99 7:07:21 PM Eastern Daylight Time,
warhorse@bellatlantic.net writes:
> 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
that's because _clrLCD only clears the screen, not the text shadow. all you
need is this one line to fix it:
jp _clrWindow
_clrWindow clears the screen, the text shadown, and moves the cursor to the
upper right location. by jumping there, you take advantage of the ret at the
end of that subroutine to end your program.
_clrWindow equ $4a86
> 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