[Coco] Let's figure out the best method to compile sprites for the CoCo - Please add your input
Glen Hewlett
glen.hewlett at sympatico.ca
Fri May 12 21:24:52 EDT 2017
Hi Darren,
That’s a great idea, so simple and sweet, now I don’t have to change my code. Thanks for the tip…. Just saved 2 bytes and 4 CPU cycles, and hours of my time. :)
Thanks,
Glen
> On May 12, 2017, at 8:51 PM, Darren A <mechacoco at gmail.com> wrote:
>
> On Fri, May 12, 2017 at 6:22 PM, Glen Hewlett <glen.hewlett at sympatico.ca>
> wrote:
>
>> If I setup U as my pointer ahead of time before I call the sprite routine
>> I can remove the LEAU ,X instruction on the first line and save another
>> 4 cycles and two bytes.
>>
>>
> Can't you remove that first LEAU ,X anyway?
>
> Instead of:
> LEAU ,X
> LEAU 5+128*5,U
>
> just use:
> LEAU 5+128*5,X
>
>
> - Darren
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list