Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: TheNlightenedOne on April 12, 2012, 05:30:45 am

Title: C or ASM IDE for the Nspire
Post by: TheNlightenedOne on April 12, 2012, 05:30:45 am
I'm thinking of coding an on-calc IDE for C or ASM for the Nspire, with syntax highlighting and stuff like that. Is this a good idea? Would you like to see it? Tell me in the comments!
Title: Re: C or ASM IDE for the Nspire
Post by: compu on April 12, 2012, 07:48:21 am
A C/Asm on-calc IDE is not very useful since we don't have an on-calc compiler :P
Title: Re: C or ASM IDE for the Nspire
Post by: Nick on April 12, 2012, 08:48:24 am
you can write one compu :) as i've seen some of your projects รถ
Title: Re: C or ASM IDE for the Nspire
Post by: cyanophycean314 on April 13, 2012, 12:09:20 am
Well, there's syntax highlighting and some other features in here http://omniurl.tk/6082/242635 (http://omniurl.tk/6082/242635)
Title: Re: C or ASM IDE for the Nspire
Post by: mdr1 on May 05, 2012, 10:09:04 am
The project could be really interesting if you add the compiler with.
For the C I think the compiler would use too memory, but the assembly it is possible.
Are you doing a nMimas ? ;)
Title: Re: C or ASM IDE for the Nspire
Post by: Hayleia on May 06, 2012, 09:35:18 am
Good idea. I'm sure coders would code more with an on calc compiler :D
And once the compiler is done, maybe we could see Axe4nspire ! ;D
Title: Re: C or ASM IDE for the Nspire
Post by: Jim Bauwens on May 06, 2012, 09:40:11 am
You can definitely put a C compiler on the calculator. It has been done for 68k calculators, and the TI-Nspire is much more powerful.
However, it is not an easy task.
I'd say take a look at the TCC compiler, IIRC correctly it has ARM support.
Title: Re: C or ASM IDE for the Nspire
Post by: TheNlightenedOne on May 06, 2012, 09:58:43 am
Thanks for your suggestions and thoughts, everybody. I think I'll start this over the summer, after finals.
Of course, keep posting any suggestions, thoughts, etc. pertaining to this idea.
Title: Re: C or ASM IDE for the Nspire
Post by: mdr1 on May 06, 2012, 10:25:26 am
You should do an IDE with multi tabs, and with sprite editor.
If you do your project, sure I'll download it !
Title: Re: C or ASM IDE for the Nspire
Post by: DJ Omnimaga on May 07, 2012, 01:18:23 pm
So is it on-calc or off the calc? If it's off the calc, then I think we definitively need more tools specific to the TI-Nspire like TIGCC/GCC4TI on the 68K calcs to make dev easier (currently, people are scared away because they have no clue where to start), along with the stuff like nSDL in another topic.

If it's on the computer then it would be nice too, because some of us don't always have access to a computer and it would be nice, like 84+ users, to be able to develop directly on our machine.
Title: Re: C or ASM IDE for the Nspire
Post by: TheNlightenedOne on May 07, 2012, 06:32:00 pm
I intend to make it an on-calc editor, because I personally usually program on-calc with my 84.
Title: Re: C or ASM IDE for the Nspire
Post by: Yeong on May 07, 2012, 06:44:07 pm
If you do, then that means that I have a chance to actually learn nSpire stuff. :D
Title: Re: C or ASM IDE for the Nspire
Post by: jwalker on May 07, 2012, 06:59:11 pm
I would totaly use this!
Title: Re: C or ASM IDE for the Nspire
Post by: Nick on May 08, 2012, 01:19:06 pm
there's only one thing i don't really get.. is there so much ASM development for the Nspire? or is it just that i don't see see it? because i haven't seen anywhere programs made in ASM for the Nspire xs therefore it seems a bit lost work to make an ASM compiler
Title: Re: C or ASM IDE for the Nspire
Post by: DJ Omnimaga on May 08, 2012, 02:29:32 pm
I intend to make it an on-calc editor, because I personally usually program on-calc with my 84.
If you do an on-calc IDE, one thing you should add is the ability to go to page top/bottom, like on Casio calcs.
there's only one thing i don't really get.. is there so much ASM development for the Nspire? or is it just that i don't see see it? because i haven't seen anywhere programs made in ASM for the Nspire xs therefore it seems a bit lost work to make an ASM compiler
Barely anyone codes in ASM. Calc84maniac did, but almost everyone else seems to use C. In fact it was the same on 68K calcs after TIGCC arrived and since Cemetech took over PRIZM development now it seems to be the same for that platform too (when PRIZM dev started on Omni people were using ASM)
Title: Re: C or ASM IDE for the Nspire
Post by: lkj on May 08, 2012, 04:16:28 pm
I would program much more if I could do it on-calc during boring lessons or at lunchtime. If you make this I'll definitely use it!

there's only one thing i don't really get.. is there so much ASM development for the Nspire? or is it just that i don't see see it? because i haven't seen anywhere programs made in ASM for the Nspire xs therefore it seems a bit lost work to make an ASM compiler
Barely anyone codes in ASM. Calc84maniac did, but almost everyone else seems to use C. In fact it was the same on 68K calcs after TIGCC arrived and since Cemetech took over PRIZM development now it seems to be the same for that platform too (when PRIZM dev started on Omni people were using ASM)
This could also be due to the very good tutorials on how to use ndless for C whereas asm isn't really mentioned anywhere. However now that I'm writing this I remember there's a sample asm program included with ndless.
Title: Re: C or ASM IDE for the Nspire
Post by: willrandship on May 08, 2012, 04:17:52 pm
I'd love to see an Asm IDE, and a C IDE. Asm is better for the kind of things we like to do, ie games.

A C IDE would be significantly harder, but that doesn't mean I wouldn't love to see it.

Also, ARM assembly (ie nspire) is supposed to be much easier than most to learn, even z80 asm. (83+)
Title: Re: C or ASM IDE for the Nspire
Post by: mdr1 on May 09, 2012, 01:22:16 pm
I agree with willrandship : ARM is the easiest assembly I know, even z80 !!
Just look at that : http://www.shell-storm.org/papers/files/718.pdf
Title: Re: C or ASM IDE for the Nspire
Post by: DJ Omnimaga on May 09, 2012, 02:35:31 pm
I would program much more if I could do it on-calc during boring lessons or at lunchtime. If you make this I'll definitely use it!

there's only one thing i don't really get.. is there so much ASM development for the Nspire? or is it just that i don't see see it? because i haven't seen anywhere programs made in ASM for the Nspire xs therefore it seems a bit lost work to make an ASM compiler
Barely anyone codes in ASM. Calc84maniac did, but almost everyone else seems to use C. In fact it was the same on 68K calcs after TIGCC arrived and since Cemetech took over PRIZM development now it seems to be the same for that platform too (when PRIZM dev started on Omni people were using ASM)
This could also be due to the very good tutorials on how to use ndless for C whereas asm isn't really mentioned anywhere. However now that I'm writing this I remember there's a sample asm program included with ndless.
A lot of people probably prefer to go the higher level route too, so they pick up C, not to mention C is possible on the computer too, so it can help once you move on from calc stuff. But yeah I heard ARM ASM is easier than z80.
Title: Re: C or ASM IDE for the Nspire
Post by: willrandship on May 10, 2012, 11:53:30 pm
Asm is possible on the computer too. In fact, being an assembly programmer is a rare and respected talent in the computer world, and it gives far more satisfying results in most cases. Example: ZSnes vs Snes9x. ZSnes is written in x86 assembly, and Snes9x is written in C. ZSnes gets more than 50% better performance, but Snes9x is more portable.
Title: Re: C or ASM IDE for the Nspire
Post by: Mighty Moose on May 10, 2012, 11:56:41 pm
I would program much more if I could do it on-calc during boring lessons or at lunchtime. If you make this I'll definitely use it!

there's only one thing i don't really get.. is there so much ASM development for the Nspire? or is it just that i don't see see it? because i haven't seen anywhere programs made in ASM for the Nspire xs therefore it seems a bit lost work to make an ASM compiler
Barely anyone codes in ASM. Calc84maniac did, but almost everyone else seems to use C. In fact it was the same on 68K calcs after TIGCC arrived and since Cemetech took over PRIZM development now it seems to be the same for that platform too (when PRIZM dev started on Omni people were using ASM)
This could also be due to the very good tutorials on how to use ndless for C whereas asm isn't really mentioned anywhere. However now that I'm writing this I remember there's a sample asm program included with ndless.
A lot of people probably prefer to go the higher level route too, so they pick up C, not to mention C is possible on the computer too, so it can help once you move on from calc stuff. But yeah I heard ARM ASM is easier than z80.

I'm learning C right now for the Nspire, but if this ever gets completed, I might actually be motivated to learn ARM assembly.
Title: Re: C or ASM IDE for the Nspire
Post by: Nick on May 11, 2012, 07:06:35 am
This is offtopic, but does someone has antoher guide for ARM assembly in english or dutch? because i don't understand french good enough to read a programming language guide in it..
Title: Re: C or ASM IDE for the Nspire
Post by: DJ Omnimaga on May 11, 2012, 09:46:27 am
I thought French was your native language? ???
Asm is possible on the computer too. In fact, being an assembly programmer is a rare and respected talent in the computer world, and it gives far more satisfying results in most cases. Example: ZSnes vs Snes9x. ZSnes is written in x86 assembly, and Snes9x is written in C. ZSnes gets more than 50% better performance, but Snes9x is more portable.
Doesn't ASM differ from a processor to another, though? For example different ASM on Intel Core processors than AMD ones?
This is offtopic, but does someone has antoher guide for ARM assembly in english or dutch? because i don't understand french good enough to read a programming language guide in it..
I thought French was your native language? ???
Title: Re: C or ASM IDE for the Nspire
Post by: Jim Bauwens on May 11, 2012, 10:10:16 am
His native language is Dutch :)
Title: Re: C or ASM IDE for the Nspire
Post by: willrandship on May 13, 2012, 10:27:00 pm
DJ, while individual processors can have slight differences, they are extremely slight in most cases. If AMD and Intel Asm were that drastically different then they would need different software builds, ie you would need Windows XP AMD edition and Intel edition.

With ARM, the instruction sets are virtually identical across versions ie ARMv5 and ARMv7. They differ very little mainly due to their RISC nature.
Title: Re: C or ASM IDE for the Nspire
Post by: trmpereira on May 27, 2013, 09:54:04 pm
Maybe just a sublime text 3 package can resolve this to code with hightlights...