Omnimaga

General Discussion => Other Discussions => Miscellaneous => Topic started by: tristo on October 17, 2012, 05:16:59 pm

Title: Programming C on the Ti-nspire cx cas?
Post by: tristo 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.
Title: Re: Programming C on the Ti-nspire cx cas?
Post by: lkj 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.
Title: Re: Programming C on the Ti-nspire cx cas?
Post by: _Nicco_ 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.
Title: Re: Re: Programming C on the Ti-nspire cx cas?
Post by: TheNlightenedOne on October 17, 2012, 07:39:49 pm
The qwerty layout has 3 rows, the Nspire has 4..
Title: Re: Programming C on the Ti-nspire cx cas?
Post by: DJ Omnimaga 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.
Title: Re: Programming C on the Ti-nspire cx cas?
Post by: Rhombicuboctahedron 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.
Title: Re: Programming C on the Ti-nspire cx cas?
Post by: _Nicco_ 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.
Title: Re: Programming C on the Ti-nspire cx cas?
Post by: Darl181 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)
Title: Re: Programming C on the Ti-nspire cx cas?
Post by: aeTIos 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+.
Title: Re: Programming C on the Ti-nspire cx cas?
Post by: lkj 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.
Title: Re: Programming C on the Ti-nspire cx cas?
Post by: TIfanx1999 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. ;)
Title: Re: Programming C on the Ti-nspire cx cas?
Post by: DJ Omnimaga 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