Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: Lorenz Schlüter on November 05, 2014, 05:16:07 am

Title: What does Ndless 3.6 Do exactly? How to code?
Post by: Lorenz Schlüter on November 05, 2014, 05:16:07 am
Hei Omnimaga community, I would like to know, what Ndless 3.6 exactly does to the calculator and in what languages you Code the programms Running with ndless. :) ;D

-Lorenz
Title: Re: What does Ndless 3.6 Do exactly? How to code?
Post by: aeTIos on November 05, 2014, 06:05:03 am
Hi Lorenz, welcome to the forums! We are by far the ... (*advertisement talk snipped for your convenience*)
Ndless is basically a jailbreak for your Nspire. It overrides a part of the system and allows user-made native code programs to run. Ndless programs are written in either ARM assembly or C. Most people like to use C because assembly is just a lot harder.

Hope this answers your question :)

But hey, don't leave yet. You should introduce yourself (http://www.omnimaga.org/introduce-yourself) and tell us some more about you.

See you around!
Title: Re: What does Ndless 3.6 Do exactly? How to code?
Post by: Vogtinator on November 05, 2014, 06:46:27 am
Hi and welcome here, Lorenz!

(You're not related to Johannes Schlüter (https://www.ndr.de/fernsehen/sendungen/extra_3/Johannes-Schlueter-Die-Videos,schluetervideos100.html), are you? :P )

Ndless is basically a jailbreak for your Nspire. It overrides a part of the system and allows user-made native code programs to run. Ndless programs are written in either ARM assembly or C. Most people like to use C because assembly is just a lot harder.
That's not 100% right. With the SDK you can also compile C++ and other languages supported by the GNU toolchain (If you're curious, you can also try to use llvm). such as Go or Java.

You can find some tutorials for linux and other Unixes on hackspire (http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction_on_Linux), if you're using Windows, I strongly recommend you to setup a linux VM or dual-boot.
Title: Re: What does Ndless 3.6 Do exactly? How to code?
Post by: Streetwalrus on November 05, 2014, 07:07:55 am
Most people like to use C because assembly is just a lot harder.
*cough*
ASM isn't really harder, it's just a different way to think. C (and everything else) on the Nspire involves loads of low level hardware access anyway so it doesn't really abstract much. ;)
Title: Re: What does Ndless 3.6 Do exactly? How to code?
Post by: pimathbrainiac on November 05, 2014, 07:15:22 am
You can find some tutorials for linux and other Unixes on hackspire (http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction_on_Linux), if you're using Windows, I strongly recommend you to setup a linux VM or dual-boot.

Or download the pre-built ndless SDK for Windows :P
Title: Re: What does Ndless 3.6 Do exactly? How to code?
Post by: Vogtinator on November 05, 2014, 11:34:09 am
You can find some tutorials for linux and other Unixes on hackspire (http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction_on_Linux), if you're using Windows, I strongly recommend you to setup a linux VM or dual-boot.

Or download the pre-built ndless SDK for Windows :P
There is a recent version of the SDK prebuilt? The SDK had a bug in malloc until two days ago.
Title: Re: What does Ndless 3.6 Do exactly? How to code?
Post by: Adriweb on November 05, 2014, 12:52:48 pm
Nope, it hasn't been updated for a while now (cf unsads)
Although many devs are on Linux (or Mac, maybe), but not windows, so that makes it annoying to support...
Title: Re: What does Ndless 3.6 Do exactly? How to code?
Post by: Vogtinator on November 05, 2014, 12:56:47 pm
There is the possibility to provide a prebuilt cygwin environment, but I guess that's very close to a VM or boot2docker.
Title: Re: What does Ndless 3.6 Do exactly? How to code?
Post by: DJ Omnimaga on November 05, 2014, 01:45:36 pm
Most people like to use C because assembly is just a lot harder.
*cough*
ASM isn't really harder, it's just a different way to think. C (and everything else) on the Nspire involves loads of low level hardware access anyway so it doesn't really abstract much. ;)
I agree. It's supposed to be easy once you get the hang out of it (except maybe Z80 ASM for certain particularly complex RPGs, seeing as Reuben 2 is the only completed ASM RPG to get released in a decade) but very different. Usually, it's easier if you are not too used to high-level languages with no pointers and direct memory access. I think C is a bit closer to ASM than Lua/Java/basic, though.
Title: Re: What does Ndless 3.6 Do exactly? How to code?
Post by: pimathbrainiac on November 05, 2014, 03:35:36 pm
There is the possibility to provide a prebuilt cygwin environment, but I guess that's very close to a VM or boot2docker.

The thing is that some of us *cough*me*cough* have to use something portable or able to be installed without administrator rights. Cygwin isn't really an option for me :P
Title: Re: What does Ndless 3.6 Do exactly? How to code?
Post by: Vogtinator on November 05, 2014, 04:56:53 pm
Cygwin needs admin rights? I'm fairly sure it doesn't.

BTW: The topic is miles away.
Title: Re: What does Ndless 3.6 Do exactly? How to code?
Post by: pimathbrainiac on November 05, 2014, 05:06:04 pm
Cygwin needs admin rights? I'm fairly sure it doesn't.
It does to install. I would know, I've tried :P

Back to the original question: I think it's been answered, so useless discussion about the SDK is useless.
Title: Re: What does Ndless 3.6 Do exactly? How to code?
Post by: bb010g on November 05, 2014, 07:02:40 pm
Cygwin needs admin rights? I'm fairly sure it doesn't.
It does to install. I would know, I've tried :P

Back to the original question: I think it's been answered, so useless discussion about the SDK is useless.
There is a working Portable Cygwin over on PortableApps.com, but you have to have admin on first install IIRC.