A86: Re: Bug in 8 by X PutSprite routines


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

A86: Re: Bug in 8 by X PutSprite routines




>I think I found a bug in Matt's 8 x X putsprite routine.  I was wondering
>why all may sprites were drawn in a diagonal line until I found this:
>
> push bc
> ld d, c
> ld e, d ;  <=============== SHOULDN'T THIS BE B?
> call FindPixel     ; Finds pixel at E, D
> pop bc


Yeah I think your right. For some reason the bug went unnoticed.. probably
because X was the same as Y so it
did "work" just I only used it to draw one sprite. I changed it to B and the
program worked fine.
Must be a typo

Thanks for telling me!!!

Later,
    Matt