Why not? I’ve just received my USB sound card, let’s give it a try.
Luna v0.3a fixes a compatibility problem with some unicode characters such as chinese ones. Sorry about it and thanks wtof1996 for reporting it.
It also skips the UTF-8 BOM added by some text editor to the .lua file to convert. Hopefully the popup ”An error was found in the format of this document” won’t annoy you anymore.
oclua (v0.1a) has also been rebuilt with this Luna to you let you use the new OS 3.2 Lua API.
The release of a possible official on-calc Lua editor is being too much delayed by TI. oclua was more of a proof-of-concept than an application ready to use. Fortunately yatto has worked on a nice editor called LuaCS which you can find on the French tiplanet.org. It features syntax highlighting, code snippets and indentation. Translation of menus is under way. It doesn’t yet offer native integration of a code runner and must be used together with oclua. Levak has started to work on this in his own (currently unstable) fork .

TI’s integration of Lua in the TI-Nspire was a first step for an officially supported true development experience, but is far from being complete. Let us put these projects to good use and explore how we can benefit from the new OS 3.2 Chimpmunk-based physics engine!
v0.3 of Luna is now available!
- This version can generate Lua programs compatible with OS v3.2′s new Lua API. Thanks to jimbauwens for the hint.
- It also fixes conversion issues with Lua scripts and documents which contain special characters. The whole UTF-8 encoding space is now supported, just make sure to save your input file in UTF-8.
Luna is a lightweight, portable, command-line Lua to TNS converter for TI-Nspire developers. It has been used for now nearly a year by Windows, Mac and Linux users as an alternative to TI’s official SDK to streamline their Lua development cycle. It is also used to generate custom TI-Nspire documents with full control on their format.
Luna powers Deep Thought online Lua converter and tiplanet.org’s nCreator, a Web-based Notes editor.
27 months since Ndless v1.0 was released, opening the TI-Nspire calculator to third-party development,
28000 downloads of Ndless v3.1 since January 2012,
3.2 compatibility hopefully coming.
Thank you for your support!
Here’s an early preview of USB mouse support with Ndless:
Support for USB keyboard is currently very unstable but on the way.
Stay tuned, more soon.
Long was the time when Ndless introduced rudimentary graphics functions such as setPixel() in its Particles demo… The lack of a fully-fledged GUI API has for a long time discouraged many developers from trying their hands on native development on the TI-Nspire.
Two major contributions are about to make significant changes on our development experience with Ndless:
- totorigolo has released v0.3 of his nRGBlib library, which adds double-buffering, arbitrary image drawing and a desktop map editor [download]
- hoffa has worked hard on nSDL [topic on Omnimaga], a port of the popular multimedia SDL library. The latest version even includes smooth mouse support. Credits to atiatini for the plasma effect.
No more excuse not to try out native development on the TI-Nspire!
Levak contributed to Ndless with 3 new interesting libndls functions to help you write simple native programs with user input: show_msg_user_input(), show_1numeric_input() and and show_2numeric_input()


These functions are available in Ndless v3.1 r611.
As there is more and more reusable code being shared as static libraries for Ndless programs, the latest update of the Ndless SDK (r604) can use a directory called .ndless/ found in ${USERPROFILE} (C:/Users/<Your Account> on Windows), automatically created by nspire-gcc and nspire-ld.
Just drop the header file (.h) and the archive file (.a) of the libraries your programs depend on in .ndless/include and .ndless/lib to use them. This avoids any migration when updating the Ndless SDK or hard-coded paths in your Makefile.
Hackspire describes how to set this up in more details. Make the TI-Nspire native development experience even better, share your code as libraries!
Debugging without debugger can sometimes be a pain. For instance host USB isn’t implemented by the TI-Nspire computer emulator nspire_emu, and troubleshooting my USB drivers on-calc is becoming impossible.
I have decided to implement OCD, an on-calc debugger that mirrors most of nspire_emu debugger’s commands. I know calc84maniac started something similar a while ago, but unfortunately lost its source code.
The debugger must be linked to the program to debug as a static library. The debugger console will show up when a breakpoint is hit.
TI-Nspire developers, download it and help me improve it :) It hasn’t been extensively tested yet, please report any issue. It isn”t yet compatible with the CX because of nspireio on which it depends.
Many thanks to Goplat for some tricky code I have reused from nspire_emu such as the disassembler, and compu for the nice nspireio library I have slightly adapted for my needs.
Here’s an early preview of USB-host support for native (Ndless) TI-Nspire programs. The TI-Nspire OS uses a customized version of the *BSD USB stack (and by the way does not respect the terms of the BSD license which requires that “redistributions in binary form [to] reproduce the [*BSD] copyright”). This means that writing community USB drivers with *BSD usbdi API should be possible, and porting existing *BSD drivers much easier.
The demo only requires a few lines of code. It runs in background and just displays the vendor and product info as returned by usbd_devinfo() at the top of the screen (you may need to zoom in to see it) when the USB device is plugged in. I unfortunately cannot take any video, my camera would make it too blurry.
I have successfully tested a flash drive, a mouse dongle and my old Sony eBook Reader. Strangely my Android phone wouldn’t advertise itself, maybe because 10 years separate the old TI-Nspire USB stack and the one used by the phone…






