π
<-
Chat plein-écran
[^]

KhiCAS, le moteur formel Giac/Xcas pour toutes TI-Nspire

:32tins: :32tinsktpb: :32tinsktpn: :32tinscas: :32tinstpkc: :32tinstpktpb: :32tinstp: :32tinscastp: :32tinscmc: :32tinscx: :32tinscxcas:

Re: KhiCAS, le moteur formel Giac/Xcas pour toutes TI-Nspire

Unread postby Ti64CLi++ » 04 Oct 2020, 11:06

Dans le logiciel l'extension .tns n'est pas nécessaire pour apparaitre, uniquement pour transférer ;)
Image
User avatar
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 32.4%
 
Posts: 3443
Images: 75
Joined: 04 Jul 2014, 14:40
Location: Clermont-Ferrand 63
Gender: Male
Calculator(s):
MyCalcs profile
Class: ENS Rennes
GitHub: Ti64CLi

Re: KhiCAS, le moteur formel Giac/Xcas pour toutes TI-Nspire

Unread postby Adriweb » 05 Oct 2020, 19:02

A propos de la brightness sur CX II :

13:59:30 <@Vogtinato> 0x90130018 is 0xFF when it's on and 0xFFFF when off
13:59:37 <@Vogtinato> 0x90130014 has the actual brightness.


https://hackspire.org/index.php?title=M ... s_on_CX_II contient désormais un peu plus d'infos qu'avant.
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...)
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 80.4%
 
Posts: 14624
Images: 1218
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: KhiCAS, le moteur formel Giac/Xcas pour toutes TI-Nspire

Unread postby parisse » 05 Oct 2020, 19:26

je viens d'essayer de mettre 0x90130014 a 225, dans un premier temps ca semble marcher, mais ensuite il y a plein de petits points qui s'allument et ca finit par ne plus etre noir du tout...
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 78.5%
 
Posts: 3522
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: KhiCAS, le moteur formel Giac/Xcas pour toutes TI-Nspire

Unread postby Ti64CLi++ » 05 Oct 2020, 19:59

parisse wrote:je viens d'essayer de mettre 0x90130014 a 225, dans un premier temps ca semble marcher, mais ensuite il y a plein de petits points qui s'allument et ca finit par ne plus etre noir du tout...

J'avais eu le même comportement en faisant quelques tests sur la luminosité, mais je ne suis pas sur que ce soit très bon pour l'écran. Ca me faisait un "point chaud", qui devenait de plus en plus noir...
Image
User avatar
Ti64CLi++Modo
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 32.4%
 
Posts: 3443
Images: 75
Joined: 04 Jul 2014, 14:40
Location: Clermont-Ferrand 63
Gender: Male
Calculator(s):
MyCalcs profile
Class: ENS Rennes
GitHub: Ti64CLi

Re: KhiCAS, le moteur formel Giac/Xcas pour toutes TI-Nspire

Unread postby Vogtinator » 05 Oct 2020, 20:18

I just played around with 0x90130014 and -18 and writing values between 0 and 225 to 0x90130014 works as expected. Doing the same to 0x90130018 has a similar effect, so they're most likely both involved in the brightness, probably some PWM parameters. I don't know what's up with the 0xFFFF values which are written there when the OS turns the backlight off yet.
User avatar
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 1.6%
 
Posts: 217
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):
MyCalcs profile

Re: KhiCAS, le moteur formel Giac/Xcas pour toutes TI-Nspire

Unread postby critor » 05 Oct 2020, 20:18

parisse wrote:Je viens de rajouter un test pour ne pas dupliquer le suffixe .tns, ca devrait donc etre corrige.
Ca serait quand meme tellement plus simple si TI n'imposait pas l'extension tns pour apparaitre dans l'explorateur et le logiciel de transfert.


Merci beaucoup. :)
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 43%
 
Posts: 41521
Images: 14823
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

Re: KhiCAS, le moteur formel Giac/Xcas pour toutes TI-Nspire

Unread postby parisse » 05 Oct 2020, 21:02

Vogtinator wrote:I just played around with 0x90130014 and -18 and writing values between 0 and 225 to 0x90130014 works as expected.

If I write 225 then it seems at first that it works (the screen is full black), but after about 20 or 30 seconds, some spots appear and after two ot three minutes the screen is not dark anymore.
BTW, I don't know how you are playing with the I/O registers, I have added some commands in the KhICAS shell to do that:
16=>=> will force hexadecimal output of integers
read32(address) will return the value of a read of 4 bytes (1 dword) at address, e.g. read32(0x90130018)
read32(address,n) will return a list n address/dword (starting at address).
write32(address,value) will write value at address.
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 78.5%
 
Posts: 3522
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: KhiCAS, le moteur formel Giac/Xcas pour toutes TI-Nspire

Unread postby Vogtinator » 05 Oct 2020, 21:24

parisse wrote:
Vogtinator wrote:I just played around with 0x90130014 and -18 and writing values between 0 and 225 to 0x90130014 works as expected.

If I write 225 then it seems at first that it works (the screen is full black), but after about 20 or 30 seconds, some spots appear and after two ot three minutes the screen is not dark anymore.


Well, 225 is the value which the OS writes for the lowest brightness level. So it's not off and whatever is on the LCD will still be shown. If you turn off the LCD controller, you'll see the usual effect of the LCD losing its state due to missing refresh cycles. Even 255/0xFF isn't fully off, so doing what the OS does (0xFFFF into both, maybe some bits elsewhere?) would be necessary to achieve that.

parisse wrote:BTW, I don't know how you are playing with the I/O registers, I have added some commands in the KhICAS shell to do that:


A minimal custom program with basically the exact same functionality as what you have there.
User avatar
VogtinatorPremium
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 1.6%
 
Posts: 217
Joined: 29 Mar 2014, 15:55
Gender: Male
Calculator(s):
MyCalcs profile

Re: KhiCAS, le moteur formel Giac/Xcas pour toutes TI-Nspire

Unread postby parisse » 06 Oct 2020, 08:18

Setting both to 0xffff seems to work, thanks for the suggestion. But there is some flickering after restoring both registers to their initial value, could that damage the hardware? Probably not, but I think it's safer to keep KhiCAS as it is now (i.e. display a warning if the user presses ctrl-on).
User avatar
parisseVIP++
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Level up: 78.5%
 
Posts: 3522
Joined: 13 Dec 2013, 16:35
Gender: Not specified
Calculator(s):
MyCalcs profile

Re: KhiCAS, le moteur formel Giac/Xcas pour toutes TI-Nspire

Unread postby Wistaro » 08 Oct 2020, 23:43

J'ignore si c'est le comportement souhaité, mais dès que je lance KhiCas, j'ai un écran noir avec juste une bande de pixels blanc à droite qui s'affiche, pendant 30 - 40 secondes.

C'est normal?
Nouveau sur le site, Anonymous ? Avant de poster sur le chat et sur le forum, n'oublie pas de lire les règles. En cas de problème, tu peux m'envoyer un message, je réponds rapidement.

Liens utiles:
Image
Découvre mes programmes et mon site!
User avatar
WistaroSuper Modo
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 88%
 
Posts: 3158
Images: 37
Joined: 25 Feb 2013, 16:21
Location: Toulouse
Gender: Male
Calculator(s):
MyCalcs profile
Class: Ingénieur en électronique
YouTube: Wistaro
Twitter: Wistaro
GitHub: Wistaro

PreviousNext

Return to News TI-Nspire

Who is online

Users browsing this forum: No registered users and 41 guests

-
Search
-
Social TI-Planet
-
Featured topics
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
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1177 utilisateurs:
>1137 invités
>36 membres
>4 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)