View Single Post
Old 02-05-2011, 03:49 PM   #137
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
FSK - Timer

Interim Report:
I have set up some Timer-Actions within TestApp.
App should be run in the Sim-Enviro with the PRS-505 skin.
FreeCell / FreeCell-Skins had to be in the addons-path.

(+) SIZE Starts/Stops Timer Action
Digit changes Card and Timer-Duration

You can also edit JS Code to use .scheduleRepeating instead of .schedule

Code works as expected in the SimEnviro = Card is moved to the right.

But if executed on my PRS-505 some strange things happens:
At a schedule(Repeating) = 1000 the card keeps moving,
at a higher schedule nothing seams to happen until you press a key, then one or more scheduled actions take place. (Ok not so well described).

I assume the
A) screenrefresh or
B) the main-processor
enter any kind of sleep-mode

Havn't tried yet to keep the main-processor bussy by some dummy-calculations in a loop.

PS: For the x50 Series there should be a hardware.timer with the ability to wake a suspended JS-Engine. (I think this is used in the porkupan/boroda x50 firmware to have a "ticking" clock)
Attached Files
File Type: rar TestApp.rar (91.2 KB, 213 views)

Last edited by Mark Nord; 02-08-2011 at 07:34 AM. Reason: typo
Mark Nord is offline   Reply With Quote