Re: A86: Fade in routine...


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

Re: A86: Fade in routine...




>Basically what it is suppose to do is set the contrast to zero and then
>increment it until it becomes the original contrast as defined by
>($C008).
>
>However I seem to get the following errors
...
> cp ($C008)

You can't use that form of addressing with cp.  Just put "ld hl, $C008" before
the loop starts, and change it to "cp (hl)".

--David