Re: A85: Grayscale
[Prev][Next][Index][Thread]
Re: A85: Grayscale
-----Original Message-----
From: CashOnly@aol.com <CashOnly@aol.com>
To: assembly-85@lists.ticalc.org <assembly-85@lists.ticalc.org>
Date: Monday, December 21, 1998 12:34 AM
Subject: Re: A85: Grayscale
>
>> How can I clear the screen with grayscale activated?
>
>call CLEARLCD ; clear the first page.
>
>clear_page2: ; clear the second page
> ld hl,(PAGE2ADDR)
> ld bc,1024
> call OTH_CLEAR
> ret
>
>You might want to do this to save bytes if you clear it a lot:
>
>CLEARLCD_GRAY: ;Usage: call &CLEARLCD_GRAY
> ld hl,(PAGE2ADDR)
> ld bc,1024
> call OTH_CLEAR
> jp &CLEARLCD
>
i don't think this should be a & for the jump in the last line since
CLEARLCD is an absolute addr.
-mike pearce