Author Topic: Connaitre Horloge  (Read 4624 times)

0 Members and 1 Guest are viewing this topic.

Offline scotjh

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Connaitre Horloge
« on: January 23, 2012, 12:42:16 pm »
Y a t il un moyen sur TI84+ de connaitre l'heure de l’horloge , en axe parser bien sur ?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Connaitre Horloge
« Reply #1 on: January 23, 2012, 01:17:41 pm »
Salut et bienvenue sur le forum. Malheureusement je n'ai pas programmé en Axe depuis 18 mois mais j'ai trouvé ceci dans la section anglophone du forum:

AFAIK, the crystal timers have nothing to do with the clock (they are two different things).
The problem is not reading the value of the clock, but the fact that it doesn't fit in an axe variable.
Regardless, you can get the value of the clock like this:
°AAsm(DB02E6202009AF0604772310FC180FDB477723DB487723DB457723DB4677)
and AB would contain the number of seconds since midnight, January 1, 1997, or 0 if the clock is off or the calculator has no clock.
°AAsm(DB477723DB487723DB457723DB4677)
or this if you know that the calculator has a clock

Also, running ClockOff on my TI84+SE does not turn the clock off (just doesn't display it in the mode menu).
J'ignore c'est quoi le signe ° en Axe, mais en gros je crois que pour avoir la valeur de l'horloge il faut utiliser le premier hexadécimal ci-dessus. Le deuxième est plus court mais il pourrait causer des problèmes si exécuté sur une TI ou l'horloge est désactivée. La valeur de l'horloge n'entre pas dans une variable Axe donc j'ignore comment c'est stocké dans la mémoire.

Offline scotjh

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Re: Connaitre Horloge
« Reply #2 on: January 23, 2012, 01:42:59 pm »
Merci c'est déjà un début de piste...

Offline kindermoumoute

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 836
  • Rating: +54/-3
    • View Profile
Re: Connaitre Horloge
« Reply #3 on: January 23, 2012, 02:03:48 pm »
° est utilisé pour pointer, par exemple °A donne l'adresse de la variable A. Donc ici j'imagine qu'il faut faire un truc du genre :
Code: [Select]
:°AAsm(DB02E6202009AF0604772310FC180FDB477723DB487723DB457723DB4677)
:Disp A>Dec
:Disp B>Dec
Mais il faut tester exactement de que cela affiche.
Projects :

Worms armageddon z80 :
- smoothscrolling Pixelmapping : 100%
- Map editor : 80%
- Game System : 0%

Tutoriel français sur l'Axe Parser
- 1ère partie : en ligne.
- 2ème partie : en ligne.
- 3ème partie : en ligne.
- 4ème partie : 10%
- Annexe : 100%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Connaitre Horloge
« Reply #4 on: January 23, 2012, 02:50:31 pm »
AH merci beaucoup Kinder :)