A85: Fade to white again
[Prev][Next][Index][Thread]
A85: Fade to white again
Well, the routines are getting called fine now, but the program isn't
fading, it just waits a bit then displays the finished text. Is my
method of changing the contrast correct?
Here's the routine to fade to white:
FadeToWhite:
ld a, (CONTRAST)
push af
ld bc, 48 ; Wait 1/4 of a second before fading any more
FTWLoop:
dec a
ld (CONTRAST), a
#fncall DELAY
cp 0
jr nz, FTWLoop
pop af
call CLEARLCD
ld (CONTRAST), a
ret
egillespie@juno.com
"In a prototypical world, nothing ever goes wrong." -Scott Meyers
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]