[Coco] Instruction cycles per 60Hz frame.

Ed Snider zippster278 at gmail.com
Sun Nov 17 14:39:32 EST 2019


Correct.  Round down to the nearest whole cycle of course.

894886 cycles per second at single speed.
1789772 cycles per second at double speed.

- Ed


> On Nov 17, 2019, at 12:41 PM, James Ross <jrosslist at outlook.com> wrote:
> 
> continued:  actually the math can simplified to ...
> 
> cycles_per_60hz_frame = (1d / 60d) * 1000000 * coco_clk;  // 0.8948... MHz
> double_cycles_per_60hz_frame = (1d / 60d) * 1000000 * double_speed; // 1.789... MHz
> 
> which gives the same results:
> standard 60hz (vsync) frame = 14914.7727272727 cycles per frame
> double speed 60hz (vsync) frame = 29829.5454545455 cycles per frame
> 
> so, unless I am really confused (which is quite possible!), then the #'s above have to be correct ... ok moving on then :) :)
> 
> james
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list