π
<-

PCspire, run Nspire lua programs nativly on your pc

Pour TI-Nspire OS 3.0 ou ultérieur.

Re: PCspire, run Nspire lua programs nativly on your pc

Unread postby jimbauwens » 15 Mar 2012, 20:45

Thanks :)

Adriweb, yup something like that :)
User avatar
jimbauwensProgrammeur
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 30.3%
 
Posts: 54
Joined: 13 May 2011, 00:00
Location: Belgium
Gender: Male
Calculator(s):
MyCalcs profile
Class: Computer Science @ VUB University Brussels

Re: PCspire, run Nspire lua programs nativly on your pc

Unread postby jimbauwens » 20 Mar 2012, 17:21

People can already check out the code on https://github.com/jimbauwens/PCspire.
However, it's not yet noob proof :P
But it will :)

Currently these things need to be fixed:
- Drawing arcs (draws a full circle now)
- When invalidating specific screen parts, it can skip a couple of pixels. Shouldn't be a problem for most programs, but it needs to be fixed anyway.
- Text offsets need to be improved
- Images need better alpha support

These things need to be added:
- Tool palette (menu system that hardly anybody uses :P)
- Cursor changing. This is more hard because love2d doesn't support this directly

Stuff that I might never implement because they are very hard:
- math.eval (requires CAS engine and TI-Basic interpreter)
- D2Editor (requires rtf interpreter)
- Physics (love2d has physics, but it would be too hard to make it compatible with the chipmunk one on the nspire)


Programs I tested that work fine:
- Updated version of Cubefield
- LogoMagic
- Klondike Lua
- Some programs that use the EEPro widgets (I forgot the names, or maybe I didn't name them yet :P)
- Color Tetris
- BlockBreaker Lua
- Bloxorz
- some other tiny stuff I made :P
User avatar
jimbauwensProgrammeur
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 30.3%
 
Posts: 54
Joined: 13 May 2011, 00:00
Location: Belgium
Gender: Male
Calculator(s):
MyCalcs profile
Class: Computer Science @ VUB University Brussels

Re: PCspire, run Nspire lua programs nativly on your pc

Unread postby Lionel Debroux » 17 Apr 2012, 18:47

As he indicated at http://www.omnimaga.org/index.php?topic ... #msg243240 , in an unrelated topic, jimbauwens is working on http://bwns.be/jim/WEBspire/JSspire.html , which looks like an early online, JS-based form of PCspire :)

jimbauwens wrote:Still many bugs and no user input, but you should get the idea


IOW, it's not ready for consumption yet, but will become another awesome project :)
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.2%
 
Posts: 6859
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

Re: PCspire, run Nspire lua programs nativly on your pc

Unread postby Lionel Debroux » 19 Apr 2012, 12:31

User input (direction keys) now works, so JSspire runs Chockosta's CubeField properly :)
Rappel du lien: http://bwns.be/jim/WEBspire/JSspire.html

Source: http://www.omnimaga.org/index.php?topic ... #msg243528
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.2%
 
Posts: 6859
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl

Re: PCspire, run Nspire lua programs nativly on your pc

Unread postby jimbauwens » 28 Apr 2012, 13:03

Thanks for keeping this thread updated Lionel :)
Some other games already work in it, but I'm a bit busy with school so it can take a little while before you will see a stable release.
User avatar
jimbauwensProgrammeur
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 30.3%
 
Posts: 54
Joined: 13 May 2011, 00:00
Location: Belgium
Gender: Male
Calculator(s):
MyCalcs profile
Class: Computer Science @ VUB University Brussels

Previous

Return to Nspire-Lua

Who is online

Users browsing this forum: No registered users and 9 guests

-
Search
-
Social TI-Planet
-
Featured topics
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Offre de test des nouveautés de rentrée 2024 par Casio. Enseignant(e), reçois gratuitement 1 exemplaire, à ton choix, de la Graph Light ou bien de la Graph Math+
14€ remboursés par Casio sur l'achat de ta calculatrice Graph 35 d'ici le 31 Octobre 2024
10€ remboursés par Casio sur l'achat de ta calculatrice Graph 90+E d'ici le 31 Décembre 2024
10€ remboursés par Casio sur l'achat de ta calculatrice Graph 25 d'ici le 31 Décembre 2024
8€ remboursés par Casio sur l'achat de ta calculatrice Graph Math+ d'ici le 31 Octobre 2024
Reprise de ton ancienne fx-92 Collège ou Graph 25/35/90 à 3€ peu importe son état. Même non fonctionnelle et donc invendable, même ancienne Graph 35 non conforme aux programmes (pas de Python), même ancienne Graph 25/35 inutilisable aux examens (pas de mode examen) et donc invendable. Etiquette de retour fournie, pas de frais de port à payer.
3€ remboursés par Casio sur l'achat de ta calculatrice fx-92 Collège d'ici le 30 Septembre 2024
5€ de remise immédiate sur l'achat de ta calculatrice TI-83 Premium CE Edition Python chez les revendeurs partenaires
4€ de remise immédiate sur l'achat de ta calculatrice TI-82 Advanced Edition Python chez les revendeurs partenaires
3€ de remise immédiate sur l'achat de ta calculatrice TI-82 Advanced chez les revendeurs partenaires
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234567891011121314
-
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.
867 utilisateurs:
>807 invités
>55 membres
>5 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)