[Coco] Optimizing 6809 Assembly Code: Part 2 – Speedup Storing Data – Unrolling Loops
Glen Hewlett
glen.hewlett at sympatico.ca
Sun Sep 17 18:22:38 EDT 2017
Hi Curtis,
One day, I would like to do something similar for the 6309. I have upgraded my CoCo 1 and CoCo 3 with a 6309 but I haven’t seriously programmed anything for the 6309. So until I get more familiar with it I can’t write an article on it and do it any kind of justice.
If you would like to put together some notes, I could post them up and maybe others could add to it.
Cheers,
Glen
> On Sep 17, 2017, at 2:51 PM, L. Curtis Boyle <curtisboyle at sasktel.net> wrote:
>
> Glen - any thoughts of doing a followup with similar tips on 6309 specific things? Since the cycle counts do change (for example, tfr is only 4 cycles in 6309 native mode), and there are some things that are not obvious (like using W as an index register or offset to an index register is faster than any other register), etc.?
>
> L. Curtis Boyle
> curtisboyle at sasktel.net
>
>
>
>> On Sep 17, 2017, at 9:03 AM, Glen Hewlett <glen.hewlett at sympatico.ca> wrote:
>>
>> Hi Mark,
>>
>> I love to hear stuff like this! That’s the main reason I posted the blog. Of course it’s also a great reference for me to also refer to… :)
>>
>> Yeah, I hear you about keeping things the same at first, then optimized later. Very important.
>>
>> Cheers,
>> Glen
>>
>>> On Sep 17, 2017, at 8:15 AM, Mark McDougall <msmcdoug at iinet.net.au> wrote:
>>>
>>> Hi Glen,
>>>
>>> Great series of articles!
>>>
>>> Wasn't aware of the tfr/leau optimsiation - although I did note that tfr was _slow_! Just went through Knight Lore (some news on that subject very soon) and replaced 14 occurrences - thanks!
>>>
>>> It also reminded me to look for bsr,rts and I found a few of those as well but in my defence, I was focused at the time on keeping the code "the same" as the original! ;)
>>>
>>> Regards,
>>>
>>> --
>>> Mark McDougall
>>> <http://retroports.blogspot.com.au>
>>>
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list