[A83] Re: variable horizontal line routine?


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

[A83] Re: variable horizontal line routine?




At 14:47 2001-06-01, you wrote:
>copybytes:
>   ld (hl),a
>   inc hl
>   ld a,$ff         ;write $ff to all the other bytes
>   djnz copybytes


ld (hl),$ff doesn't exist?

if it doesn't you should anyway put ld a,$ff outside of the loop and do an 
extra ld (hl),a, otherwise it is a slowdown.
we are optimizing for speed here, not size.

///Olle




Follow-Ups: References: