[Coco] Let's figure out the best method to compile sprites for the CoCo - Please add your input

Darren A mechacoco at gmail.com
Fri May 12 20:51:34 EDT 2017


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


More information about the Coco mailing list