Re: [stella] Math riddle : Loading TIM64T with 43 burns only36scanlines (not 37)

Subject: Re: [stella] Math riddle : Loading TIM64T with 43 burns only36scanlines (not 37)
From: Chris Wilkson <ecwilkso@xxxxxxx>
Date: Tue, 11 May 2004 09:57:00 -0400 (EDT)
Yeah, this is correct.  It counts down once per 6507 cycle.

-Chris

On Tue, 11 May 2004 mathys66@xxxxxxxxxx wrote:

> i thought the timer counts always down (at least all my code relies on that,
> and seems to work) ?
>
> quoting the data sheet:
> "When the timer has counted thru 00000000 on the next count time an interrupt
> will occur and the counter will read 11111111. After interrupt, the timer
> register decrements at a divide by "1" rate of the system clock..."
>
> so what you have to take care of is that after the timer expired, it will
> run at the osc's frequency, rather than at oscfreq/64.
>
> ???
>
> cheers
> thomas
>
> ----------------------------------------------------------------------------------------------
> Archives (includes files) at http://www.biglist.com/lists/stella/archives/
> Unsub & more at http://www.biglist.com/lists/stella/
>
>

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


Current Thread