Espace TI: Forum
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
Le deal à ne pas rater :
TCL C74 Series 55C743 – TV 55” 4K QLED 144 Hz Google TV (Via ODR ...
499 €
Voir le deal

[Celtic] deux trois trucs à comprendre

3 participants

Aller en bas

[Celtic] deux trois trucs à comprendre Empty [Celtic] deux trois trucs à comprendre

Message par persalteas Lun 23 Jan - 17:40

Salut,

je suis en train de faire des tutoriels sur des librairies pour 83+ en ce moment, (celui sur le Xlib est déjà dispo sur TI Planet), mais j'ai remarqué que mes connaissances en Celtic étaient pas bien hautes... et pas raté, y'a plein de fonctions que je connaissais pas.

Donc, comme le gars qui a programmé Celtic III en avait rien a faire de le diffuser (même pas téléchargeable sur TI Calc, il faut se faire un compte chez United TI pour le télécharger), il a fait un readme brouillon pas bien compréhensible...

Mes connaissances en anglais étant proches de la limite en l'infini d'une exponentielle décroissante, je voudrais vous poser quelques questions.


Enfin, vous demander des explications sur les fonctions suivantes:


|19 | det(19)
| |
| FASTCOPY | It calls the IonFastCopy routine. lolwut?
| |
| | It updates the screen with the plotsscreen buffer. lolwut?
| |
| | It copies the buffer to the screen. lolwut?
| |
| | It... If you get down to here, you fail. At life.
-----------------------------------------------------------------------------
|20 | det(20,"HEXSTRING")
| |
| EXECHEX | It converts up to 767 bytes into code (1534 hex characters)
| | and executes it from the savesscreen buffer, useful for
| | implementing simple stuff that was missed by a library as
| | large as Celtic III.
| |
| | Although it automatically appends a C9 (RET) instruction at
| | the end of the string, you can still seriously screw up
| | your calculator if used with erroneous ASM code.
-----------------------------------------------------------------------------
|21 | det(21,StringVar,at_this_byte,replace_with_this_byte)
| |
| EDIT1BYTE | Replaces a byte in some string variable, Str1 to Str0,
| | using a decimal number 0 thru 255 in replace_with_this_byte
| | within that string at this specified offset (at_this_byte),
| | all of which start at zero. You will get an error if you
| | try to overwrite something past the end of this string.
| |
| | Since the specified string is edited directly, there will
| | be no output and thus keep Ans intact, except if an error
| | occurred. This means you cannot put in an immediate string
| | as nothing but a discarded temporary variable will have
| | been changed. Useful for quiety editing a string.
-----------------------------------------------------------------------------
|22 | det(22,function,offset,[newvalue])
| |
| MODECHANGE | Allows one to read or change stuff in Celtic III's hidden
| | appvar. Used for settings or reading status of delayed
| | functions. The offset starts at 0.
| |
| | If function= ...
| | 0: Reads data at offset.
| | 1: Writes [newvalue] to the offset. Old value is read out
| |
| | More information about which offset does what will be
| | explained later.
| |
| | Try not to pass bogus values into this command, as you CAN
| | cause improper application function if used incorrectly.
| |
-----------------------------------------------------------------------------
|23 | det(23,"FILENAME","INDEXNAME")
| |
| INDEXFILE | Creates an index of a program file and stores it as another
| | program file as indicated by INDEXNAME. This is for use
| | with the following command, LOOKUPINDEX.
| |
| | Any pre-existing files will be overwritten automatically,
| | as if to udate the index, so please take care that an
| | important file is not specifed. If the new index cannot
| | be fit in memory after the old one is deleted, a new one
| | is not created. Unfortunately, you will have lost the old
| | index. Keep a tight rein on memory.
-----------------------------------------------------------------------------
|24 | det(24,"FILENAME","INDEXNAME",this_line,[by_this_many])
| |
| LOOKUPINDEX | Uses the index file specified for quicker and much more
| | consistent lookup of lines in a file. Very useful for large
| | data files that would take a while to scan through using
| | the normal lookup method.
| |
| | The major drawback is that once a file is indexed, the file
| | cannot be changed unless re-indexed by command 23.
| |
| | A good feature is that for purely read-only purposes,
| | BOTH the program and index files can be archived.


Je n'ai pas compris leur rôle, j'ai pourtant l'impression de passer à coté de quelque chose qui mériterait une place dans un tutoriel...

Si vous y comprenez quelque chose, je veux bien de l'aide. Merci.

persalteas
persalteas
Platinum 2
Platinum 2

Sexe : Masculin
Age : 28
Messages : 2068
Date d'inscription : 30/06/2010
Etudes : PACES (médecine)
Points Forum : 114
Points Concours : 10
Langages :
  • - TI-Basic Z80
  • - xLib
  • - Grammer
  • - TI-Basic Nspire
Calculatrices :
  • - TI-82 Stats.fr
  • - TI-83
  • - TI-83+
  • - TI-84+ SE
  • - TI-86
  • - TI-Nspire
  • - TI-Nspire CX
  • - Casio Collège
  • - Casio Graph

TI-84 Pocket.fr


http://tiemulation.kegtux.org

Revenir en haut Aller en bas

[Celtic] deux trois trucs à comprendre Empty Re: [Celtic] deux trois trucs à comprendre

Message par matrefeytontias Lun 23 Jan - 19:52

Alors det(19) copie le buffer sur l'écran et det(20, hex) exécute le code hexadécimal passé en argument (pas besoin de C9).

Le reste j'ai pas trop compris Gni
matrefeytontias
matrefeytontias
Platinum 1
Platinum 1

Sexe : Masculin
Age : 26
Messages : 1383
Date d'inscription : 28/09/2011
Etudes : 1ère S SI
Points Forum : 90
Points Concours : 7
Langages :
  • - ASM TI-82 Stats / TI-83
  • - ASM TI-83+ / TI-84+
  • - Axe Parser
  • - Lua Nspire
  • - Ndless Nspire
Calculatrices :
  • - TI-83+.fr
  • - TI-Nspire CAS

TI-83+.fr


Revenir en haut Aller en bas

[Celtic] deux trois trucs à comprendre Empty Re: [Celtic] deux trois trucs à comprendre

Message par persalteas Lun 23 Jan - 19:56

D'accord, on a donc bien compris la même chose tout les deux...

le problème, c'est que le premier me semble illogique vu qu'il y a déjà la fonction real(6 pour ça, et le deuxième ne marche pas...(j'ai essayé de mettre n'importe quoi avec ou sans le C9 à la fin, tout ce que ça fait, c'est "Done".)

persalteas
persalteas
Platinum 2
Platinum 2

Sexe : Masculin
Age : 28
Messages : 2068
Date d'inscription : 30/06/2010
Etudes : PACES (médecine)
Points Forum : 114
Points Concours : 10
Langages :
  • - TI-Basic Z80
  • - xLib
  • - Grammer
  • - TI-Basic Nspire
Calculatrices :
  • - TI-82 Stats.fr
  • - TI-83
  • - TI-83+
  • - TI-84+ SE
  • - TI-86
  • - TI-Nspire
  • - TI-Nspire CX
  • - Casio Collège
  • - Casio Graph

TI-84 Pocket.fr


http://tiemulation.kegtux.org

Revenir en haut Aller en bas

[Celtic] deux trois trucs à comprendre Empty Re: [Celtic] deux trois trucs à comprendre

Message par sandro Lun 23 Jan - 20:31

est-ce que tu as bien mis 1534 carractères héxadéimaux?
sandro
sandro
Or 4
Or 4

Sexe : Masculin
Age : 28
Messages : 806
Date d'inscription : 01/07/2011
Etudes : T°S SVT spé maths
Points Forum : 29
Points Concours : 5
Langages :
  • - TI-Basic Z80
  • - ASM TI-82 Stats / TI-83
  • - ASM TI-83+ / TI-84+
  • - Axe Parser
Calculatrices :
  • - TI-82 Stats.fr
  • - TI-84+ SE
  • - TI-89
  • - Casio Collège

TI-84+ SE


Revenir en haut Aller en bas

[Celtic] deux trois trucs à comprendre Empty Re: [Celtic] deux trois trucs à comprendre

Message par matrefeytontias Lun 23 Jan - 20:36

Essayes det(20,3E01D303), normalement ça éteint la calto.
matrefeytontias
matrefeytontias
Platinum 1
Platinum 1

Sexe : Masculin
Age : 26
Messages : 1383
Date d'inscription : 28/09/2011
Etudes : 1ère S SI
Points Forum : 90
Points Concours : 7
Langages :
  • - ASM TI-82 Stats / TI-83
  • - ASM TI-83+ / TI-84+
  • - Axe Parser
  • - Lua Nspire
  • - Ndless Nspire
Calculatrices :
  • - TI-83+.fr
  • - TI-Nspire CAS

TI-83+.fr


Revenir en haut Aller en bas

[Celtic] deux trois trucs à comprendre Empty Re: [Celtic] deux trois trucs à comprendre

Message par Contenu sponsorisé


Contenu sponsorisé


Revenir en haut Aller en bas

Revenir en haut

- Sujets similaires

 
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum