[stella] Calculating values for the T1024T timer

Subject: [stella] Calculating values for the T1024T timer
From: "Dennis Debro" <ddebro@xxxxxxxxxxxxx>
Date: Mon, 30 Sep 2002 00:27:06 -0400
Has anyone used T1024T before?

I have been experimenting with this and it seems like I'm getting
strange results. For instance, I'm timing my kernel using the timer.
When I use TIM64T I set the timer to 228 (192 scan lines * 76 cycles /
64 ~ 228). This works out fine. When I use T1024T I set the timer to 14
(192 scan lines * 76 cycles / 1024 ~ 14). When I look at my scan line
count in Z26 I get 262 when I use TIM64T and 246 when I use T1024T.

Am I using the timer wrong? The Stella Programming Guide mentions that
the timers basically reduce by machine cycles, right?

Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/

Current Thread