Author Topic: Turn your Nspire into a real clock!  (Read 106351 times)

0 Members and 2 Guests are viewing this topic.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Turn your Nspire into a real clock!
« on: April 12, 2012, 09:53:16 pm »
On previous TI calculators, you could set up and use a clock: TI-84, TI-89 HW2, TI-92+ HW2, TI-Voyage 200 and TI-89 Titanium.

When testing the oldest Nspire handheld prototype, the TI-Phoenix 1 (P1-EVT1), we got some proof that the TI-Nspire had the required circuit for a clock, as the created files got some dates:


But TI has never used it for that up to now, and those dates were quickly masked with the P1-EVT2 prototype :(



In a previous news, Tangrs released the Clock program, which let you set up the clock and display it.


But you were loosing your clock at each reboot.



Levak from TI-Planet is about to release nClock, which was allready in development when we learned about Clock from Tangrs.

nClock lets you turn your TI-Nspire into a real clock. You can set the clock and display it.




But nClock features more than that. As you can see, it's hard to keep the Nspire in the above position. So nClock also has a 180°-rotated display mode! ;D




Moreover, nClock uses Ndless startup and hook features to save your clock setting. Meaning that your clock setting does survive a reboot! ;D ;D



But there's still more! nClock also uses Ndless hook feature to constantly display and refresh a small clock on your Nspire title bar. ;D ;D ;D








Bigger pictures available in the TI-Planet news:
http://tiplanet.org/forum/viewtopic.php?t=9076

nClock will be available for download as soon as the next Ndless build is available - as it needs some patches to be applied to Ndless and doesn't work with the current version.


Edit: nClock is now available from the TI-Planet news (note that you need the latest Ndless 3.1 build)
http://tiplanet.org/forum/viewtopic.php?t=9076
« Last Edit: April 14, 2012, 07:51:53 pm by critor »
TI-Planet co-admin.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Turn your Nspire into a real clock!
« Reply #1 on: April 12, 2012, 09:54:32 pm »
awesome as usual ;)

I am testing it and it works pretty well ;-)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline hellninjas

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 625
  • Rating: +17/-0
    • View Profile
Re: Turn your Nspire into a real clock!
« Reply #2 on: April 12, 2012, 09:55:23 pm »
LOVELY!
I'm using this now instead of wearing my bulky watch ! :D

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Turn your Nspire into a real clock!
« Reply #3 on: April 12, 2012, 09:55:59 pm »
Extremely nice and useful!

Offline blweldon2

  • LV3 Member (Next: 100)
  • ***
  • Posts: 49
  • Rating: +1/-0
  • Pokemon Master
    • View Profile
Re: Turn your Nspire into a real clock!
« Reply #4 on: April 12, 2012, 10:14:07 pm »
Weird. I fell asleep in my Web Design class and had a dream about having a clock on the title bar of my nspire. Then I come home and see this. Dreams do come true! O_O
Hmmm.... I wonder how to do this.....

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Turn your Nspire into a real clock!
« Reply #5 on: April 12, 2012, 10:18:01 pm »
I really wish I had a nspire, all I have is a lousy 84+

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: Turn your Nspire into a real clock!
« Reply #6 on: April 12, 2012, 10:18:15 pm »
Moreover, nClock uses Ndless startup and hook features to save your clock setting. Meaning that your clock setting does survive a reboot!
How does this work? I take it this is not using the RTC, since boot1/boot2 always reset it as far as I know and Ndless cannot prevent that. 900Cxxxx timers + spare SRAM?
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Turn your Nspire into a real clock!
« Reply #7 on: April 12, 2012, 10:21:11 pm »
Moreover, nClock uses Ndless startup and hook features to save your clock setting. Meaning that your clock setting does survive a reboot!
How does this work? I take it this is not using the RTC, since boot1/boot2 always reset it as far as I know and Ndless cannot prevent that. 900Cxxxx timers + spare SRAM?

Two things :
 - the RTC value is not reseted when the calc crashed (and still continue working even on the booting time). It resets only when you use the reset button.
 - nClock just stores the last saved RTC value and ask if the time is correct on boot. But most of the time, since the RTC is not reseted, it is useless
« Last Edit: April 12, 2012, 10:22:44 pm by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: Turn your Nspire into a real clock!
« Reply #8 on: April 12, 2012, 10:30:08 pm »
Nice!

Does it work with classic Nspires?

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Turn your Nspire into a real clock!
« Reply #9 on: April 12, 2012, 10:45:16 pm »
Nice!

Does it work with classic Nspires?

At first, the hook worked only on CX's an I was sad enought to leave the project ...
But by reverse engineering the hook I found that classic Nspire and CX Nspire use differents Battery checkers and my hook as actually in the battery check branch of CX.

Now I use differents hooks for classics and cx Nspire. Since I don't have them with me, I can't test if it works, but they actually work on emulator so I guess so =)
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Turn your Nspire into a real clock!
« Reply #10 on: April 12, 2012, 10:46:45 pm »
I like the small clock in the title bar :D

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Turn your Nspire into a real clock!
« Reply #11 on: April 12, 2012, 11:04:48 pm »
Two things :
 - the RTC value is not reseted when the calc crashed (and still continue working even on the booting time). It resets only when you use the reset button.
 - nClock just stores the last saved RTC value and ask if the time is correct on boot. But most of the time, since the RTC is not reseted, it is useless

How frequently is it written to NAND? Writing it to frequently would wear it excessively.
Ndless.me with the finest TI-Nspire programs

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Turn your Nspire into a real clock!
« Reply #12 on: April 12, 2012, 11:05:53 pm »
How frequently is it written to NAND? Writing it to frequently would wear it excessively.

When you launch nclock =)
It reads the config file where all the stuff needed is stored, as well as the backuped clock.
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline Wayne

  • LV3 Member (Next: 100)
  • ***
  • Posts: 72
  • Rating: +3/-3
    • View Profile
Re: Turn your Nspire into a real clock!
« Reply #13 on: April 12, 2012, 11:43:47 pm »
There are so many awesome things for the ti nspire cx (cas). It is a must have. Would somebody take my "old" ti nspire cas with touchpad charge into a cx?

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Re: Turn your Nspire into a real clock!
« Reply #14 on: April 12, 2012, 11:57:03 pm »
 :D A dream come true. The clock deficiency on the Nspire has been fixed.