Re: A85: Pixel mover


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

Re: A85: Pixel mover



>key:
>   call GET_KEY
>   cp K_DOWN
>   jr z, down
>   cp K_LEFT
>   jr z, left
>   cp K_RIGHT
>   jr z, right
>   cp K_EXIT
>   ret z
>   cp K_UP
>   jr nz, key

Saves one CP (two bytes, couple of ticks).


Follow-Ups: References: