CodeWalrus

Development => Calculators => Calculator News, Coding, Help & Talk => Topic started by: critor on January 02, 2016, 09:22:35 PM

Title: Ndless 4.0.3 released !
Post by: critor on January 02, 2016, 09:22:35 PM
Today is released the brand new version of Ndless, now compatible with the latest Nspire OS to date: 4.0.3 ! :)
(https://i.imgur.com/oEsrtC2.png)

For those who are not aware, Ndless is the "jailbreak" of the TI-Nspire, which allows you to run programs much more powerful than what TI normally allows (Basic, Lua), as they can be written in C/C++/ASM ("native" programming).

You can now enjoy your favorite Ndless programs on your Nspire CX or CX CAS.
For instance (in reverse order of release/update):
Title: Re: Ndless 4.0.3 released !
Post by: Legimet on January 02, 2016, 09:42:17 PM
And this time, re-installation after a reboot doesn't require a computer as it did in Ndless 3.9! :)
Title: Re: Ndless 4.0.3 released !
Post by: novenary on January 02, 2016, 10:07:06 PM
Great job guys, I'm sticking with os 3.1 though. :P
Title: Re: Ndless 4.0.3 released !
Post by: Vogtinator on January 02, 2016, 10:09:23 PM
Quote from: Streetwalrus on January 02, 2016, 10:07:06 PM
Great job guys, I'm sticking with os 3.1 though. :P
Ndless 4.0.3 support OS 3.1, just keep your installer.
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on January 02, 2016, 10:10:53 PM
w00t! Good job. I also like that it doesn't require a computer, so CW Walrii contest is now open to OS 4.0.x entries too . :)
Title: Re: Ndless 4.0.3 released !
Post by: novenary on January 02, 2016, 10:11:44 PM
Quote from: Vogtinator on January 02, 2016, 10:09:23 PM
Ndless 4.0.3 support OS 3.1, just keep your installer.
Yup, as usual. I use Nlaunchy for that.
Title: Re: Ndless 4.0.3 released !
Post by: alexgt on January 02, 2016, 10:25:29 PM
Wooo Hooo!!!! I am on Ndless 3.6 should I upgrade since 4.0.3 adds some new features??? or should I stick with 3.6...
Title: Nspire OS 5.0 coming out tomorrow, fixing exploit used by Ndless 4.0.3
Post by: Dream of Omnimaga on January 02, 2016, 10:44:28 PM
It depends. If memory is a concern for you, then you should stick to OS 3.1 or 3.6. Otherwise, you can switch to 4.0 (although I don't really see the need if you don't need the calc in tests, since most Lua games run on OS 3.6). Avoid 3.9, though, because using Ndless is a major PITA on that OS.

And who bet that the title of my post will become reality to a certain extent? <_<
Title: Re: Ndless 4.0.3 released !
Post by: semiprocoder on January 02, 2016, 10:46:10 PM
lol, well fortunately my calc doesn't come with that(although imagine they actually put wireless recievers, but only ones that recieve oses). I shall now commence the upgrade!(I hope it works).
Edit: It worked!
Title: Re: Ndless 4.0.3 released !
Post by: alexgt on January 02, 2016, 10:49:58 PM
Yeah, the only space issue I have is it takes 8+ seconds to open the files xD, and any tests I will use a clac on I will use my Prime since it is super powerful and as fast as )(#)$(*&# :P (Also 64 bits of calculation goodness ^.^)
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on January 02, 2016, 10:51:06 PM
That would be nasty, especially if it downloaded OSes from a free network without the user's consent then once done downloading successfully it tried installing as soon as ideal conditions (eg full battery) are met. It reminds me back when updating Nspire Student Software caused your automatic upgrade options to be enabled again after you disabled them, so people would inadvertently upgrade their Nspire as soon as they connected it to their computer while TINSS was open. After multiple incidents, someone on Omnimaga posted a trick to block connections to/from TI or something, which you had to put in your hosts file IIRC.

Quote from: alexgt on January 02, 2016, 10:49:58 PM
Yeah, the only space issue I have is it takes 8+ seconds to open the files xD, and any tests I will use a clac on I will use my Prime since it is super powerful and as fast as )(#)$(*&# :P (Also 64 bits of calculation goodness ^.^)
I have a bit of concerns about the space that OS 4.0 takes, because it doesn't even fit on a clickpad/touchpad, which means it's well over 32 MB.
Title: Re: Ndless 4.0.3 released !
Post by: critor on January 02, 2016, 10:57:31 PM
Quote from: alexgt on January 02, 2016, 10:49:58 PMYeah, the only space issue I have is it takes 8+ seconds to open the files xD
Open or list ?

The Nspire file browser is very slow if you have lots of files.
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on January 02, 2016, 10:58:16 PM
Yeah I saw that. I did not notice any speed drop between 3.1 and 3.6, though. Are there any in newer OSes?

Also how is battery usage with OS 4.0.3?
Title: Re: Ndless 4.0.3 released !
Post by: semiprocoder on January 02, 2016, 11:04:12 PM
NVM.

Also, do all apps work with the new ndless(is it fully backwards compatible)?
Title: Re: Ndless 4.0.3 released !
Post by: critor on January 02, 2016, 11:06:51 PM
For now, all recent apps (3.6/3.9) we've tested are working except nClock.
Title: Re: Ndless 4.0.3 released !
Post by: semiprocoder on January 02, 2016, 11:21:04 PM
Also, how do you make it so that pressing escape on the gameboy emulator doesn't restart the calc(thus uninstalling ndless, forcing me to reinstall it every single time)?
Title: Re: Ndless 4.0.3 released !
Post by: alexgt on January 02, 2016, 11:25:44 PM
You can't :/ but you could if there is a way to down grade to 3.1 :P
Title: Re: Ndless 4.0.3 released !
Post by: Vogtinator on January 02, 2016, 11:29:00 PM
Quotethat pressing escape on the gameboy emulator doesn't restart the calc
That shouldn't happen. Which game? Does it work on 3.1, 3.6, 3.9?
Title: Re: Ndless 4.0.3 released !
Post by: semiprocoder on January 02, 2016, 11:38:17 PM
It does cause it to reboot. I just don't want it to cause I don't feel like reinstalling ndless each time. Its not a big annoyance so I am not complaining, just if there is a way to stop it from rebooting that would be nice.
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on January 03, 2016, 02:27:59 AM
IIRC, the GB emulator uses ASM. Could it be using OS-specific memory addresses?
Title: Re: Ndless 4.0.3 released !
Post by: alexgt on January 03, 2016, 03:47:39 AM
Or just use the NES emulator, lawn mover is my fav ^.^
https://www.youtube.com/watch?v=LVw-TELhNvk
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on January 03, 2016, 05:00:39 AM
I fixed two of the links in the first post, per Adriweb request. The tutorial link was broken and the file now links to Github.
Title: Re: Ndless 4.0.3 released !
Post by: Lionel Debroux on January 03, 2016, 07:04:29 AM
QuoteNspire OS 5.0 coming out tomorrow, fixing exploit used by Ndless 4.0.3
Not exactly tomorrow, but probably by the end of February, indeed, if their usual timelines (code fix in a matter of days, then a month or so of testing) hold.
Title: Re: Ndless 4.0.3 released !
Post by: critor on January 03, 2016, 02:41:39 PM
I've had a look at nClock, and noticed the author hadn't even updated it for Ndless 3.9, the latest version dating from March 2014. :o
So with the help of Vogtinator, we've worked on catching up.

nClock 1.0.7 new features :
(http://i.imgur.com/BinyP95.png)

TI-Nspire CX non-CAS 3.9.1 and TI-Nspire CAS 3.9.0 aren't supported for now.

Download : https://tiplanet.org/forum/archives_voir.php?id=4416
Title: Re: Ndless 4.0.3 released !
Post by: alexgt on January 03, 2016, 04:18:59 PM
Nice critor, I use that quite a lot actually ;)
Title: Re: Ndless 4.0.3 released !
Post by: semiprocoder on January 03, 2016, 05:09:58 PM
What can I do? Cause my calc is now stuck at the loading thing after loading the os.
(http://s22.postimg.org/7urdabhap/P_20160103_120404.jpg)

What I did was I installed zlock. Then I accidentally typed in a few random letters, and then pressed enter.
I thus deleted and reinstalled zlock, instead of uninstalling and reinstalling, cause well, idk why.
Then I ran ndless, leading me to a lock screen that I couldn't open.
Finally, I pressed the button on the back, rebooting my calc and going into that screen.
Title: Re: Ndless 4.0.3 released !
Post by: critor on January 03, 2016, 05:16:56 PM
@semiprocoder You have nSonic2MS which, in my opinion, offers you a much better protection than zLock.

Such problem can happen after a crash - it's not specific to Ndless.
You need to run the Diagnostic software :
The diagnostic software should start immediately and tell you about a GPIO error.
Press [esc] to fix it.
And then, reset. :)
Title: Re: Ndless 4.0.3 released !
Post by: semiprocoder on January 03, 2016, 05:19:43 PM
Thanks it works now! Yay! Thank you so much!
Title: Re: Ndless 4.0.3 released !
Post by: Max Leiter on January 03, 2016, 05:31:56 PM
Maybe its time to get an Nspire, this looks awesome.
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on January 03, 2016, 08:09:37 PM
Keep in mind that TI will most likely block Ndless and downgrades in the next OS release at any moment, though. So make sure to get a calc that runs OS 4.0.3 or lower.
Title: Re: Ndless 4.0.3 released !
Post by: alexgt on January 03, 2016, 08:32:21 PM
Yeah if you are going to get a Nspire get it soon <_<
Title: Re: Nspire OS 5.0 coming out tomorrow, fixing exploit used by Ndless 4.0.3
Post by: Strontium on January 06, 2016, 04:32:39 AM
Quote from: DJ Omnimaga on January 02, 2016, 10:44:28 PM
It depends. If memory is a concern for you, then you should stick to OS 3.1 or 3.6. Otherwise, you can switch to 4.0 (although I don't really see the need if you don't need the calc in tests, since most Lua games run on OS 3.6). Avoid 3.9, though, because using Ndless is a major PITA on that OS.

And who bet that the title of my post will become reality to a certain extent? <_<

can confirm
Title: Re: Nspire OS 5.1 coming out, fixing crashing bug introduced by 5.0 exploit fix
Post by: Yuki on January 06, 2016, 04:51:44 AM
Quote from: Strontium on January 06, 2016, 04:32:39 AM
Quote from: DJ Omnimaga on January 02, 2016, 10:44:28 PM
It depends. If memory is a concern for you, then you should stick to OS 3.1 or 3.6. Otherwise, you can switch to 4.0 (although I don't really see the need if you don't need the calc in tests, since most Lua games run on OS 3.6). Avoid 3.9, though, because using Ndless is a major PITA on that OS.

And who bet that the title of my post will become reality to a certain extent? <_<

can confirm

You say? Otherwise, pretty nice it got released. Like, just today I recommended Ndless to a new Nspire CX user on my Facebook feed, how great is that?
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on January 06, 2016, 04:53:26 AM
Good idea. If he ever needs more help, feel free to direct him here by the way :) (since not many people on FB might know calc stuff)
Title: Re: Ndless 4.0.3 released !
Post by: semiprocoder on January 07, 2016, 12:24:53 AM
Quote from: critor on January 03, 2016, 02:41:39 PM
I've had a look at nClock, and noticed the author hadn't even updated it for Ndless 3.9, the latest version dating from March 2014. :o
So with the help of Vogtinator, we've worked on catching up.

nClock 1.0.7 new features :
  • Full Ndless 4.0.3 support
  • Partial Ndless 3.9 support :
    • TI-Nspire CX CAS 3.9.1
    • TI-Nspire non-CAS 3.9.0
(http://i.imgur.com/BinyP95.png)

TI-Nspire CX non-CAS 3.9.1 and TI-Nspire CAS 3.9.0 aren't supported for now.

Download : https://tiplanet.org/forum/archives_voir.php?id=4416

The download still has nclock 1.0.6(well at least the big download button). I really didn't notice(cause I didn't read the version number in the readme cause I just assumed it was up to date, but I noticed upon removing everything but nclock from startup and still having my calc crash ~every 10 minutes. Other than the crashing though nclock was really.
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on January 07, 2016, 06:06:14 AM
By the way, I wonder if old games from Ndless 1.1 through Ndless 2.0 days would be compatible with Ndless 4.0.3 or if there would be ways to support them?
Title: Re: Ndless 4.0.3 released !
Post by: Adriweb on January 07, 2016, 08:06:58 AM
Works fine for me (CX 4.0.3)
Title: Re: Ndless 4.0.3 released !
Post by: critor on February 10, 2016, 01:33:35 PM
We have some reports that Ndless 4.0.3 installation does fail on new TI-Nspire CX assembled since November 2015.

They're using a new hardware revision: HW-W.
The hardware revision can be checked on the back. For example, below is a TI-Nspire CX HW-J :
(https://i.imgur.com/D10v5ZDm.jpg) (https://i.imgur.com/D10v5ZD.jpg)

The new HW-W is coming with a new Boot1 4.0.1.43 instead of 3.0.0.99 :
(https://i.imgur.com/tUyX98H.png)


In order to patch Ndless 4.0.3 if possible, the first thing to do for the Ndless team would be to get a TI-Nspire CX HW-W.
And unfortunately, you don't know the hardware revision when you buy a new TI-Nspire CX, as you cannot check the back of the calculator.

If some of you have such a calculator, could you take some nice pictures of its front, so that we can check if there are any tiny design changes which may help indentifying them in shops ?

Thank you very much.


Source : https://tiplanet.org/forum/viewtopic.php?t=17934&p=196612&lang=en#p196612
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on February 10, 2016, 05:15:58 PM
Thus sucks, but I am surprised they didn't release those calcs 24 hours after Ndless 4.0.3came out. It would be interesting to investigate, though. I hope Ndless 4.0.4 or so on won't be like 3.9 (could only install if connected to some devices or a PC). Let us know about future discoveries.
Title: Re: Ndless 4.0.3 released !
Post by: critor on February 10, 2016, 10:36:59 PM
Some news.

We've been shared some logs.
The new HW-W calculators are in fact TI-Nspire CX CR4.

We've also been shared some pictures.
Back of HW-O + HW-W :
(https://tiplanet.org/forum/gallery/image.php?mode=thumbnail&album_id=47&image_id=3902) (https://tiplanet.org/forum/gallery/image_page.php?image_id=3902) (https://tiplanet.org/forum/gallery/image.php?mode=thumbnail&album_id=47&image_id=6540) (https://tiplanet.org/forum/gallery/image_page.php?image_id=6540)
Notice a significantly smaller battery door for HW-W.
But this doesn't imply a new battery, as the Samsung one used in HW-O calculators wasn't even taking all the space to begin with :
(https://tiplanet.org/forum/gallery/image.php?mode=thumbnail&album_id=47&image_id=3903) (https://tiplanet.org/forum/gallery/image_page.php?image_id=3903)

Source : https://tiplanet.org/forum/viewtopic.php?t=17945&p=196726#p196726
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on February 10, 2016, 11:24:21 PM
I sure hope the battery has the same capacity because if it lasts shorter that could be annoying during exams. >.<
Title: Re: Ndless 4.0.3 released !
Post by: SiphonicSugar on February 11, 2016, 01:45:56 AM
I still don't understand why the TI-84 Plus has a clock in the regular OS, but the TI-Nspire doesn't...
Title: Re: Ndless 4.0.3 released !
Post by: Dudeman313 on February 11, 2016, 03:18:28 AM
That just makes no sense.
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on February 11, 2016, 06:25:57 PM
The 84+ clock is useless because it resets to 12 AM, Jan 1st 1997 everytime your calculator crashes. The ones who made the 84+CSE/CE OSes probably just decided that getting rid of that feature would just take longer than porting it and they probably didn't implement it on the Nspire in case it reseted on every reboot. The other possibility is that maybe the Nspire was developed by a different team and they didn't think about adding that feature.
Title: Re: Ndless 4.0.3 released !
Post by: Ivoah on February 11, 2016, 06:34:53 PM
Quote from: SiphonicSugar on February 11, 2016, 01:45:56 AM
I still don't understand why the TI-84 Plus has a clock in the regular OS, but the TI-Nspire doesn't...

The Nspire does have a clock, you just can't access it normally. You need something like nClock (https://tiplanet.org/forum/archives_voir.php?id=4416)
Title: Re: Ndless 4.0.3 released !
Post by: Springyboy on February 24, 2016, 07:47:37 AM
Quote from: semiprocoder on January 02, 2016, 11:21:04 PM
Also, how do you make it so that pressing escape on the gameboy emulator doesn't restart the calc(thus uninstalling ndless, forcing me to reinstall it every single time)?

Go to the link on tiplanet which I can't post and download the new gbc4nspire emulator, I had the same issue but this finally fixed it

Jim
Title: Re: Ndless 4.0.3 released !
Post by: pimathbrainiac on February 24, 2016, 07:27:15 PM
BTW you can download version 0.92 from here (http://www.ticalc.org/archives/files/fileinfo/426/42630.html), which is the latest version and was uploaded by the calc84maniac, the author.
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on February 24, 2016, 07:30:30 PM
I didn't know he was still working on it :O
Title: Re: Ndless 4.0.3 released !
Post by: Vogtinator on February 24, 2016, 07:31:51 PM
QuoteI didn't know he was still working on it :O
Considering the source code is inaccessible, that would be a major PITA...
I fixed the bug (wrong struct size on stack -> overflow) with an hex editor and he uploaded the fixed version to ticalc.org.
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on February 24, 2016, 08:55:44 PM
Oh ok, I thought he managed to harvest the source from a disassembly or something a long time ago and used that to apply bug fixes.

And I see about who fixed it. I was surpsied at first because I thought calc84maniac was done with calc stuff since at least three years.
Title: Re: Ndless 4.0.3 released !
Post by: Vogtinator on February 24, 2016, 09:23:10 PM
QuoteAnd I see about who fixed it. I was surpsied at first because I thought calc84maniac was done with calc stuff since at least three years.
He helped a lot fixing it. Currently he's on the CEmu IRC channel :)
Title: Re: Ndless 4.0.3 released !
Post by: Dream of Omnimaga on February 24, 2016, 09:25:42 PM
Ah ok. Too bad he isn't in the main channels and forums anymore (or at least not active there). Some community members have decided to stay out of forums and work exclusively behind the scenes since the last few years.