Author Topic: Programming C on the Ti-nspire cx cas?  (Read 5145 times)

0 Members and 1 Guest are viewing this topic.

Offline tristo

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Programming C on the Ti-nspire cx cas?
« on: October 17, 2012, 05:16:59 pm »
Hi,

Is there any way to program in c, or ASM without anything except for the ti-nspire cx cas? I would love to develop programs while on my calculator, and I have seen many other ide's like Mimas which are for the earlier versions. Is there any? I can't imagine that there isn't if it's on the older versions.

Thanks.

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: Programming C on the Ti-nspire cx cas?
« Reply #1 on: October 17, 2012, 05:39:47 pm »
As far as I know there isn't any on-calc assembler or compiler for the nspire yet. You could write your programs on your calculator, but to compile them you'd have to transfer them to your computer.

Or program in Lua.
« Last Edit: October 17, 2012, 05:40:05 pm by lkj »

Offline _Nicco_

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +6/-0
    • View Profile
Re: Programming C on the Ti-nspire cx cas?
« Reply #2 on: October 17, 2012, 06:36:28 pm »
This is great idea but how would you would have to type things out on that ABC keyboard.  Wouldn't that be a little slow?  Maybe we can re map the keyboard to be qwerty within the IDE so that it looks like ABC but in reality its qwerty.
They say that your signature is supposed to go here...

Offline TheNlightenedOne

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +16/-1
    • View Profile
Re: Re: Programming C on the Ti-nspire cx cas?
« Reply #3 on: October 17, 2012, 07:39:49 pm »
The qwerty layout has 3 rows, the Nspire has 4..
"Eris" (Ndless 3.1)
"Keto" (Ndless 3.1)
"Luna" (AMS 3.10, HW4)
"Aurora" (2.55MP)

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55926
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Programming C on the Ti-nspire cx cas?
« Reply #4 on: October 17, 2012, 07:44:07 pm »
This is great idea but how would you would have to type things out on that ABC keyboard.  Wouldn't that be a little slow?  Maybe we can re map the keyboard to be qwerty within the IDE so that it looks like ABC but in reality its qwerty.

It depends. Some people type faster on their TI-83+ ABC keyboards than their computer one. On the TI-84+ it's another story, though, since keys aren't even aligned properly.
« Last Edit: October 17, 2012, 07:44:45 pm by DJ_O »


Offline Rhombicuboctahedron

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 437
  • Rating: +41/-6
    • View Profile
Re: Programming C on the Ti-nspire cx cas?
« Reply #5 on: October 17, 2012, 07:48:22 pm »
Actually, I programmmed a 240 line painter program with oclua, as well as a few other things.
« Last Edit: October 17, 2012, 07:48:40 pm by Rhombicuboctahedron »

Offline _Nicco_

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +6/-0
    • View Profile
Re: Programming C on the Ti-nspire cx cas?
« Reply #6 on: October 17, 2012, 09:12:05 pm »
It depends. Some people type faster on their TI-83+ ABC keyboards than their computer one. On the TI-84+ it's another story, though, since keys aren't even aligned properly.

Wow, I guess I've just not spent enough time on my calculator to get quick at typing with it.

The qwerty layout has 3 rows, the Nspire has 4..

It looks like it might work if we used the EE, ?!, π, and (the flag looking key) but that is just for the letters.  Maybe it's not such a great idea since you would probably have to type without looking at the keyboard to not get confused with the letters.
They say that your signature is supposed to go here...

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Programming C on the Ti-nspire cx cas?
« Reply #7 on: October 18, 2012, 04:57:32 am »
Personally if there were a way to do C on-calc, I'd prolly go for it :D
That's a large part of the magic of Axe, you could just bring the calc wherever and still be able to develop. Albeit you have to be more careful and backup more :P

(relating to the keyboard, did the ndless usb support stuff ever go anywhere? A USB keyboard might work)
« Last Edit: October 18, 2012, 04:58:42 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3913
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Programming C on the Ti-nspire cx cas?
« Reply #8 on: October 18, 2012, 06:47:24 am »
This is great idea but how would you would have to type things out on that ABC keyboard.  Wouldn't that be a little slow?  Maybe we can re map the keyboard to be qwerty within the IDE so that it looks like ABC but in reality its qwerty.

It depends. Some people type faster on their TI-83+ ABC keyboards than their computer one. On the TI-84+ it's another story, though, since keys aren't even aligned properly.
I never had a problem with that. I can type super fast on my 84+.
I'm not a nerd but I pretend:

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: Programming C on the Ti-nspire cx cas?
« Reply #9 on: October 18, 2012, 07:57:47 am »
Personally if there were a way to do C on-calc, I'd prolly go for it :D
That's a large part of the magic of Axe, you could just bring the calc wherever and still be able to develop. Albeit you have to be more careful and backup more :P

(relating to the keyboard, did the ndless usb support stuff ever go anywhere? A USB keyboard might work)

Yeah, C on-calc would be great. But no one has ported/written an assembler or compiler :(

ExtendeD seemed to have it almost working, but then nothing happened anymore. Maybe no one has had the time to do USB things.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Programming C on the Ti-nspire cx cas?
« Reply #10 on: October 21, 2012, 04:13:54 am »
This is great idea but how would you would have to type things out on that ABC keyboard.  Wouldn't that be a little slow?  Maybe we can re map the keyboard to be qwerty within the IDE so that it looks like ABC but in reality its qwerty.

That sounds like it would be extremely confusing. You'll actually get pretty fast typing on it if you do it often enough. ;)

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55926
  • Rating: +3152/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Programming C on the Ti-nspire cx cas?
« Reply #11 on: October 21, 2012, 12:09:49 pm »
This is great idea but how would you would have to type things out on that ABC keyboard.  Wouldn't that be a little slow?  Maybe we can re map the keyboard to be qwerty within the IDE so that it looks like ABC but in reality its qwerty.

It depends. Some people type faster on their TI-83+ ABC keyboards than their computer one. On the TI-84+ it's another story, though, since keys aren't even aligned properly.
I never had a problem with that. I can type super fast on my 84+.
It probably depends if you got your 84+ first. People who had the 83+ and typed on it for a long while (a few years) will always get misled into pressing ENTER thinking it's +, because ENTER is quite off. As a result, any attempt at 2nd+MEM can cause the loss of lines of codes (such as long sprite data). On the 83+ or on Nspire 84+ keypads, the ENTER key is properly aligned with  0, . and (-).

Note however that I was the one who would not look at his calc keyboard anymore while typing. :P Also anyone who used a 84+ for years might have the same problem on the 83+ since they'll constantly press + or STO by mistake rather than ENTER or ON, and also since keys aren't as clunky on a 83+ they might inadvertently press some others. :P
« Last Edit: October 21, 2012, 12:11:49 pm by DJ_O »