Re: A86: Video RAM problem


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

Re: A86: Video RAM problem




In a message dated 11/23/98 20:03:29 Eastern Standard Time, KidFedX@aol.com
writes:

> LITTLESTARS:   ;this will put stars in black sky
>    ld hl,%11011111
>    ld ($FC3F),hl
>    ld ($FCB9),hl
>    ld ($FEB5),hl
>    ld ($FF36),hl
>    ld ($FFB9),hl
>    ld hl,%01111111
>    ld ($FD1D),hl
>    ld ($FDA5),hl
>  It goes on in the same fashion.

you're doing a 16 bit load.  the upper byte of hl is empty.  if you load
register a instead, it'll work correctly.