Re: A82: Clearing the graph buffer?


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

Re: A82: Clearing the graph buffer?



In a message dated 97-10-09 03:08:41 EDT, you write:

> Out of samegame:
>  
>  BUFCLR:                 ;Clear $88B8
>   LD HL,$88B8
>   LD DE,$88B9
>   LD BC,$2FF
>   xor    a
>   LD (HL),A
>   LDIR
>   RET
>  
>  just do call BUFCLR
>  
>  ilya winham wrote:
>  
>  > How do I clear the graph buffer? (82)
>  

Is that really in SameGame?  Looks like I need to optimize.
I dont need the xor a \ ld (hl), a
all I need is ld (hl), 0
actually, I just thought of something...since you're loading (hl) w/ 0, it's 2
bytes and xor a \ ld (hl), a also takes two bytes....if anyone wants to check
the clock cycles than go right ahead.

~Adamman