[Coco] Cycle count in lwasm?

Lee Patterson lee at 8bitcoder.com
Sat Mar 26 13:41:17 EDT 2016


There we go. I needed 4.12. That version must have been snuck in right after I downloaded 4.11.

Now "lwasm -9 -b -l -p cd -o poo5.bin poo5.asm" works as expected.


> On Mar 26, 2016, at 1:23 PM, William Astle <lost at l-w.ca> wrote:
> 
> Make sure you have the at least version 4.12 of lwtools. Cycle counting wasn't included until then.
> 
> On 2016-03-26 10:08, Lee Patterson wrote:
>> Does anyone know how to get the cycle count to show in lwasm? The manual http://lwtools.projects.l-w.ca/manual/x800.html says that you use "opt cd" in your source, or pragmas on the command line. I can't seem to make it work. I have tried:
>> 
>> 	lwasm -9 -b -l -p cd -o poo5.bin poo5.asm
>> 
>> but get "Unrecognized pragma string: cd". And have tried:
>> 
>>   1                 org     $3f00
>>> 2                 opt     cd
>>   3                 ldx     #sprite
>>   4                 ldy     #backgnd
>>   5                 ldu     #mixbuf
>> 
>> Thanks,
>> Lee
>> 
> 
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list