π
<-
Chat plein-écran
[^]

PCspire, run Nspire lua programs nativly on your pc

Pour TI-Nspire OS 3.0 ou ultérieur.

PCspire, run Nspire lua programs nativly on your pc

Unread postby jimbauwens » 14 Mar 2012, 11:35

Hello :)

Just wanted to show a little project I'm busy on.
As some of you know, I mainly develop on Linux. This means testing Nspire Lua programs is a bit harder.
Nspire_emu works fine, but there is no mouse support.
That is why I set out to create something to run Lua programs natively (meaning without emulation) on my computer.
I started 2 days ago, and here is the result:

EEPro runs pretty good
Image

Tetris:
Image

It even correctly sets the Lua screen variables if the window is bigger:
Image

I use the Löve Lua framework, since it was also event based and that made stuff a bit easier.

What do you lads think of it?

Edit: colors are bad because of screen recorder
User avatar
jimbauwensProg.
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 26%
 
Posts: 53
Joined: 13 May 2011, 00:00
Location: Belgium
Gender: Male
Calculator(s):
Class: Computer Science @ VUB University Brussels

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

Unread postby Levak » 14 Mar 2012, 11:50

Add a debugger and you'll be able to challenge 3.2 SDK :D :D
Responsable design/graphique de TI-Planet

I do not get mad at people, I just want them to learn the way I learnt.
ImageTNOC [topic][DL]
nClock [topic][DL]
HideManager [topic][DL]
ZLock [topic][DL]
Theme Editor [topic][DL]
Mes programmes
User avatar
LevakAdmin.
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 91.4%
 
Posts: 6414
Images: 22
Joined: 27 Nov 2008, 00:00
Location: 0x1AACC355
Gender: Male
Calculator(s):
Class: BAC+5: Epita (ING3)

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

Unread postby Adriweb » 14 Mar 2012, 17:38

This is awesome indeed.

If you actually have a way to link it to an [external] debugger it can really completely overtake the 3.2 sdk
:D
User avatar
AdriwebAdmin.
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 50.2%
 
Posts: 12381
Images: 1079
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
Class: (ingénieur)
Twitter: adriweb
GitHub: adriweb

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

Unread postby Excale » 14 Mar 2012, 17:39

Yup, awesome! :)
User avatar
ExcaleAdmin.
Niveau 15: CC (Chevalier des Calculatrices)
Niveau 15: CC (Chevalier des Calculatrices)
Level up: 40.3%
 
Posts: 2954
Images: 3
Joined: 10 Sep 2010, 00:00
Gender: Male
Calculator(s):

Online

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

Unread postby Lionel Debroux » 14 Mar 2012, 19:15

Definitely awesome ;)
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxModo.G
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 3.6%
 
Posts: 6278
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
Class: -
GitHub: debrouxl

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

Unread postby jimbauwens » 14 Mar 2012, 20:52

Thanks :)

I'll see to add a debugger in the style of a console where you can list/read/write variables and other stuff.
Probably also the ability to drop to a lua console.
User avatar
jimbauwensProg.
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 26%
 
Posts: 53
Joined: 13 May 2011, 00:00
Location: Belgium
Gender: Male
Calculator(s):
Class: Computer Science @ VUB University Brussels

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

Unread postby jimbauwens » 15 Mar 2012, 11:28

Simple debugger:
Image
User avatar
jimbauwensProg.
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 26%
 
Posts: 53
Joined: 13 May 2011, 00:00
Location: Belgium
Gender: Male
Calculator(s):
Class: Computer Science @ VUB University Brussels

Online

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

Unread postby Lionel Debroux » 15 Mar 2012, 12:44

Sweet ;)
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxModo.G
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 3.6%
 
Posts: 6278
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
Class: -
GitHub: debrouxl

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

Unread postby Adriweb » 15 Mar 2012, 16:14

Impressive, actually :D


also, wat is gvars() ? :o
edit : ok nevermind, class/obj dumper wit hierarchy, awesome job making that :D
User avatar
AdriwebAdmin.
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 50.2%
 
Posts: 12381
Images: 1079
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
Class: (ingénieur)
Twitter: adriweb
GitHub: adriweb

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

Unread postby ExtendeD » 15 Mar 2012, 18:33

Bright idea Jim, good job.
User avatar
ExtendeDPremium
Niveau 8: ER (Espèce Rare: nerd)
Niveau 8: ER (Espèce Rare: nerd)
Level up: 64.5%
 
Posts: 204
Joined: 30 Dec 2004, 00:00
Gender: Male
Calculator(s):
Class: N/A

Next

Return to Nspire-Lua

Who is online

Users browsing this forum: No registered users and 2 guests

-
Search
-
Featured topics
Avantages VIP et goodies pour les donateurs !
Offre TI-Planet/Jarrety pour avoir la TI-83 Premium CE avec son chargeur pour 79,79€ port inclus !
Offre TI-Planet/Jarrety pour avoir la TI-Nspire CX CAS à seulement 130€ TTC port inclus!
Jailbreake ta TI-Nspire avec Ndless et profite des meilleurs jeux et applications !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...

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 
-
Stats.
1133 utilisateurs:
>909 invités
>219 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)