Omnimaga

Omnimaga => Our Projects => Ndless => Topic started by: apcalc on November 01, 2010, 10:10:49 pm

Title: General Ndless Questions and Support
Post by: apcalc on November 01, 2010, 10:10:49 pm
Since there are many Ndless help/support threads popping up on Omnimaga, it might be best to consolidate all of the major questions/answers into one thread, which are listed below:

1. Where can I get a copy of OS 1.1?

Sadly, we cannot distribute copies of the TI-Nspire Operating Systems.  OS 1.1 is out there on the internet.  Just look around, you will eventually find it. :)

2. When will Ndless be released for an operating system other than 1.1?

Right now, official Ndless releases are only compatible with OS 1.1.  There are beta versions of Ndless that work on OS 1.4 and OS 1.7, but these versions are intended for developers and are not completely stable.  If you want, you can download the latest source code for Ndless here (https://www.unsads.com/scm/svn/nsptools/Ndless/trunk/). (guest/guest to log in).  Please note that you must build this version yourself, as it is intended for developers and is not stable.

3. Can I install OS 1.1 on my touchpad Nspire?

Technically, you can install OS 1.1 on any Nspire, but OS 1.1 is not compatible with the touchpad keypad.  Therefore, OS 1.1 will not work if you have the touchpad keypad in the Nspire.  You will get an infinite reboot if you use the touchpad with any OS lower than 2.0.  See the answer to question 4 if you have installed OS 1.1 but you do not have a touchpad.

4. I installed OS 1.1 on my calc, but now it is infinitely rebooting!!!?

If you are using the touchpad keypad, this is caused because OS 1.1 is not compatible with the touchpad keypad.  If you get an infinite reboot, you should delete the OS like so:

Hold down the following keys until a menu pops up:

Clickpad: Home, enter, p, on
Topuchpad: Doc, ee, enter, on

Then, select option 2 (Delete Operating System)

Finally, resend your desired OS to your Nspire.

5. I tried installing Ndless on OS 1.1 using Ndless 1.1.1, but it did not work!?

This can be caused by a number of factors.  Most commonly, this is caused because Ndless is not completely compatible with Computer Link Software version 1.4.  Try downgrading to version 1.3, which can be downloaded here (http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=440).

6. I installed OS 1.1 and Ndless 1.1.1, but now when I turn my calculator on, the screen does not turn on!

This is not caused by Ndless, but by a hardware change by TI that affects all TI-Nsprires running OS 1.1 made after 2007.  There is no known fix to this problem, but a workaround would be to have a Ndless document to reset the calc every time you turn it on, making the screen turn back on.  You can download a reset document, by calc84mainiac, here (http://otbp.tifreakware.net/files/reset.tns)

7. I tried installing Ndless 1.7 on my calc, but it froze and random pixels lit at the top!

With the latest version of Ndless 1.7 (SVN Update 315 or later), this is not too much of a problem anymore.  Update to this version if using a older version.  Most of the time, Ndless will now automatically reset your calculator if the instillation fails.

8. I want to write programs for the TI-Nspire.  Where can I get the information I need to get started?

First, follow the tutorial in the Ndless ReadMe file in order to set up an Ndless development.  After you have the development environment set up, visit Hackspire (http://hackspire.unsads.com/wiki/index.php/Main_Page), where you will find many resources documenting almost everything known about the Nspire!



If you have any additional questions or problems with Ndless, feel free to post them below and we will try to answer them promptly and add them to this original post.  Different issues can come up at any time, so don't feel bad about posting if your question is not in this post! :)
Title: Re: General Ndless Questions and Support
Post by: DJ Omnimaga on November 01, 2010, 10:13:55 pm
Nice, this should be helpful. I wonder if we should have some for Ndless 1.7 or if we should wait until it's officially out?
Title: Re: General Ndless Questions and Support
Post by: ExtendeD on November 02, 2010, 04:56:36 am
Excellent apcalc!

DJ Omnimaga: my personal attitude on Ndless 1.7 is to help anyone who can make it grow and become more stable with ideas, tests, fixes, ... I am least inclined to help end-users to play NES/GB games with Ndless 1.7, who could complain of its instability.
I think any FAQ in this direction would be useful.
Title: Re: General Ndless Questions and Support
Post by: DJ Omnimaga on November 02, 2010, 05:00:48 am
Ah ok :), I wasn't too sure. That said, if Ndless 1.7 is subject to change a lot on the final release, it might not be as useful for the one who wants to play games, since the FAQ would need to be rewritten then and the current builds are mostly for developers
Title: Re: General Ndless Questions and Support
Post by: DJ Omnimaga on November 07, 2010, 02:29:38 am
Aren't those links temporary, though? It seems like a session ID or something. I think he will need to go all the way from TI homepage and nagivate through the maze of links.
Title: Re: General Ndless Questions and Support
Post by: apcalc on November 07, 2010, 09:10:47 am
I believe they are temporary, as that link just brings me to the homepage.  This link, which I don't think is only temporary, will bring you to the page where all of the keypads are listed:  http://epsstore.ti.com/OA_HTML/ibeCCtpSctDspRte.jsp?section=11211

I can't navigate to just the clickpad without getting a temporary link.
Title: Re: General Ndless Questions and Support
Post by: DJ Omnimaga on November 07, 2010, 01:10:09 pm
Yeah same, now. I think it has to do with how they changed their site and requires you to login, now. I guess the only thing that can be done is posting the full navigation path.
Title: Re: General Ndless Questions and Support
Post by: codeslicer on November 07, 2010, 02:09:01 pm
Just select your site and reopen the link.

edit: ah I see now
Title: Re: General Ndless Questions and Support
Post by: apcalc on November 07, 2010, 02:12:18 pm
I think this is as close as we can get to a direct link:

http://education.ti.com/educationportal/sites/US/productDetail/us_nspire_keypads.html
Title: Re: General Ndless Questions and Support
Post by: DJ Omnimaga on November 07, 2010, 03:09:54 pm
I wouldn't be surprised if TI saw we can access some files directly (OS 1.7 and the like) and decided to respond by making links like that. X.x

I am glad that their computer softwares like TI-Graph Link are still easily linkable to, though ( such as http://education.ti.com/calculators/downloads/US/Software/Search/Results?cp=7 )
Title: Re: General Ndless Questions and Support
Post by: SatanicToothpaste on January 07, 2011, 04:25:00 am
Where exactly are the binaries, codes or files, and what do I do with them once they are acquired ???. With the lack of knowledge of nspireOS coding, I don't even know what language it IS in. Do I require any applications on my PC (such as activeperl) to compile it? I have, without intelligent wording, no idea how to program directly into NspireOS at all, not really knowing what Ndless "is" (a Ti-BASIC application?) at all in the first place :mad:. Is it already "halfway" compiled, compared to something such as S60 (being the most numerous and nonrestrictive mobile OS) and its .sis signing. Is there even an installer for ANY ndless distribution at all? At the most basic level, what exactly IS this???
Title: Re: General Ndless Questions and Support
Post by: fb39ca4 on January 07, 2011, 04:54:30 pm
Right now, ndless 1.7 is oficially released, you can download it fully compiled on ticalc.org. All you have to do to intall ndless is "open" your ndless document on the calc, and it installs itself. Now, you can run programs by simply opening them in the My Documents screen. Ndless programs are usually made in C or ARM asm, if you want to start programming, there is a tutorial on Hackspire (http://hackspire.unsads.com).
Title: Re: General Ndless Questions and Support
Post by: furyfight on February 20, 2011, 12:58:12 am
please help, i bricked my ti nspire with ndless 1.7, now it keeps resetting itself and i held doc, enter, EE, and then held on or clicked on, and it won't give me that menu to reset, please reply :(
Title: Re: General Ndless Questions and Support
Post by: apcalc on February 20, 2011, 02:25:40 pm
You have to hold down the keys until a menu shows up (or, at the point where the loading bar is about half way through).  Also, make sure you are using the correct key combinatin (if you are using a clickpad keypad, you must use home, p, enter, on).

After holding the keys down, hold them until a menu shows up.  At this menu, choose the option to delete the operating system.  Then, send a new OS (I assume that you are using the touchpad, send OS 2.0 or later, else it will not work).
Title: Re: General Ndless Questions and Support
Post by: furyfight on February 20, 2011, 02:30:26 pm
i fixed it thank you, i noticed i had to hold the keys beforehand i press the on. some other website keeps telling me to hold it when its loading
Title: Re: General Ndless Questions and Support
Post by: DJ Omnimaga on February 23, 2011, 04:14:29 am
Glad you got it fixed. Also welcome on the forums. :D
Title: Re: General Ndless Questions and Support
Post by: Munchor on March 04, 2011, 04:41:21 pm
Okay my problem is,

There are plenty of NDless programs and games, but the keys for Clickpad won't work (some of them) in the Touchpad.

Is there any way of changing this or the game makers have to make new, separate versions for Ndless 2.0?

Btw, Ndless 2.0 beta r369 works awesomely.
Title: Re: General Ndless Questions and Support
Post by: ExtendeD on March 05, 2011, 03:02:17 am
Unfortunately the authors have to update them, you should ask them directly.
Title: Re: General Ndless Questions and Support
Post by: sodium.777 on March 05, 2011, 04:55:09 am
is ndless on tinspire cx possible?
Title: Re: General Ndless Questions and Support
Post by: Lionel Debroux on March 05, 2011, 04:56:22 am
Possible, probably. Easy, probably not, as it's likely that TI will close the hole used by Ndless 1.7-2.0 and Nleash. We know they're trying to hire people to harden their OS.
Title: Re: General Ndless Questions and Support
Post by: Munchor on March 05, 2011, 05:03:15 am
Unfortunately the authors have to update them, you should ask them directly.

Thanks.
Title: Re: General Ndless Questions and Support
Post by: JosJuice on March 05, 2011, 08:12:44 am
We know they're trying to hire people to harden their OS.
When was this discovered? I haven't heard about it.
Title: Re: General Ndless Questions and Support
Post by: DJ Omnimaga on March 09, 2011, 12:17:19 am
Really? I didn't read about this anywhere. O.O
Title: Re: General Ndless Questions and Support
Post by: [red] on July 16, 2011, 03:37:05 pm
Well... I recently purchased a Touchpad Nspire (running version 2.1.0.631). I downloaded ndless 2.0 from ticalc and transferred it to my calculator. When I run the installer, the clock goes for a bit, pixely rows flash across the top of the screen, and it pops up with a window saying "Ndless installed successfully!". My problem is that it does not recognize other files that I put on the calculator, such as roms and the particle demo included with the download. Is it an issue with how I installed, transferred, formatted, etc.? I am doing this all off of an old dell with XP, but I could switch to a mac with 10.6. Also, it does recognize gbc4nspire (the touchpad version from mrakoplaz).

Edit: About half the time, the installer just freezes and resets the calculator.

Edit 2: If there would be a better place to ask this question, please let me know.
Title: Re: General Ndless Questions and Support
Post by: shrear on July 16, 2011, 04:24:47 pm
What do you mean exactly by "not recognized" ?
Title: Re: General Ndless Questions and Support
Post by: [red] on July 16, 2011, 04:29:42 pm
When I move a folder with a file inside, it just shows up on the calculator as an empty folder.
Title: Re: General Ndless Questions and Support
Post by: shrear on July 16, 2011, 04:53:52 pm
Does this only happen if Ndless is installed or also if it isn't?
Title: Re: General Ndless Questions and Support
Post by: [red] on July 16, 2011, 04:55:03 pm
It happens whether or not ndless is installed.
Title: Re: General Ndless Questions and Support
Post by: shrear on July 16, 2011, 04:56:03 pm
Do the files in question have a .tns extension?
Title: Re: General Ndless Questions and Support
Post by: [red] on July 16, 2011, 04:56:49 pm
They do not.
Title: Re: General Ndless Questions and Support
Post by: shrear on July 16, 2011, 04:58:54 pm
Thats it then. You can't send files without .tns extension to your calculator. Just add them like xxx.gbc -> xxx.gbc.tns, then it should work.
Title: Re: General Ndless Questions and Support
Post by: [red] on July 16, 2011, 04:59:44 pm
Just add the tag on?

Edit: It now recognizes the file, but gbc4nspire now doesn't want to work. Apparently the document format isn't supported, although it does have the tns tag (gbc4nspire_t.tns). In the past, I have been able to open it, although it said something to the effect of "no roms available.". Thanks for the help so far.
Title: Re: General Ndless Questions and Support
Post by: shrear on July 16, 2011, 05:06:18 pm
Yes that's what I say I think :)
Title: Re: General Ndless Questions and Support
Post by: [red] on July 16, 2011, 05:13:48 pm
That the emulator doesn't recongize the rom? I click on gbc4nspire and it comes up with an error saying "This document format is not supported. gbc4nspire_t.tns".
Title: Re: General Ndless Questions and Support
Post by: shrear on July 16, 2011, 05:16:58 pm
That does happen if ndless is not installed.
Title: Re: General Ndless Questions and Support
Post by: [red] on July 16, 2011, 05:18:54 pm
*Fail* Thanks. I forgot to reinstall after resetting. It now works perfectly. You're awesome, thanks for all your help!
Title: Re: General Ndless Questions and Support
Post by: shrear on July 16, 2011, 05:20:52 pm
No problem ;)
Title: Re: General Ndless Questions and Support
Post by: kyllopardiun on August 01, 2011, 01:02:34 pm
Hi, I am using the clickpad noncas with the OS 2.0.1 but always when I try to install the ndless it does reboot,

Am I too impatience? or a five times try should be enough?

//No cable connected
I am using the right installer 2.0.1
and ndless worked on the 1.7 version (I don't know if this means something )

Should I keep trying try to upgrade again to 2.1?
//if possible I don't wanna downgrade to 1.7

Thanks for all the fish!
Title: Re: General Ndless Questions and Support
Post by: kyllopardiun on August 07, 2011, 07:30:28 pm
I am sorry for double posting, but I really want to know this...  ???
Title: Re: General Ndless Questions and Support
Post by: Ashbad on August 07, 2011, 07:52:26 pm
Don't worry, that's not a double post ;)
Title: Re: General Ndless Questions and Support
Post by: kyllopardiun on August 07, 2011, 07:58:26 pm
Don't worry, that's not a double post ;)
BTW,
Do you know about my question?
Title: Re: General Ndless Questions and Support
Post by: Ashbad on August 07, 2011, 07:59:10 pm
Don't worry, that's not a double post ;)
BTW,
Do you know about my question?

Unfortunately, no.
Title: Re: General Ndless Questions and Support
Post by: tangrs on April 09, 2012, 03:10:07 am
Just a quick question, are Ndless syscalls reentrant?
Title: Re: General Ndless Questions and Support
Post by: ExtendeD on April 09, 2012, 04:09:28 am
I don't think so. A global variable ("saved_lr") is used, I don't know how this could be changed (see ints.c).
Are you trying to call a syscall from a callback passed to another one?
Title: Re: General Ndless Questions and Support
Post by: tangrs on April 09, 2012, 04:11:02 am
No, I was working on my multithreading POC and was wondering if I need to disable interrupts prior to syscalls
Title: Re: General Ndless Questions and Support
Post by: epic7 on April 21, 2012, 11:54:36 am
What are the screen dimensions?

How do I display integers (with nRGBlib)?

Title: Re: General Ndless Questions and Support
Post by: ExtendeD on April 21, 2012, 01:22:51 pm
The screen is 240x320.

Use something like this to convert it to a string:
char buf[20];
sprintf(buf, "%i", thenumber);

Then display the string with nRGBlib.
Title: Re: General Ndless Questions and Support
Post by: Levak on April 21, 2012, 01:50:18 pm
A smarter way to debug values on the handled is to user sprintf and show_msgbox =)
Title: Re: General Ndless Questions and Support
Post by: epic7 on April 21, 2012, 04:54:54 pm
The screen is 240x320.

Use something like this to convert it to a string:
char buf[20];
sprintf(buf, "%i", thenumber);

Then display the string with nRGBlib.
So the string is called buf in this example?

Also, is there a way to save high scores?
Title: Re: General Ndless Questions and Support
Post by: Levak on April 21, 2012, 06:24:07 pm
Also, is there a way to save high scores?

Writting in a file ?

Code: [Select]
FILE * f = fopen("/documents/mygame_highscore.tns", "w+");
char buf[integerSize(highscore) + 2];
sprintf(buf, "%d", highscore);
fputs(buf, f);
fclose(f);
refresh_osscr(); // refresh OS screen so that we can see the created file when we exit the program

Code: [Select]
int integerSize(int n) {
  int i;
  for(i = 0; n > 0; n/= 10, i++);
  return n
}
Title: Re: General Ndless Questions and Support
Post by: ExtendeD on April 22, 2012, 02:52:07 am
You can also use fwrite or fprintf for this (666th post!)
Title: Re: General Ndless Questions and Support
Post by: DJ Omnimaga on April 22, 2012, 09:22:42 am
I wonder... is self-modifying code possible in Ndless, as in highscores storing themselves inside their respective games rather than external files? I saw that happen often on the TI-83 Plus in the past.
Title: Re: General Ndless Questions and Support
Post by: Jim Bauwens on April 22, 2012, 09:25:45 am
I suppose so, but it isn't the most easy thing to do. Maybe someone can make a lib for it :)
Title: Re: General Ndless Questions and Support
Post by: DJ Omnimaga on April 22, 2012, 09:28:53 am
Actually I do not remember what was the main use on the TI-83 Plus since external data was often in appvar form anyway and did not take any space in the PRGM/apps menu, but on the TI-Nspire I notice that external files often clutter the TI-Nspire document explorer, and I remember people ranting about having too many files on the TI-83 Plus before, which tells me some TI-Nspire users might not like it very much to see their menu cluttered. It is particularly bad when you got 50 gbc4nspire ROMs with savestates. Of course there are folders, though.
Title: Re: General Ndless Questions and Support
Post by: epic7 on April 22, 2012, 09:31:51 am
I suppose so, but it isn't the most easy thing to do. Maybe someone can make a lib for it :)
That would be nice. /me thinks he'll skip high scores for now
Title: Re: General Ndless Questions and Support
Post by: Levak on April 22, 2012, 09:52:49 am
I wonder... is self-modifying code possible in Ndless, as in highscores storing themselves inside their respective games rather than external files? I saw that happen often on the TI-83 Plus in the past.

You can, but if the file size get modified, like if you recompile with extra stuff / updates, the highscore system will crash.
Title: Re: General Ndless Questions and Support
Post by: DJ Omnimaga on April 22, 2012, 09:55:44 am
Ok thanks for the info. :)

Also any executable code size limit or file size limit? On 68K calcs, I think it was 64 KB for both and on the 83+, a file cannot be larger than 65535 KB in archive and as large as the RAM allows in RAM, but the code limit on the 83+ for regular program files was 8.1 KB or 8.8 KB depending of where you ran it.
Title: Re: General Ndless Questions and Support
Post by: Jim Bauwens on April 22, 2012, 09:59:25 am
Levak, if you store the data on the end of the tns file, and you can get the size of it using Ndless there should not be any problem.
Title: Re: General Ndless Questions and Support
Post by: Levak on April 22, 2012, 02:23:11 pm
Levak, if you store the data on the end of the tns file, and you can get the size of it using Ndless there should not be any problem.
But you will lose highscore on each modification, it was a part of what I meant.
Title: Re: General Ndless Questions and Support
Post by: calc84maniac on May 14, 2012, 09:06:32 am
The fgets function seems to have a glitch:
Code: [Select]
char *fgets(char *str, int num, FILE *str2eam) {
char *str2 = str;
while (num--) {
char c = fgetc(str2eam); //THIS IS THE BUGGY LINE
if (c == EOF) {
*str2 = '\0';
return NULL;
}
*str2++ = c;
if (c == '\n')
break;
}
*str2 = '\0';
return str;
}

The c variable should be specified as an int, not a char -- it looks like the compiler treated the char as unsigned and optimized out the return NULL entirely! Plus, it is possible that an 0xFF character exists in the file, so signed char is not the way to go.
Title: Re: General Ndless Questions and Support
Post by: Levhitor on June 17, 2012, 12:01:13 am
Hello 0/
I Just got a new Nspire.
Its in the 3.0.2 OS, the problem is that now matter what i do the software manager will only let me upgrade to 3.2 and ignores 3.1.
What should i do?
Title: Re: General Ndless Questions and Support
Post by: TheNlightenedOne on June 17, 2012, 12:10:32 am
Levhitor, try to find a 3.1 download, and put it on your desktop. Open the TI-Nspire software and go to the file transfer page thing. Connect your Nspire and drag the installation file from your desktop to your Nspire.
Title: Re: General Ndless Questions and Support
Post by: Levhitor on June 17, 2012, 12:42:44 am
Already did it.
Downloaded it from http://tiplanet.org/
It seems the 3.2 installation left some Reg files or something to block it too...
At worst i think i will try tomorrow on another PC.
Title: Re: General Ndless Questions and Support
Post by: aeTIos on June 17, 2012, 10:40:41 am
As of now there is no ndless version for os 3.2
Title: Re: General Ndless Questions and Support
Post by: Levhitor on June 17, 2012, 02:41:38 pm
Im talking about the Student Software not the Nspire.
I Cant update to 3.1 in other computer neither.

My NSPIRE CX is in 3.0.2 when i try to update it wont let me.
"its wrong device" if i put the route of the 3.1 OS if not it wont even appear, only 3.2

What can i do :I
Title: Re: General Ndless Questions and Support
Post by: Lionel Debroux on June 18, 2012, 01:23:58 am
If you're transferring a 3.1 CX OS (with .tco extension) to your CX calculator, and it won't let you do so, uh... try to make a backup of the documents you created (if any), then go to the maintenance menu (you'll find the shortcut posted somewhere around) and use the option to completely reformat the calculator, and then proceed again to transfer the 3.1 OS :)

If that still doesn't work, well, I think that the next best thing you can do is to leave it at 3.0.2.1791.
3.2 has terrible speed regressions, some math functionality is still broken, and some of the new functionality that was added is certainly broken (and can break stuff at other places): TI has both a habit of creating bugs when they touch the code base (so who knows what they broke this time), and a habit of having inadequate validation procedures (we know this because for a while, multiple severe bugs have been found in the very few days after the public release)...
Title: Re: General Ndless Questions and Support
Post by: Levhitor on June 18, 2012, 01:39:32 am
I Fear that if i do that after formating it will force me to update to 3.2...
"3.0.2.1793" dosnt haves anyproblems ammirite...?

What could it be :I
Title: Re: General Ndless Questions and Support
Post by: Lionel Debroux on June 18, 2012, 02:01:27 am
Quote
I Fear that if i do that after formating it will force me to update to 3.2...
No reason why it should :)
Have you tried transferring 3.0.2.1793 anew, just to check you can ?

Quote
"3.0.2.1793" dosnt haves anyproblems ammirite...?
It has at least two known major problems:
* like all OS 3.x versions, it has math bugs that OS 2.x versions do not have;
* it sets an anti-downgrade protection to forbid transferring the 3.0.1.1753 OS, and any earlier OS; to get a chance of removing that anti-downgrade crap, you need to transfer OS 3.1.0.392 and Ndless 3.1.
Title: Re: General Ndless Questions and Support
Post by: ExtendeD on June 29, 2012, 05:31:02 pm
The fgets function seems to have a glitch:
Code: [Select]
char *fgets(char *str, int num, FILE *str2eam) {
char *str2 = str;
while (num--) {
char c = fgetc(str2eam); //THIS IS THE BUGGY LINE
if (c == EOF) {
*str2 = '\0';
return NULL;
}
*str2++ = c;
if (c == '\n')
break;
}
*str2 = '\0';
return str;
}

The c variable should be specified as an int, not a char -- it looks like the compiler treated the char as unsigned and optimized out the return NULL entirely! Plus, it is possible that an 0xFF character exists in the file, so signed char is not the way to go.

It's fixed in r643, thank you calc84maniac and hoffa, my apologies for this one: http://www.unsads.com/projects/nsptools/downloader/download/release/1
Title: Re: General Ndless Questions and Support
Post by: calc84maniac on July 30, 2012, 11:45:40 pm
I just found another problem with fgets. Here's the description of the return value:

On success, the function returns the same str parameter.
If the End-of-File is encountered and no characters have been read, the contents of str remain unchanged and a null pointer is returned.
If an error occurs, a null pointer is returned.

The fgets code currently returns NULL even if characters have been read and an EOF is reached. In addition, in the case that fgets reaches EOF at the first character, a null terminator is written even though the string must remain untouched.

Here's one way to fix it:
Code: [Select]
char *fgets(char *str, int num, FILE *str2eam) {
char *str2 = str;
while (num--) {
int c = fgetc(str2eam);
if (c == EOF) {
if (str2 != str)
break;
return NULL;
}
*str2++ = c;
if (c == '\n')
break;
}
*str2 = '\0';
return str;
}

Edit: You know, I should probably download the latest revision of Ndless before I critique code. Some issues have been solved, but the returning NULL upon any time EOF is reached is still wrong.
Title: Re: General Ndless Questions and Support
Post by: ExtendeD on July 31, 2012, 01:43:51 pm
r643 was fixing part of this but not all, thanks. Pushed to the SVN HEAD.
Title: Re: General Ndless Questions and Support
Post by: SpiroH on July 31, 2012, 08:59:02 pm
I've downloaded the latest release (r643) from the svn head. However, the 'Changes.txt' file dates back to 2012/01/19.
Is there a more up-to-date changelog?
Title: Re: General Ndless Questions and Support
Post by: Lionel Debroux on August 01, 2012, 12:37:45 am
You can just use the SVN log :)
Title: Re: General Ndless Questions and Support
Post by: Matrefeytontias on August 07, 2012, 06:39:21 am
Bump

I'm programming in C with Ndless and wondered if there was a list of available functions or Syscalls ..? Like a mini-tutorial about the specific stuffs of Ndless :)
Title: Re: General Ndless Questions and Support
Post by: Jim Bauwens on August 07, 2012, 06:49:52 am
Yup.
libndls, the Nspire specific C library: http://hackspire.unsads.com/wiki/index.php/Libndls
The standard C functions that are included: http://hackspire.unsads.com/wiki/index.php/Syscalls

For graphics you can use nSDL (https://github.com/Hoffa/nSDL/wiki) or nRGBlib (http://ourl.ca/14731). nRGBlib might be the easiest to use.
Title: Re: General Ndless Questions and Support
Post by: SpiroH on August 15, 2012, 12:54:24 am
1. The archive 'ndless-​v3.​1-​beta-​r643.zip' in "http://www.unsads.com/projects/nsptools/downloader/download/release/1"  has a folder name with embedded '?' (question mark) chars: i.e. "ndless-?v3.?1-?beta-?r643"
2. The '?' chars aren't visible in windows explorer.
3. Because these chars aren't allowed in windows's filepaths these files cannot be opened and ndless cannot be installed!
This did not happen in the previous version(s), eg. r632. It took me quite sometime to figure it out.
My two cents,

Title: Re: General Ndless Questions and Support
Post by: ExtendeD on August 15, 2012, 02:13:22 am
Thanks, it's fixed.
Title: Re: General Ndless Questions and Support
Post by: SpiroH on August 15, 2012, 03:18:58 am
Thanks, it's fixed.
I'm sorry, if i'm too picky about this, but i think is still there.
Title: Re: General Ndless Questions and Support
Post by: ExtendeD on August 15, 2012, 04:40:16 am
sorry about that. Can you tell me if r684 is ok for you?
Title: Re: General Ndless Questions and Support
Post by: SpiroH on August 15, 2012, 05:01:07 am
sorry about that. Can you tell me if r684 is ok for you?
Yes, r684 is fine for me. Thanks.
Title: Re: General Ndless Questions and Support
Post by: CompSystems on August 16, 2012, 09:42:52 am
Hello, I have a "TI-nspire CAS  With ClickPad" and OS version # 3.2.0.1219, Boot1 Code Version # 1.0.1.8916 and Boot2 Code Version # 3.0.1.131

That version of this Ndless I can install, thanks
Title: Re: General Ndless Questions and Support
Post by: Levak on August 16, 2012, 09:46:00 am
Hello, I have a "TI-nspire CAS  With ClickPad" and OS version # 3.2.0.1219, Boot1 Code Version # 1.0.1.8916 and Boot2 Code Version # 3.0.1.131

That version of this Ndless I can install, thanks
Downgrade to 3.1
Title: Re: General Ndless Questions and Support
Post by: CompSystems on August 16, 2012, 11:59:06 am
I can not install Ndless on my TI-nspireCAS OS 3.2.0...


Steps
0: In root of files I create a folder named "ndless"  OK
1: transfer "ndless_resources.tns" from ...\ndless-v3.1-beta-r685\calcbin\  OK
2  install the file "ndless_installer-3.1.0.tnc" ERROR

The operating system file is corrupt or invalid
Title: Re: General Ndless Questions and Support
Post by: KoolKai on August 16, 2012, 12:03:33 pm
I believe Levak was saying to downgrade to OS version 3.1.0.392 rather than ndless 3.1. OS 3.2 does not support ndless.
Title: Re: General Ndless Questions and Support
Post by: Hayleia on August 16, 2012, 12:07:40 pm
Yes, Ndless does not run on the OS 3.2 so you first need to install the OS 3.1
You can find it somewhere in this page (http://tiplanet.org/forum/archives_list.php?id=OS+Nspire). I believe this (http://tiplanet.org/forum/archives_voir.php?id=3720) is the exact OS you are looking for :)
Title: Re: General Ndless Questions and Support
Post by: TheNlightenedOne on August 16, 2012, 12:28:33 pm
Speaking of Ndless and OS 3.2, is there going to be an Ndless version for 3.2? I've heard mixed answers.
Title: Re: General Ndless Questions and Support
Post by: Hayleia on August 16, 2012, 12:36:01 pm
From what I understood, the OS 3.2 is so crappy and buggy that there is no point making Ndless working on it because it will soon be updated. I might be wrong though.
Title: Re: General Ndless Questions and Support
Post by: TheNlightenedOne on August 16, 2012, 12:38:46 pm
Yeah, I'm holding off on updating just for Ndless... Maybe there will be Ndless on a future Nspire OS though.
Title: Re: General Ndless Questions and Support
Post by: jwalker on August 16, 2012, 12:54:20 pm
same, I like playing doom when I get bored in school...
Title: Re: General Ndless Questions and Support
Post by: lkj on September 27, 2012, 09:25:15 am
Why does refresh_osscr() crash on a non-cx in the emulator (on a cx it works)?
Title: Re: General Ndless Questions and Support
Post by: Adriweb on September 27, 2012, 09:44:25 am
maybe the syscall calls some HW things that aren't implemented in the emulator ?
Title: Re: General Ndless Questions and Support
Post by: ExtendeD on September 27, 2012, 09:53:20 am
The non-CX address may be wrong, I'll check it (once again any patch for bug fixes or suggestions are welcome from anyone willing to contribute :)).
Title: Re: General Ndless Questions and Support
Post by: SpiroH on September 27, 2012, 11:35:31 am
Why does refresh_osscr() crash on a non-cx in the emulator (on a cx it works)?
The non-CX address may be wrong, I'll check it (once again any patch for bug fixes or suggestions are welcome from anyone willing to contribute :)).
btw, i've noticed the same is happenning with the 'srand() and 'rand()' calls. I mean, they work fine in cx and crash in non-cx (at least in the emulator they do).  Could you (ExtendeD) please check also these two calls are they are very much used in games. Thanks.

Title: Re: General Ndless Questions and Support
Post by: ExtendeD on September 27, 2012, 11:49:16 am
Sure, thanks for reporting it.
Title: Re: General Ndless Questions and Support
Post by: insomniac on October 09, 2012, 10:40:59 am
Hi, I have a calculator called TI-nspire CX CAS with OS version 3.2 and want to downupgrade it to 3.1 beta for GBA emulator and games. Using the computer link software and tried to install 3.1 version (.tcc file, yes its correct one for this calculator), but it says that "The operating system file is corrupt or invalid. Please go to education.ti.com to get a new OS file."  :banghead:

How could I get all this work??? Please Help me :-*
Title: Re: General Ndless Questions and Support
Post by: SpiroH on October 09, 2012, 10:47:32 am
Welcome to Omnimaga! You'll find what you need here, for sure. :)
See more here http://ourl.ca/17129 about a similar problem.

Title: Re: General Ndless Questions and Support
Post by: insomniac on October 09, 2012, 11:17:29 am
Thanks for the fast response!!! Thanks, that helped to make procress. I will ask more if i get more problems. (im not finished yet  :P)

EDIT: is there any software, which allow to play with GB Advanced games?
Title: Re: General Ndless Questions and Support
Post by: TIfanx1999 on October 09, 2012, 12:41:58 pm
Welcome to Omnimaga!

There are plenty of nSpire projects listed <a href=http://www.omnimaga.org/index.php?board=196.0>here</a>. As for a GBA emulator, you are in luck. The project thread for the GBA emulator can be found <a href=http://ourl.ca/16676>here</a>.
Title: Re: General Ndless Questions and Support
Post by: insomniac on October 10, 2012, 12:46:02 pm
Thanks very much  :)
Title: Re: General Ndless Questions and Support
Post by: epic7 on December 11, 2012, 05:13:52 pm
I got the new SDK and I can't get nRGBlib to work :(
Undefined reference, whatever that means
(http://img.removedfromgame.com/imgs/12-Untitled.png)
I know the code works; I've been able to compile before the SDK.
I copied nRGBlib's .h files to the /include folder, and the .a file to /lib.
Is there anything else I have to do?

Edit: Also does it for NspireIO, which already came with ndless...

NspireIO, in adition to "undeclared identifier/reference" says "implicit declaration" a few thousand times D:
Title: Re: General Ndless Questions and Support
Post by: lkj on December 12, 2012, 08:13:30 am
So building the helloworld sample in Ndless-SDK\_samples\helloworld gives errors, too?

Have you followed http://ndlessly.wordpress.com/native-development-intro/ (http://ndlessly.wordpress.com/native-development-intro/) when installing the SDK? Most importantly removing the old /bin and yagarto directories from PATH?
Title: Re: General Ndless Questions and Support
Post by: epic7 on December 12, 2012, 08:17:47 am
I tried to build the nspireio demo and that worked.
Also, I don't believe I ever installed the old non-sdk version on the computer I was using, I don't think the PATH was ever configured.
Title: Re: General Ndless Questions and Support
Post by: lkj on December 12, 2012, 08:35:32 am
Quote
4. Link "libRGB.a" to your project using the "-lRGB" to Nspire-gcc.

Do you have -lRGB written in your makefile?
Title: Re: General Ndless Questions and Support
Post by: epic7 on December 12, 2012, 10:55:45 am
Nope :P
And I assume that nspireio requires something similar
Title: Re: General Ndless Questions and Support
Post by: epic7 on December 15, 2012, 11:49:51 pm
Is there a limit to array size?
When I try to store large map data in an array, it crashes the emulator when it is too big

Also it doesn't recognize bool as a type :P
Title: Re: General Ndless Questions and Support
Post by: Levak on December 16, 2012, 04:12:34 am
Is there a limit to array size?
When I try to store large map data in an array, it crashes the emulator when it is too big
It depends what type of array you're trying to initialize. If you're putting this as a global variable this can be the cause.

Quote
Also it doesn't recognize bool as a type :P
Booleans have been introduced in c99 with a simple enum but are highly unportable since in C, any value is true and 0 is false.
In C++ it has became a specific type with operators overloading enabling this behavior to be standard.
I suggest you not to use the BOOL macros of Ndless and use int, short or char as your boolean.
Title: Re: General Ndless Questions and Support
Post by: epic7 on December 16, 2012, 11:07:51 am
It's inside of main(); so I think that's local.
It's defined as
int map[36][4][7][10]
Even though two of those dimentions are redundant.
Shortening it to
int map[252][40] causes it to crash, but that just may be from something in my code.
Title: Re: General Ndless Questions and Support
Post by: Levak on December 16, 2012, 11:12:08 am
int map[252][40] causes it to crash, but that just may be from something in my code.
You can use bkpt() to put a breakpoint and see what line causes the crash (using the emulator and the 'c' command).
Title: Re: General Ndless Questions and Support
Post by: Lionel Debroux on December 16, 2012, 11:16:31 am
Arrays on the stack cannot be larger than the size of the stack allocated to your program.

Code: [Select]
int map[36][4][7][10]General note: you should avoid multiple-dimension arrays (especially with such high dimension !), for efficiency reasons. Write your maps as a single-dimension array, and use accessor macros: this will avoid a huge amount of pointers ;)
Title: Re: General Ndless Questions and Support
Post by: epic7 on December 16, 2012, 12:25:53 pm
I guess I'll see if int map[10080] works.

What are accessor macros?
Title: Re: General Ndless Questions and Support
Post by: Levak on December 16, 2012, 12:32:42 pm
I guess I'll see if int map[10080] works.
You may use malloc() if you still have issues

Quote
What are accessor macros?
Code: [Select]
#define WIDTH 100
#define GET(Tab, X, Y) ((Tab)[(X) * WIDTH + (Y))
....

int tile = GET(my_tab, 69, 42);
Title: Re: General Ndless Questions and Support
Post by: epic7 on December 16, 2012, 01:44:16 pm
Tab being the array?
Title: Re: General Ndless Questions and Support
Post by: Adriweb on December 16, 2012, 01:47:58 pm
Nope, leave it like that : #define GET(Tab, X, Y) ((Tab)[(X) * WIDTH + (Y))
my_tab is your array, yes
Title: Re: General Ndless Questions and Support
Post by: epic7 on December 21, 2012, 09:35:57 pm
How would I go about reading/writing an array to a file?
For writing, I have
   FILE * f = fopen("/documents/miner/mapdata.tns", "w+");
   for(j = 0; j < sizeof(map); j++)
      fprintf(f, "%d", map[j]);
   fclose(f);
   refresh_osscr();

but it crashes.
I don't know what I'm doing :P
Title: Re: General Ndless Questions and Support
Post by: ExtendeD on December 24, 2012, 04:14:25 am
It seems correct. Are you sure that this is the piece of code which crashes?
Also can you try without refresh_osscr()?
Title: Re: General Ndless Questions and Support
Post by: calc84maniac on December 24, 2012, 10:33:55 am
sizeof gives size in bytes, not number of elements. You should really do:

for(j = 0; j < sizeof(map)/sizeof(map[0]); j++)

Edit: Also, I think your fprintf should probably print some whitespace too so you can actually read the numbers back later instead of getting an incomprehensible giant string of digits.
Title: Re: General Ndless Questions and Support
Post by: epic7 on December 24, 2012, 03:39:29 pm
My new code is

   int map[10120];
   //stuff
   FILE * f = fopen("/documents/miner/mapdata.tns", "w+");
   for(j = 0; j < 10120; j++)
      fprintf(f, "%d ", map[j]);
   fclose(f);
   //refresh_osscr(); removing this line fixes it


And that works. So it seems that refresh screws it up. Now how do I read this back into the array?
Title: Re: General Ndless Questions and Support
Post by: calc84maniac on December 24, 2012, 03:46:19 pm
FILE * f = fopen("/documents/miner/mapdata.tns", "r");
for(j = 0; j < 10120; j++)
   fscanf(f, "%d", &map[j]);
fclose(f);
Title: Re: General Ndless Questions and Support
Post by: epic7 on December 24, 2012, 04:15:22 pm
Does ndless support fscanf?
It throws an implicit declaration, and it also isn't included here (http://hackspire.unsads.com/wiki/index.php/Syscalls#stdio.h)
Title: Re: General Ndless Questions and Support
Post by: Deep Toaster on January 01, 2013, 09:04:13 pm
My my, someone should update the first post for Ndless 3 at some point...
Title: Re: General Ndless Questions and Support
Post by: epic7 on January 03, 2013, 07:59:38 pm
FILE * f = fopen("/documents/miner/mapdata.tns", "r");
for(j = 0; j < 10120; j++)
   fscanf(f, "%d", &map[j]);
fclose(f);


How do I put in scanf?
Compiler doesn't recognize it
Title: Re: General Ndless Questions and Support
Post by: Vogtinator on January 03, 2013, 08:02:21 pm
I think it's not implemented in ndless' os.h.
Try to compile without -nostdlib, but this will make your binary ~200KB larger.
Title: Re: General Ndless Questions and Support
Post by: epic7 on January 03, 2013, 08:05:18 pm
I don't see any -nostdlib in my makefile.
Title: Re: General Ndless Questions and Support
Post by: lkj on January 03, 2013, 08:12:09 pm
It's probably easier if you just use fread, the code you showed in the other thread seemed correct. fwrite is just the opposite and not more difficult to use.
Title: Re: General Ndless Questions and Support
Post by: epic7 on January 03, 2013, 08:22:25 pm
You mean something like this?

FILE *f = fopen("/documents/miner/mapdata.tns", "w+");
fwrite(map, sizeof(int), 32000, f); //32000 blocks in map
fclose(f);

FILE *f = fopen("/documents/miner/mapdata.tns", "r");
fread(map, sizeof(int), 32000, f);
fclose(f);

Title: Re: General Ndless Questions and Support
Post by: lkj on January 03, 2013, 08:37:21 pm
Something like that, yes. It looks good, but you possibly need "w+b" and "rb" because it's not text. Just test if it works :P
Title: Re: General Ndless Questions and Support
Post by: epic7 on January 03, 2013, 09:17:16 pm
Yup, that works :P
Title: Re: General Ndless Questions and Support
Post by: epic7 on January 04, 2013, 08:28:08 pm
I'm kinda confused as to why this works :P

fwrite(map, 1, 24000, f);
fread(map, 1, 24000, f);
These lines work and output a file 24k large, but I wonder why it works because the values stored in map are sometimes > 255, and I thought that this code would only work with 8 bit numbers.
Title: Re: General Ndless Questions and Support
Post by: Vogtinator on January 04, 2013, 08:33:23 pm
It works for all numbers, even something like
fwrite(map, 1, 3, f) with 24 bit integers :)
24000 * 1 byte(char) = 6000 * 4 byte(int)
fwrite and fread don't care about what they're writing/reading, you only have to give the size of your object.
Title: Re: General Ndless Questions and Support
Post by: Matrefeytontias on January 21, 2013, 08:33:01 am
Plop,

I've been encountering some problems with Ndless' UI features. This code :
Code: [Select]
show_msgbox_2b("Title", "Text", "Button 1", "Button 2");Gives that :

(http://img.removedfromgame.com/imgs/bugNdls.PNG)

And it's basically the same with show_msgbox_3b (displays a dialog box with 3 buttons) ; the labels are "Button 1Button 2Button 3", "Button 2Button 3" and "Button 3".

Also, this code just crashes nspire_emu :
Code: [Select]
char filename[256];
show_msg_user_input("Test", "Test this", "Default", &filename);
printf("%s", filename);
free(filename);

return 0;

I think that it's a bug with Ndless ...
Title: Re: General Ndless Questions and Support
Post by: Lionel Debroux on January 21, 2013, 09:56:51 am
You're freeing a memory location which was not allocated with malloc... which does, usually, precisely trigger a crash ;)
Title: Re: General Ndless Questions and Support
Post by: Matrefeytontias on January 21, 2013, 09:58:14 am
Hmhm, I'll try that, and the show_msgbox_2b bug ?

EDIT : nope, it crashes before the free(filename);, right after char *filename.
Title: Re: General Ndless Questions and Support
Post by: Levak on January 21, 2013, 10:19:18 am
Plop,

I've been encountering some problems with Ndless' UI features. This code :
Code: [Select]
show_msgbox_2b("Title", "Text", "Button 1", "Button 2");Gives that :

(http://img.removedfromgame.com/imgs/bugNdls.PNG)

And it's basically the same with show_msgbox_3b (displays a dialog box with 3 buttons) ; the labels are "Button 1Button 2Button 3", "Button 2Button 3" and "Button 3".

Not sure why, but in _show_msgbox.c, I found this
Code: [Select]
char button1_16[14];
char button2_16[14];
This explains your problem. Do not make your button text longer than 7 characters (without the \0).

If you have a text larger than 7 characters and don't want to wait ExtendeD to change the trunk, you can change it to
Code: [Select]
char button1_16[(strlen(button1) + 1) * 2];
char button2_16[(strlen(button2) + 1) * 2];

And later, change
Code: [Select]
char button3_16[14];

to

Code: [Select]
char button3_16[(strlen(button3) + 1) * 2];

And recompile libndls.a (Ndless).

Quote
Also, this code just crashes nspire_emu :
Code: [Select]
char filename[256];
show_msg_user_input("Test", "Test this", "Default", &filename);
printf("%s", filename);
free(filename);

return 0;

I think that it's a bug with Ndless ...

1) free() on a char filename[256] does crash, even in a computer program. filename[256] is a static allocation contrary to malloc.
2) filename[256] : you surely don't need this, look at the example in ndless/libndls/show_msg_user_input.c
You have to pass a pointer to your char array, but you should not initialize it ! Indeed, you don't know its size and putting arbitrary size (here 256) is a bad programming behavior.
3) Do not free if the popup returned -1, because the popup was canceled, there is no result, and your char array is not initialized. Again, checkout the sample code in ndless/libndls/show_msg_user_input.c
Title: Re: General Ndless Questions and Support
Post by: Matrefeytontias on January 21, 2013, 11:07:01 am
This code crashes :
Code: [Select]
int main()
{
  char *filename;

  if(show_msg_user_input("A", "B", "C", &filename) != -1) free(filename);
  return 0;
}

And I can't find any libndls directory in /ndless/ ... (I use the Ndl3ss SDK)

EDIT : second question on the go : why does libndls's refresh_osscr() crashes ? :banghead:
Title: Re: General Ndless Questions and Support
Post by: hoffa on January 21, 2013, 11:31:36 am
Indeed, you don't know its size and putting arbitrary size (here 256) is a bad programming behavior.
I don't want to be a nitpicker, but I have to disagree. In a practical context, using "big enough" buffers when dealing with arbitrary-sized strings is in many cases better than hassling around with a bunch of pointers and dynamically allocated memory. Using the latter method complexifies and bloats the code unnecessarily, gives the programmer additional responsibility (gotta compute the size of the data, malloc it, remember to free the memory, etc.), decreases the programs maintainability (as the code for that filename container is scattered around, when modifying bigger chunks better check it doesn't cause any undefined behavior), and generally the whatever academic perfection of the code doesn't outweigh the pain of dealing with such trivial stuff. We're not talking about security-critical government-class programs here, and it's not like there aren't any functions to avoid buffer overflows and whatnot.
I'm not saying you should be using statically allocated data for everything (quite the contrary usually), but for string buffers and such, a char buf[BUF_SIZE]; is usually good enough.
Title: Re: General Ndless Questions and Support
Post by: Levak on January 21, 2013, 02:01:44 pm
This code crashes :
Code: [Select]
int main()
{
  char *filename;

  if(show_msg_user_input("A", "B", "C", &filename) != -1) free(filename);
  return 0;
}
It runs fine for me. Update your Ndless (on the handheld) to the latest.

Quote
And I can't find any libndls directory in /ndless/ ... (I use the Ndl3ss SDK)
Okay ... in the sources, so here is the sample code :
Code: [Select]
   const char * title = "Title";
   const char * msg = "Element";
   char * defaultvalue = "default value";
   char * value;
   unsigned len = show_msg_user_input(title, msg, defaultvalue, &value);
   if (len >= 0)
   {
      printf("%s (%d)\n", value, len);
      free(value);
   }
   else
      puts("Canceled");
Quote
EDIT : second question on the go : why does libndls's refresh_osscr() crashes ? :banghead:
Same, I think your Ndless version on the handheld is not up to date.

Indeed, you don't know its size and putting arbitrary size (here 256) is a bad programming behavior.
I don't want to be a nitpicker, but I have to disagree. In a practical context, using "big enough" buffers when dealing with arbitrary-sized strings is in many cases better than hassling around with a bunch of pointers and dynamically allocated memory. Using the latter method complexifies and bloats the code unnecessarily, gives the programmer additional responsibility (gotta compute the size of the data, malloc it, remember to free the memory, etc.), decreases the programs maintainability (as the code for that filename container is scattered around, when modifying bigger chunks better check it doesn't cause any undefined behavior), and generally the whatever academic perfection of the code doesn't outweigh the pain of dealing with such trivial stuff. We're not talking about security-critical government-class programs here, and it's not like there aren't any functions to avoid buffer overflows and whatnot.
I'm not saying you should be using statically allocated data for everything (quite the contrary usually), but for string buffers and such, a char buf[BUF_SIZE]; is usually good enough.
I know, but this applies in a context you can't control the length of the string. Here, the popup does not limit the number of characters entered, and at first it was a 256 buffer. Some people complained because it crashes when you enter a 120 chars string, and indeed ... the popup does not limit it. Thus, without having to allocate a 1024 buffer, I prefer using the dynamic length String API the Nspire uses. I think this API is the only one that runs really nicely compared to a lot of things on Nspire development.
On the other hand, there is a place in the OS where it limits the string length to 256 because the buffer is 256 : The SaveAs popup. And this has sense, I agree.
Title: Re: General Ndless Questions and Support
Post by: Matrefeytontias on January 21, 2013, 02:14:59 pm
I'm using nspire_emu_easy from Ti-Planet, it's a version with Ndl3ss already in it. Do you think it could be the wrong version ?

And there is a SaveAs popup ? O.o I didn't see it.
Title: Re: General Ndless Questions and Support
Post by: Levak on January 21, 2013, 02:20:56 pm
I'm using nspire_emu_easy from Ti-Planet, it's a version with Ndl3ss already in it. Do you think it could be the wrong version ?
I've never heard of that before and I cannot find any archive having this name on TI-Planet.
But yeah, if Ndless is included in the archive, it is surely outdated. Ndless updates syscalls and developments tools in background a lot of times.

Quote
And there is a SaveAs popup ? O.o I didn't see it.
Yes and No. It is a syscall I did not added to Ndless for the moment as it is part of nFrame, still under development.
If you really want it, pick it up from ThemeEditor sources.
Title: Re: General Ndless Questions and Support
Post by: hoffa on January 21, 2013, 06:28:14 pm
I'm using nspire_emu_easy from Ti-Planet, it's a version with Ndl3ss already in it. Do you think it could be the wrong version ?
I'm pretty sure that's the all-in-one nspire_emu package I made. I think it has an older version of Ndless installed (that did have some issues), so I suggest you download the newest Ndless, install it on the emulator, and save the flash image.
Title: Re: General Ndless Questions and Support
Post by: epic7 on February 13, 2013, 08:45:14 pm
Is there an ndless sdk/editor for linux?
Title: Re: General Ndless Questions and Support
Post by: stuffstuff on September 22, 2013, 12:00:34 am
I have an nspire cx.
I currently have ndless v1.? (probably 1.0 or 1.1) and haven't updated it since.  Now, I want to get more games such as doom 2, and I want to use nlaunch (or nlaunchy?) to get cas functionality (I don't plan to take the ACT).
Do I need to get ndless 3.1, and should I?  Do I just download os 3.1 from tiplanet and then follow the nspire 3.1 instructions?
Is there any particular order that I should install nlaunch and ndless in?
Do I install nlaunch or nlaunchy?
Is there any way to find all user uploaded games for nspire cx ndless (and can I use games for the regular nspire ndless on the cx?)?
Title: Re: General Ndless Questions and Support
Post by: Lionel Debroux on September 22, 2013, 01:55:01 am
Quote
Do I need to get ndless 3.1, and should I?
Ndless 1.0 and 1.1 only work on the oldest OS 1.1 versions, and those are only for the Clickpad models. For a CX / CX CAS calculator, you need OS 3.1.0.392 and Ndless 3.1.

Quote
Do I just download os 3.1 from tiplanet and then follow the nspire 3.1 instructions?
Depends on the manufacturing date and hardware revision of your calculator. It's a group of 1 letter, 4 figures and 1 letter written on the back, at the right of the serial number.
If the last letter of that group is J or higher, you're in trouble: at the time of this writing, there's no way to do anything with those calculators. If it's H or lower, you can downgrade for OS 3.1 to work, either directly (if the calculator's boot2 is 3.10.16) or after reflashing the boot2 through a relatively cheap, widespread but extra equipment known as USB-RS232 TTL adapter.

Quote
Is there any particular order that I should install nlaunch and ndless in?
Yes, it's described in the instructions :)

Quote
Do I install nlaunch or nlaunchy?
nLaunchy is the newer, community-maintained version of nLaunch and nLaunch CX, which were made by unknown author(s).

Quote
Is there any way to find all user uploaded games for nspire cx ndless (and can I use games for the regular nspire ndless on the cx?)?
In the Omnimaga, ticalc.org and TI-Planet archives. There's also a site by compu, but I'm not sure how to date it is.
Title: Re: General Ndless Questions and Support
Post by: stuffstuff on September 22, 2013, 12:39:14 pm
It turns out that I had the right version of ndless already, but when I was installing nlaunchy, it wouldn't work.
I got stuck on step 9 (https://github.com/Excale/nLaunchy), where I had transferred the os, but I was continually rebooting, with no progress (past 60) after 3 minutes, and it said something like PP123... in the top left corner.  Then, after something like 10 tries, I went back to the maintenance menu and deleted the OS again, and now it asks me to install an os every time.  Sometimes it gives me an error, and sometimes it says success, but it always gets me back to the same place, 60%, saying Operating System not found...  How can I fix this?