Author Topic: What does Ndless 3.6 Do exactly? How to code?  (Read 6446 times)

0 Members and 1 Guest are viewing this topic.

Offline Lorenz Schlüter

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
What does Ndless 3.6 Do exactly? How to code?
« 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

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: What does Ndless 3.6 Do exactly? How to code?
« Reply #1 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 and tell us some more about you.

See you around!
I'm not a nerd but I pretend:

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: What does Ndless 3.6 Do exactly? How to code?
« Reply #2 on: November 05, 2014, 06:46:27 am »
Hi and welcome here, Lorenz!

(You're not related to Johannes Schlüter, 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, if you're using Windows, I strongly recommend you to setup a linux VM or dual-boot.
« Last Edit: November 05, 2014, 06:50:29 am by Vogtinator »

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: What does Ndless 3.6 Do exactly? How to code?
« Reply #3 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. ;)

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: What does Ndless 3.6 Do exactly? How to code?
« Reply #4 on: November 05, 2014, 07:15:22 am »
You can find some tutorials for linux and other Unixes on hackspire, 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
I am Bach.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: What does Ndless 3.6 Do exactly? How to code?
« Reply #5 on: November 05, 2014, 11:34:09 am »
You can find some tutorials for linux and other Unixes on hackspire, 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.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: What does Ndless 3.6 Do exactly? How to code?
« Reply #6 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...
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: What does Ndless 3.6 Do exactly? How to code?
« Reply #7 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.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: What does Ndless 3.6 Do exactly? How to code?
« Reply #8 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.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: What does Ndless 3.6 Do exactly? How to code?
« Reply #9 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
I am Bach.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: What does Ndless 3.6 Do exactly? How to code?
« Reply #10 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.

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: What does Ndless 3.6 Do exactly? How to code?
« Reply #11 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.
I am Bach.

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: What does Ndless 3.6 Do exactly? How to code?
« Reply #12 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.
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE