* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: CE hi res timer?  (Read 453 times)

0 Members and 1 Guest are viewing this topic.

Offline kotu

  • Walrus Dehumidifier
  • Super User
  • Join Date: Aug 2016
  • Location: Bristol, UK
  • Posts: 766
  • Post Rating Ratio: +5/-5
    • dj_kotu
    • @UCAy2ZF4hbc08iStnTn6jgxQ
    • rowanmedhurst
    • @djkotu
    • View Profile
    • futurerave.uk
  • Gender: Male
CE hi res timer?
« on: September 05, 2016, 05:45:42 pm »
 ???

Hi

Can anyone help with this

I need a hi res timer which gives a time in milliseconds at least, to time the time between frames


Thanks


  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony Playstation 3

Offline Adriweb

  • Full User
  • CodeWalrus Supporter
  • *
  • Join Date: Jan 2015
  • Location: France & Canada
  • Posts: 393
  • Post Rating Ratio: +6/-0
    • Adriweb
    • @Adriweb
    • Adriweb
    • @UC-UIrbk5SuaUCvnV6SQvt-Q
    • /u/Adriweb
    • Adriweb
    • View Profile
    • TI-Planet.org
  • Gender: Male
Re: CE hi res timer?
« Reply #1 on: September 05, 2016, 05:50:09 pm »
I'm pretty sure @MateoConLechuga can help with that :)
  • Calculators owned: TI-Nspire CX CAS, TI-Nspire CX, TI-Nspire CAS (x3), TI-Nspire (x2), TI-Nspire CM-C CAS, TI-Nspire CAS+, TI-80, TI-82 Stats.fr, TI-82 Plus, TI-83 Plus, TI-83 Plus.fr USB, TI-84+, TI-84+ Pocket SE, TI-84+ C Silver Edition, TI-84 Plus CE, TI-89 Titanium, TI-86, TI-Voyage 200, TI-Collège Plus, TI-Collège Plus Solaire, 3 HP, some Casios
Co-founder & co-administrator of TI-Planet and Inspired-Lua

Offline kotu

  • Walrus Dehumidifier
  • Super User
  • Join Date: Aug 2016
  • Location: Bristol, UK
  • Posts: 766
  • Post Rating Ratio: +5/-5
    • dj_kotu
    • @UCAy2ZF4hbc08iStnTn6jgxQ
    • rowanmedhurst
    • @djkotu
    • View Profile
    • futurerave.uk
  • Gender: Male
Re: CE hi res timer?
« Reply #2 on: September 05, 2016, 06:00:21 pm »
I hope so

By the way whoever reads this, @MateoConLechuga ?? lol

I played about with boot_SetTimersControlRegister and boot_GetTimer1Counter but it didn't work
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony Playstation 3

Offline MateoConLechuga

  • Full User
  • Join Date: Jan 2015
  • Location:
  • Posts: 203
  • Post Rating Ratio: +18/-1
    • View Profile
Re: CE hi res timer?
« Reply #3 on: September 05, 2016, 06:12:39 pm »
You have two for timers: The 32KHz crystal oscillator timer, or the CPU clock rate itself, which can vary from calculator to calculator and the current CPU set speed. As for using the timer correctly, there's an example in the tool chain. Hope this helps :)

Offline Unicorn

  • ??? ??? ??? ??? ???
  • Super User
  • CW Contest II - 2nd place
  • *
  • Join Date: Jan 2015
  • Location: ??? ??? ??? ??? ???
  • Posts: 2716
  • Post Rating Ratio: +5/-2
  • make :PICKACHUP: a thing!
    • Unicorn808
    • 114/11432
    • View Profile
    • ??? ??? ??? ??? ???
  • Gender: Male
Re: CE hi res timer?
« Reply #4 on: September 05, 2016, 06:13:50 pm »
You have two for timers: The 32KHz crystal oscillator timer, or the CPU clock rate itself, which can vary from calculator to calculator and the current CPU set speed. As for using the timer correctly, there's an example in the tool chain. Hope this helps :)

I'm gonna be that one guy, but which example? :P
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

Offline MateoConLechuga

  • Full User
  • Join Date: Jan 2015
  • Location:
  • Posts: 203
  • Post Rating Ratio: +18/-1
    • View Profile
Re: CE hi res timer?
« Reply #5 on: September 05, 2016, 06:40:13 pm »
You have two for timers: The 32KHz crystal oscillator timer, or the CPU clock rate itself, which can vary from calculator to calculator and the current CPU set speed. As for using the timer correctly, there's an example in the tool chain. Hope this helps :)

I'm gonna be that one guy, but which example? :P
Demo 3 of the toolchain @Unicorn :)
« Last Edit: September 05, 2016, 06:54:08 pm by MateoConLechuga »

Offline kotu

  • Walrus Dehumidifier
  • Super User
  • Join Date: Aug 2016
  • Location: Bristol, UK
  • Posts: 766
  • Post Rating Ratio: +5/-5
    • dj_kotu
    • @UCAy2ZF4hbc08iStnTn6jgxQ
    • rowanmedhurst
    • @djkotu
    • View Profile
    • futurerave.uk
  • Gender: Male
Re: CE hi res timer?
« Reply #6 on: September 05, 2016, 07:25:48 pm »
Bangin
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony Playstation 3

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games