π
<-
Chat plein-écran
[^]

BAC 2018 : du calcul formel avec Eigenmath sur Graph 90+E

En ligne

Re: BAC 2018 : du calcul formel avec Eigenmath sur Graph 90+

Message non lude parisse » 12 Juin 2018, 20:36

Unfortunately, I must strip some features to spare bytes, I'm trying to keep the most important ones (i.e. keep CAS features, I have dropped all geometry/plot commands for example). If you want to check, I have the current not functional addin test.g3a on my web page:
https://www-fourier.ujf-grenoble.fr/~parisse/casio/
If you need test.bin or object files I can also put them there.
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 77.2%
 
Messages: 3502
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: BAC 2018 : du calcul formel avec Eigenmath sur Graph 90+

Message non lude amazonka » 12 Juin 2018, 22:28

Thanks for sharing - i have checked the checksums and executable code size and file size etc in the header and offset for the checksum at the end of the file and all seems right to me and at correct offsets -so I also suspect that it is OS problem not mkg3a one. It must be really hard to make the file smaller and decide what features to drop. I noticed the strings at the end of the files are occupying quite a lot of space - close to how much you need to lose - maybe you can strip them out into a separate file (to be installed together with the addin) and have the addin read it on the fly via some index to make you addin considerably smaller.
Avatar de l’utilisateur
amazonka
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 18
Inscription: 12 Juin 2018, 11:00
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

En ligne

Re: BAC 2018 : du calcul formel avec Eigenmath sur Graph 90+

Message non lude parisse » 13 Juin 2018, 06:56

I don't think I will do that unless I'm forced to, because it requires too many changes. But looking at the strings is an excellent idea, I can locate positions where I can remove code without loosing much functionnalities.
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 77.2%
 
Messages: 3502
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: BAC 2018 : du calcul formel avec Eigenmath sur Graph 90+

Message non lude Adriweb » 13 Juin 2018, 07:02

On the CE and the Nspire, programs are/can-be compressed first, making transfers faster and storage more efficient. Then, at launch, it's extracted in RAM. This is done by adding some self-extract code at the top of the program, that will run when the program is opened.
Could there be a way to do this quickly on the Casio? Could be RLE to code it faster, but generally a better one would be preferred (zx7 on the CE, zlib on the Nspire)
Image

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80.1%
 
Messages: 14606
Images: 1216
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

En ligne

Re: BAC 2018 : du calcul formel avec Eigenmath sur Graph 90+

Message non lude parisse » 13 Juin 2018, 11:37

I don't think it is possible, because the RAM visible to the addin seems to be 1M large.
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 77.2%
 
Messages: 3502
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: BAC 2018 : du calcul formel avec Eigenmath sur Graph 90+

Message non lude critor » 13 Juin 2018, 12:03

Ah merci. Donc sur les 8M de RAM, on aurait droit à 1M de mémoire de travail pour l'application courante.
Cela va donc dans le sens de ce qui a été constaté pour le Python.
Image
Avatar de l’utilisateur
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Prochain niv.: 41.8%
 
Messages: 41470
Images: 14480
Inscription: 25 Oct 2008, 00:00
Localisation: Montpellier
Genre: Homme
Calculatrice(s):
MyCalcs profile
YouTube: critor3000
Twitter/X: critor2000
GitHub: critor

En ligne

Re: BAC 2018 : du calcul formel avec Eigenmath sur Graph 90+

Message non lude parisse » 13 Juin 2018, 12:34

je ne sais pas comment ils arrivent a utiliser 1M, parce qu'il y a me semble-t-il 64K de tas et le reste du mega pour la stack et la ram statique. Sauf s'ils utilisent 2 malloc differents.
On peut soupconner que c'est ca qui permet de passer d'une appli a une autre en conservant la memoire, on observe en effet que si on quitte une appli avec la touche MENU et qu'on revient dedans on la retrouve dans l'etat courant. Si cette hypothese est vraie, il y aurait un maximum de 8 applis qu'on pourrait faire tourner simultanement.
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 77.2%
 
Messages: 3502
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: BAC 2018 : du calcul formel avec Eigenmath sur Graph 90+

Message non lude amazonka » 15 Juin 2018, 06:51

Simon Lothar wrote about g3a virtualisation among others here http://www.casiopeia.net/forum/viewtopi ... ing#p14339 “At best syscall 0x0026 could serve as template. 0x0026 is used to virtualize a G3A. Important syscalls in this course are 0x1DAA, which enumerates the 4096-byte blocks of an open file, and 0x0009, which sets the TLB.
Possibly syscall 0x0027 is informative, too. It virtualizes the static RAM (8*64k) of a G3A and uses 0x000A to set the TLB.

I did not unravel the way of 0x0026 in detail, therefore I cannot present examples. These things are rather complicated.”

Asking him what he knows about size of add-in limitations / workarounds may help a lot.

Separately my understanding of addin states being preserved is that only for the most resently exited addin it is preserved when you leave to main menu and come back to it. Also something gbl08ma I think was calling child process can be launched when another add-in/built-in app is started as e-activity like strip app (with checkered status bar) and then menu key press switches from child process to back to the parent app.

Having said it all it is still possible to create linked with eachother addins- for example have one addin save its state or more like history of inputs etc and when necessary launch another addin reusing those saved inputs for some additional functionality not available in the first addin...
Avatar de l’utilisateur
amazonka
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 18
Inscription: 12 Juin 2018, 11:00
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

En ligne

Re: BAC 2018 : du calcul formel avec Eigenmath sur Graph 90+

Message non lude parisse » 15 Juin 2018, 19:04

I'm afraid I don't understand what you mean by virtualization and so, but perhaps that is not essential if I can fit something good enough in 2M.
For file exchange between addins, I think it could be very useful for khicas programs, because they could be written with the Python addin using Python khicas syntax compatibility.
Avatar de l’utilisateur
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 77.2%
 
Messages: 3502
Inscription: 13 Déc 2013, 16:35
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: BAC 2018 : du calcul formel avec Eigenmath sur Graph 90+

Message non lude amazonka » 15 Juin 2018, 19:28

I don’t know myself but will ask Simon provided my login still works there.
Avatar de l’utilisateur
amazonka
Niveau 0: MI (Membre Inactif)
Niveau 0: MI (Membre Inactif)
Prochain niv.: 0%
 
Messages: 18
Inscription: 12 Juin 2018, 11:00
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

PrécédenteSuivante

Retourner vers News Casio

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 67 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1078 utilisateurs:
>1061 invités
>12 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)