tangrs contributed many months ago to the support of C++ for Ndless with a bFLT loader and patches for the toolchain. Unfortunately the vanilla elf2flt couldn’t handle all the relocations produced by the latest GCC for ARM, including those required when linking with nSDL, hoffa’s port of the Simple DirectMedia Layer library. I’m today excited to announce:
- Ndless SDK r825 (or higer) with C++ support and the new bFLT binary format for Ndless programs, which becomes the recommended format to use.
- Ndless r825 (or higher), required to run programs written with C++ and nSDL
- Ndless SDK YAGARTO/MSYS components r825 (or higher) for Windows users. Linux users can use the updated installation script to install and patch elf2flt required by the new bFLT format.
C++ and nSDL now offers interesting opportunities to bring nice software to the TI-Nspire calculator. I have personally tried a quick and dirty port of GDO’s Advanced Tetris: Porting a simple graphical program means remapping the keys, relaying out the display and other straightforward minor adjustments. Source code is provided for the curious. Get Advanced Tetris for the TI-Nspire!
Very nice!
Btw, I started working on an iostream-like interface for Nspire I/O in C++, maybe I’ll get that finished in the next weeks :)
Great, good idea :)
On GNU/Linux, the patch in the SDK doesn’t work, because the macros defined are put into cygwin-elf.h, and in GNU/Linux, the system’s elf.h is included, not cygwin-elf.h. The patch at the following link works for me:
http://pastebin.com/YgHrPqLz
Also, I added elf2flt installation to the script provided on the wiki:
http://pastebin.com/8huc0Uy7
Many thanks, I’ve updated the wiki.
If you want an account to update it yourself in the future, you can ask one to squalyl: http://hackspire.unsads.com/wiki/index.php/Main_Page#Registration_disabled.
Ndless downloading link is broken, as well as the SDK. Please fix :)
You’re right, sorry about that, it’s fixed. You can use the latest versions of the packages at http://www.unsads.com/projects/nsptools/downloader .
Thanks!!
After I originally commented I appear to have clicked on the -Notify me when new comments are added- checkbox andd
now every ttime a comment is added I get four emails with the
same comment. Is there an easy method you are able to remove me from that service?
Cheers!
Hi,
Sorry for the trouble. I can’t do it myself as an admin, but you may try to unsubscribe yourself from this page: http://wordpress.com/following/edit/