Omnimaga

Omnimaga => Our Projects => Ndless => Topic started by: ExtendeD on September 19, 2010, 11:29:56 am

Title: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on September 19, 2010, 11:29:56 am
Ndless combines a resident program and utilities to open the TI-Nspire to third-party C and assembly development.

Ndless 1.7 (http://www.omnimaga.org/index.php?action=downloads;sa=view;down=598) is the latest stable release compatible with OS 1.7. This version is currently not compatible with the TI-Nspire Touchpad.
This topic is dedicated to discussions about this version.

Possible enhancements and known issues are available on the tracker (http://www.unsads.com/projects/nsptools).

You may browse the Development resources (http://hackspire.unsads.com/wiki/index.php/Main_Page#Development_resources) on Hackspire to start your own programs.

To build and hack into Ndless 1.7, follow src/doc/Ndess-Development.txt.

Ndless v1.1.1 (http://bytecode.fr/ti-nspire/ndless-v1.1.1.zip) is still available but support is dicontinued.



Issues to be confirmed:

If you happen to come across one of them, please report it.



Your help is needed:

- Post any bug report (http://www.unsads.com/projects/nsptools), source-level if possible
- Help us to extend (http://ourl.ca/7106/126013) the list of supported syscalls (http://hackspire.unsads.com/wiki/index.php/Syscalls)
- Any details, diagnostic or patch which would help fixing the defects identified (http://www.unsads.com/projects/nsptools/report/1) is extremely valuable
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Deep Toaster on September 19, 2010, 11:31:27 am
WHOO! IT'S HERE (almost)! :D

Great! No more messing with downgrading. Can't wait to see the final version out!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on September 19, 2010, 11:40:33 am
Nice to see this out!

Hopefully, a stable version will be out soon! :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Lionel Debroux on September 19, 2010, 11:48:36 am
Whether a stable version is released soon partially depends on us, users and programmers :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on September 19, 2010, 11:58:43 am
O_O qazz32?
thats a new one...

anywho, glad too see this is almost done, I hope that a stable 1.7 that WONT go away when I reboot will be here soon
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 19, 2010, 12:00:57 pm
Awesome! Good luck with fixing the bugs and errors. :) I might downgrade to 1.7 at one point to give it a try :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on September 19, 2010, 12:04:38 pm
  • (apcalc) Variables changed to theta:
    In the calc/spreadsheet apps, when a new variable is typed in, an undefined variable error is shown (as normal), and that variable is automatically "changed" to theta.
    When trying to name a column of a spreadsheet, it is automatically renamed to theta, unless a single letter variable name is used.
    Screenshot: http://www.mirari.fr/A5bc
For the spreadsheet columns, a workaround, I believe, is to name them before installing Ndless; they will not "change" just by installing Ndless, only new ones go to theta.  Also, I have found that this affects all non-single letter variables in any app.  For example, if I type, in a calculator app, "Define LibPub b(x)=x+5", this will show up in the catalog as "b", but if I type "Define LibPub btest(x)=x+5, it shows up as theta".  A workaround for the catalog programs would be just to name everything with single letter variables, and put a comment in the first of the program saying what it actually is to show up in the program description in the catalog.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on September 21, 2010, 08:20:33 am
We're going to have a "big" problem with Ndless 1.7 and the CAS TI-Nspire TouchPad.

It was perfectly possible to install and use Ndless 1.0/1.1 on both CAS and basic TI-Nspire TouchPad.


With the basic 1.7 OS, you should still be able to install and use Ndless 1.7 on the basic TI-Nspire TouchPad.
You'll just have to learn the new key-equivalents, or replace your TouchPad keypad with a ClickPad keypad.


On the CAS TI-Nspire TouchPad, the "big" problem we'll have to deal with, is that the CAS 1.7 OS won't boot correctly, with any of the 4 available keypads:
- with the CAS TouchPad keypad, you're getting a dialog box when the progress bar reaches 100%, saying something like "unrecognized keypad! install an official keypad! contact TI Education [ . . . ]", and the system doesn't seem to react to any key press
- with the basic TouchPad keypad, same thing
- with the 84+ keypad, same thing
- with the ClickPad keypad, the calculator just reboots when the progress bar reaches 100%

Those tests were done during the Nleash beta-testing, and published on TI-Bank:
http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=844


Despite I can boot all OSes 1.1-2.1 on my basic TI-Nspire TouchPad, I cannot with my CAS TI-Nspire TouchPad.

I only can boot 1.1-1.4, and 2.0-2.1 OSes on my CAS TI-Nspire TouchPad.
OSes 1.6 and 1.7 are sharing the same problem, and so are unusable for now.
Something has been changed on those OSes...


I hope we can find a way to trick those OSes... or we get Ndless 2.0 ;)
Whichever...
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 21, 2010, 01:28:52 pm
OMG Nice avatar ;D

Back on topic, sad news I see here :( I hope eventually Ndless can run on OS 2.0 and/or 2.1 for people who got the CAS :(
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on September 22, 2010, 06:27:11 pm
:( keep us updated for when the real deal is out!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Snake X on September 22, 2010, 07:10:05 pm
I hope eventually Ndless can run on OS 2.0 and/or 2.1 for people who got the CAS :(

that.. unfortunately includes me as i have a nspire cas w/touchpad (os 2.0.0.1188 atm)
but nice work!  :D
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Happybobjr on September 22, 2010, 10:19:34 pm
could someone build it for me. and send it to my email?

[email protected]
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 22, 2010, 10:51:13 pm
If anyone builds it I recommend asking ExtendeD's permission first, though, and preferably not post it in public so new people won't accidentally break their calc because they do not have experience with installing stuff
Title: Re: Ndless 1.7 for TI-Nspire
Post by: bwang on September 22, 2010, 11:38:29 pm
To those who already have working binaries:
The license does not restrict you from redistributing the binaries; however, ExtendeD would appreciate it if you ignore requests for the binaries, as it prevents unintentional data loss and/or leaked binaries.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 23, 2010, 12:04:41 am
Ok thanks for the clarifications. Personally, if I was someone else I would only redistribute them to the forum members who've been around for a while (or haven't posted much but have been around for a while on UTI/Cemetec/yAronet/TI-BANK/#ti). Just in case. Also such redistributing should come with a warning to avoid redistributing them to others.

Plus, you don't want to end up getting flooded by requests if everyone knows you are redistributing them.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: willrandship on September 24, 2010, 05:48:15 pm
I was thinking: is there any reason to wait to make games and progs that support the touchpad? You can still use them, even if the OS doesn't support them, since you're writing in raw asm, correct? I was thinking about getting myself one, so I can make some C headers and such. It would be nice to already have some touchpad stuff before it comes out.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: bwang on September 24, 2010, 06:19:21 pm
Correct. You interface with the memory mapped keys directly.
We might want to move the keymap to a separate file and have a keys-noncas.h and a keys-cas.h.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Happybobjr on September 24, 2010, 06:25:24 pm
does anyone know what stage 1.7 is at?
is it debugging, or still being coded?
When should we expect a release?

EDIT: i am Uber Dorkey
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 24, 2010, 06:33:44 pm
Under bug fixing, I believe.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: codeslicer on September 25, 2010, 03:49:34 pm
Anyone know if it will be possible to install 1.7 on CAS Touchpad, or will we have to wait till 2.0 for Touchpad support?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 25, 2010, 04:06:43 pm
I heard it is impossible on the CAS touchpad because apparently the OS will reboot non-stop, regardless of the keypad used. I could be wrong, though.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Happybobjr on September 25, 2010, 04:44:13 pm
why is it hard to make ndless for os 1.7 compared to 1.1?
shouldn't it be easy? as in they have to code for 1.1 so they need to find a work around to make it work in 1.7.


in other words, what will be the structural differences be of the two versions?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 25, 2010, 04:59:58 pm
Apparently, OS 1.7 itself just won't even work on the CAS Touchpad Nspire, while 1.1 and 1.6 do.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: codeslicer on September 25, 2010, 11:48:56 pm
Yeah that's the major problem. Also I think even if we could trick the Nspire into accepting it, the keymap would be different and the TouchPad wouldn't be supported.

I heard that once the bugs for 1.7 are fixed (Nspire for 1.7 was rewritten with many helpful changes, I believe), then porting for 2.0 will only require finding new "syscalls".  ::)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 26, 2010, 12:13:24 am
I'm not sure about 2.0 but I heard that it would not require much modifications to be ported. It seemed to be a matter of finding the different memory addresses for specific things.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on September 26, 2010, 10:14:43 am
hmm? there is a ndless 1.6?

or am I misreading your post?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on September 26, 2010, 10:17:53 am
I never heard of a Ndless 1.6.  OS 1.6 is probably what is being referred to.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: TC01 on September 26, 2010, 10:19:31 am
Yeah, OS 1.7, not Ndless 1.7. The CAS Touchpad won't boot OS 1.7 for some unknown reason, nothing to do with Ndless (if I understand it correctly).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on September 26, 2010, 10:24:04 am
ah, ok, nvmd then :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 26, 2010, 02:45:15 pm
What TC01 said. I have no clue why OS 1.1 would work but not 1.7. I heard some older OSes also work fine. There must be something different in OS 1.7 that prevents it from working on newer hardware. IMHO TI should have let it work, because not everyone wants to waste several more KB/MB just for a newer OS.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: codeslicer on September 26, 2010, 05:30:38 pm
OS 1.1 does "work" on the nspire, but it's practically useless. The touchpad doesn't work, and the whole key layout is scrambled. I think that even if 1.7 were to somehow be forced to work on the Nspire, the touchpad would not be supported and wouldn't work well.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 26, 2010, 05:33:05 pm
Yeah all keys would most likely be scrambled as well.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on September 26, 2010, 05:34:34 pm
Yes, OS 1.7 will not work with the touchpad keypad.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: codeslicer on September 26, 2010, 05:35:23 pm
The developers seem to need help, but due to the whole issue of privacy, no one really knows how!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 26, 2010, 06:00:36 pm
It's not really about the piracy issue. More the issue about the project not falling under the wrong hands. Any new forum member could be a spy from TI trying to get his hands on the info on how Ndless works, using that info to help TI staff to patch future Nspire OSes to prevent Ndless from working on them. Now Ndless seems to progress again, though. I assume it will take a while to come out but you need to be patient. After all, ExtendeD and geogeo are not paid to work on this software and they have done a great job so far, when they could have devoted all that precious time on their own lives.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Deep Toaster on September 26, 2010, 06:01:33 pm
It's not really about the piracy issue. More the issue about the project not falling under the wrong hands. Any new forum member could be a spy from TI trying to get his hands on the info on how Ndless works, using that info to help TI staff to patch future Nspire OSes to prevent Ndless from working on them. Now Ndless seems to progress again, though. I assume it will take a while to come out but you need to be patient. After all, ExtendeD and geogeo are not paid to work on this software and they have done a great job so far, when they could have devoted all that precious time on their own lives.

He said "privacy", not "piracy" :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 26, 2010, 06:09:12 pm
woops I typed piracy instead x.x. My bad.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: bwang on September 26, 2010, 06:14:40 pm
The developers seem to need help, but due to the whole issue of privacy, no one really knows how!
The code is not private; the current build of Ndless 1.7 is in a public SVN.
The idea is, if you are enough of a developer to beta-test Ndless 1.7 without breaking anything and provide useful bug reports, you should know at least enough to compile it from source.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 26, 2010, 06:21:21 pm
Oh right, the SVN x.x. I wonder if this is safe, though (due to TI)? Initially, I think that was the initial reason why there was no public code. Is the SVN password-protected/invite-only?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on September 26, 2010, 06:22:32 pm
Well, there is a password, but it is available publicly just about everywhere.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 26, 2010, 06:24:55 pm
Ah ok. I hope things goes fine at least. I also hope some people can help figuring out some of the issues if ExtendeD and geogeo are still busy.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on September 27, 2010, 07:47:20 am
The open issues are identified in the first post of the topic. We are open to any information and contribution to fix them.

And as bwang points out, we would like developers to port their programs to Ndless 1.7 and post any bug report or suggestion. Building from the source code shouldn't be difficult, we can provide help if needed.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on September 27, 2010, 02:33:27 pm
really the only way to block ndless now is to prevent all forms on downgrading..
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 29, 2010, 11:46:08 pm
Question, will Ndless 1.7 be installable on Linux and Mac? From what I remember, 1.1 wasn't, right? Or could you use Wine or something to do it? I don't remember anymore, but I remember someone asking if it was possible, before.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on September 30, 2010, 06:15:39 am
Ndless 1.7 installation now only requires a linking program, so TiLP can be used.
I think several developers such as bwang are testing Ndless 1.7 from Linux.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on September 30, 2010, 06:46:14 am
wow, sound good, though TILP isnt the best for interacting with the nsprie (no offense)
but for everything else, it works beautiful (even with emu8x :D)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 30, 2010, 09:04:39 am
Ndless 1.7 installation now only requires a linking program, so TiLP can be used.
I think several developers such as bwang are testing Ndless 1.7 from Linux.
Ok good to hear :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on September 30, 2010, 10:48:12 am
Any chance of fixing the glitch where you have to be connected to a computer to install?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on September 30, 2010, 12:27:46 pm
I'm currently reworking the installation process to get rid of the hot reboot.
This should simultaneously fix "Random black screen after reboot at installation time", "Random crash when running programs on real hardware:", "Variables changed to theta:", "Broken uninstallation:" and "Reboot when turning the calculator on:".

But I have unfortunately no clue for this connection requirement :(
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on September 30, 2010, 12:31:00 pm
Well, the usb problems seem to happen during hot reboot (if not plugged into usb, that is when the "random black screen" occurs, or sometimes vertical lines on the screen, which suggest some data overflowing into the screen buffer)

Edit:
On an unrelated note, I receive a database error when I try to log into the hackspire wiki.

Edit2:
On a related note again, I installed Ndless while plugged into USB, then I unplugged it and used my console program to hot-reboot. I still got the vertical lines. Perhaps there is some sort of inherent problem in OS 1.7 with booting again without reloading the OS?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on September 30, 2010, 02:17:52 pm
Here is what I have understood from the different bug reports: to guarantee no clock freeze and no black screen, the sequence must be to:
- run the installer
- connect the cable during the installation
- keep the cable plugged in during hot reboot

Without hot reboot, there shouldn't be any black screen issue, but the freeze issue probably won't be fixed.

Quote
Perhaps there is some sort of inherent problem in OS 1.7 with booting again without reloading the OS?

It does seem to make the OS very unstable, and the "theta" unstability is most probably related. This is why I'm getting rid of it.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on September 30, 2010, 02:21:01 pm
Okay, good. I think it will really be appreciated if we could install Ndless when not near a computer... especially when testing a program that might crash the calculator. We could even spread Ndless around in schools once it is released :D
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on September 30, 2010, 02:21:57 pm
Sure, this a blocking issue.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 30, 2010, 06:53:55 pm
I hope you can find a way to have Ndless be installable when not connected to a computer. By the way, is the install process very long? (After a crash)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on September 30, 2010, 07:12:14 pm
It's under 30 seconds, I think.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on September 30, 2010, 07:13:13 pm
Well, that is, if it works on the first try.  It usually takes between 7-10 tries (for me, at least).  The least I ever got was 4.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on September 30, 2010, 07:14:35 pm
It always works the first try for me if I plug it into the computer before starting the installer. Otherwise it freezes during the hot reboot.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on September 30, 2010, 09:05:09 pm
Darn x.x... that must be kinda hectic when you are testing a game you are working on on-calc x.x
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on September 30, 2010, 10:15:53 pm
the freeze is my main problem, keep up the good work thouugh extendeD

(btw, A teacher at school is some special member of TI or something, and she knows why asm is blocked.... she said it WASNT because of games, but for something else that she cant tell me...)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on September 30, 2010, 10:22:26 pm
Possibly, running the CAS OS/another CAS program on the regular Nspire...
Math programs can be much more dangerous to TI than games.

I still think games had a little to do with it, though.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on September 30, 2010, 10:36:00 pm
nah, she said no because of press-to-test
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on September 30, 2010, 10:38:08 pm
We can, to a point, fake PTT with the discovery of the address controlling the LED.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on September 30, 2010, 11:09:21 pm
Except on OS 1.7 (at least not yet). Any writes to the LED registers are ignored for some reason. I'm sure there is a bit somewhere that controls this behavior.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 01, 2010, 06:38:23 pm
I might have an idea for this clock freeze issue: the installation is executed from an IRQ handler, and call several syscalls. The (random) interrupted OS function and the syscalls called by the installer may use TCT_Protect() to protect their critical sections. The TCT_Protect-s may conflict and hang, waiting for the lock to be released, which will never happen.
Maybe connecting the USB cable during the installation triggers interrupts and change the race condition, which tend to bypass the issue.

I've seen the problem on nspire_emu, but it's not easily reproducable.
I'll try to avoid installing Ndless from the IRQ handler, and rather hook a safe OS function.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: squalyl on October 01, 2010, 06:58:00 pm
Hello all,

I'm sorry to say that hackspire had a problem. inodes were orphaned and lost, the database was corrupted and is currently unrecoverable: if a mysql guru knows how to recover an innodb table that makes mysqld crash at recovery, please email me, I still have the old data files. bwang and extended knwow how to reach me.

I the meantime I restored a backup but it's quite old. I'm VERY SORRY for any loss, because I know how hard you work on documenting the nspire hardware :(

I now started a regular backup, so that such incident are not a problem anymore.
I added a cron line to save the wiki contents every 6 hours at minute 42 in:
http://hacksp ire.unsads.com/hackspi re.dump

You can help me: just download this file using a cron job every six hours at minute 50.

sorry, regards and congrats for the recent nspire releases.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on October 01, 2010, 07:02:51 pm
:(

About a month ago, I saved the I/O port page to a text document so I could print (and format it to my liking).  It is attached in case it is of any use.  It only opens in Office 2007, though (sorry about this; also you have to remove the .txt extension).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 01, 2010, 07:04:55 pm
Hi Squalyl, yeah I remember a few days ago calc84maniac said that he could not login anymore and said the same yesterday, I believe. I did not realize Hackspire got screwed up this much, though. I am really sorry to hear that this happened and about the data loss :(. I recommend bi-weekly backups of the database in the future, since anything can happen.

Do you know what caused this? Hacking/cracking attempt, server misconfig, software error?

Couldn't this be the exact same issue as what happened to my other forum a year ago? I remember doing an upgrade from SMF 2.0 RC1 to 2.0 RC1.1 and it wrecked the board database (and the backup that was stored in the same database). Maybe Netham45 might be able to recover it (he is the one who helped recovering my other board), but he is busy so I am not sure how long it would take. You may have to post a separate topic about that in case someone else could help but doesn't notice your help request in this topic.

That said, welcome on the forums.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: squalyl on October 01, 2010, 07:26:18 pm
Hi,

I had lots of databases and I just realized that innoDB saved EVERY DAMN BYTE in the same huge file "ibdata1".

If something was wrecked somewhere, the whole thing got screwed up.

I think I had a disk (more probably filesystem) issue because I could not run any shell command, the (ext3) filesystem somewhat got corrupted. That's strange, because this server is not at my home but in a datacenter. However the fs was recovered at my reboot, but some inodes were lost (see my edited message).

I have established a 4-times-a-day backup that you can download it, to keep a bunch of copies in case something goes very wrong:

http://hack spire.unsads.com/hacks pire.dump
Please, just don't use it to install your own wiki, having more than one would be inefficient. This link is for backup purposes or localhost usage only.

This is not a hacking. mediawiki has recaptcha, ssh passwords are disabled and fail2ban protects the important services. I guess a filesystem corruption after a very long uptime.

Apcalc, thanks for restoring the LED data, and thanks for the welcome.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Happybobjr on October 01, 2010, 07:53:44 pm
so does this mean ndless 1.7 has been destroyed?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 01, 2010, 08:03:22 pm
No this is not related in any way. It is just the wiki database
Title: Re: Ndless 1.7 for TI-Nspire
Post by: squalyl on October 01, 2010, 08:24:29 pm
ndless is in svn and not related to mysql.
and it is already backed up weekly.
and we have multiple working copies in case something goes wrong.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: alberthrocks on October 01, 2010, 08:52:52 pm
DJ redirected me here. Do you need help with a corrupt DB?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 01, 2010, 09:05:17 pm
D: sorry to hear that...

poor hackspire :(
Title: Re: Ndless 1.7 for TI-Nspire
Post by: squalyl on October 02, 2010, 05:22:38 am
alberthrocks: maybe we won't pollute this thread? thanks for the help proposition. please contact me by email. my nickname is registered at google.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 02, 2010, 05:33:26 am
Here is the latest snapshot by Google cache: http://www.mirari.fr/l5vG

The I/O ports page has been fetched on  9 Sept. The Interrupts page has been fetched on 24 Sept.
I don't know if those are the latest version.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: squalyl on October 02, 2010, 05:35:12 am
I just found I have a disk problem. The disk was remounted read only during the last hours.
I rebooted the server into recovery mode.

I Keep you up to date
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 02, 2010, 05:44:18 am
Okay, good. I think it will really be appreciated if we could install Ndless when not near a computer... especially when testing a program that might crash the calculator. We could even spread Ndless around in schools once it is released :D

Here is a workaround posted by Yifan on UTI (http://www.unitedti.org/forum/index.php?showtopic=9491&view=findpost&p=142529):

Quote
Ok, just a FYI, if you accidentally restarted the calculator (for 84 keypad or something), and want to use ndless 1.7 again, but don't have access to a computer. If a friend has a nspire, you can use the link cable and install ndless. Same as with PC. Click on Ndless installer, and quickly plug in the cable (other end in friend's nspire). It works.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: squalyl on October 02, 2010, 06:43:44 am
the ext3 filesystem is dead. Here is the beginning of the e2fsck log.

root@88-191-122-130:~# e2fsck -v /dev/sda2 -f -c
e2fsck 1.41.11 (14-Mar-2010)
Vérification des blocs défectueux (test en mode lecture seule) : complété
/: Updating bad block inode.
Passe 1 : vérification des i-noeuds, des blocs et des tailles
I-noeud 598304, i_blocs est 33607752, devrait être 33599560. Corriger<o>? oui

l'i-noeud 745906 a un(des) bloc(s) illégal(aux). Effacer<o>? oui

Illégal block #12 (4294967295) in i-noeud 745906.  EFFACÃ.
Illégal block #13 (4294967295) in i-noeud 745906.  EFFACÃ.
Illégal block #14 (4294967295) in i-noeud 745906.  EFFACÃ.
Illégal block #15 (4294967295) in i-noeud 745906.  EFFACÃ.
Illégal block #16 (4294967295) in i-noeud 745906.  EFFACÃ.
Illégal block #17 (4294967295) in i-noeud 745906.  EFFACÃ.
Illégal block #18 (4294967295) in i-noeud 745906.  EFFACÃ.
Illégal block #19 (4294967295) in i-noeud 745906.  EFFACÃ.
Illégal block #20 (4294967295) in i-noeud 745906.  EFFACÃ.
Illégal block #21 (4294967295) in i-noeud 745906.  EFFACÃ.
Illégal block #22 (4294967295) in i-noeud 745906.  EFFACÃ.
Trop de blocs illégaux dans l'i-noeud 745906.
Effacer l'i-noeud<o>? oui

des i-noeuds qui faisaient partie d'une liste chaînée d'orphelins corrompue ont été repérés. Corriger<o>? oui

l'i-noeud 1954497 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud 1954498 est utilisé, mais a un dtime. Corriger<o>? oui

l'i-noeud 1954498 a un drapeau imagic activé. Effacer<o>? oui

L'i-noeud spécial (périphérique/socket/fifo) 1954498 a une taille non nulle. Corriger<o>? oui

l'i-noeud 1954499 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud effacé 1954500 a un dtime à  zéro. Corriger<o>? oui

l'i-noeud 1954513 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud 1954514 a le drapeau EXTENTS_FL activé sur le système de fichiers sans support des extents.
Effacer<o>? oui

l'i-noeud 1954515 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud 1954516 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud 1954529 est utilisé, mais a un dtime. Corriger<o>? oui

l'i-noeud 1954529 a un drapeau imagic activé. Effacer<o>? oui

l'i-noeud 1954530 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud 1954531 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud 1954532 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud 1954533 est utilisé, mais a un dtime. Corriger<o>? oui

l'i-noeud 1954533 a un drapeau imagic activé. Effacer<o>? oui

l'i-noeud 1954533 a une taille extra (24430) qui est invalide
Corriger<o>? oui

l'i-noeud 1954534 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud 1954535 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud 1954536 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud 1954537 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud 1954545 fait partie de la liste des i-noeuds orphelins. CORRIGÃ.
l'i-noeud 1954546 a le drapeau EXTENTS_FL activé sur le système de fichiers sans support des extents.
Effacer<o>? oui

l'i-noeud 1954547 a le drapeau EXTENTS_FL activé sur le système de fichiers sans support des extents.
Effacer<o>? oui

l'i-noeud 1954548 est utilisé, mais a un dtime. Corriger<o>? oui

l'i-noeud 1954548 a une taille extra (51589) qui est invalide
Corriger<o>? oui

l'i-noeud 1954549 est utilisé, mais a un dtime. Corriger<o>? oui

l'i-noeud 1954549 a une taille extra (17547) qui est invalide
Corriger<o>? oui

l'i-noeud 1954550 a le drapeau EXTENTS_FL activé sur le système de fichiers sans support des extents.
Effacer<o>? oui

l'i-noeud 1954551 est utilisé, mais a un dtime. Corriger<o>? oui

l'i-noeud 1954551 a un drapeau imagic activé. Effacer<o>? oui

l'i-noeud 1954551 a une taille extra (9300) qui est invalide
Corriger<o>? oui

l'i-noeud 1954552 a le drapeau EXTENTS_FL activé sur le système de fichiers sans support des extents.
Effacer<o>?

this is french, and that says, lots of invalid inodes.

FORTUNATELY I backed up svn, trac, the web pages and the database yesterday.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 02, 2010, 10:06:10 am
Wow is it me or does there seems to be some bad charset in there, or is it due to the forum system not being in UTF-8? Example, Activé shows with a copyright sign and a weird A accent. I don't know much about that stuff but hopefully someone can help.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: squalyl on October 02, 2010, 04:44:17 pm
Yes the server is in utf-8 and putty was left in iso8859-1, but that's not really important.

the server's hardware is perfectly fine, that was confirmed by a complete check by the server's provider administrative interface.

the filesystem got somewhat totally destroyed, I don't know how it is even possible. e2fsck found so many corruptions that I thought the disk was filled with garbage, such as if some block (and all the following) was not properly aligned.

in the end, I formatted the disk, reinstalled debian, then restored the backup I did last night. I pray myself for having thought about that or I would have lost *anything*. I also thank debian for the sites-enabled concept that permitted a very fast restoration using symlinks to my individual config files.

svn is back
mysql is back
the wiki is back
In the process mediawiki was bumped from 1.13.2 to 1.16.0

(i'm struggling with firefox sync but that's another story.)

Now recent changes need to be fed in. The change made yesterday was lost in the process. You can import any new information that you found was lost.

The most important change is that I now have automatic daily backups (300MB.bz2 for web and svn, 1MB.bz2 for mysql)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on October 02, 2010, 05:56:19 pm
Okay, good. I think it will really be appreciated if we could install Ndless when not near a computer... especially when testing a program that might crash the calculator. We could even spread Ndless around in schools once it is released :D

Here is a workaround posted by Yifan on UTI (http://www.unitedti.org/forum/index.php?showtopic=9491&view=findpost&p=142529):

Quote
Ok, just a FYI, if you accidentally restarted the calculator (for 84 keypad or something), and want to use ndless 1.7 again, but don't have access to a computer. If a friend has a nspire, you can use the link cable and install ndless. Same as with PC. Click on Ndless installer, and quickly plug in the cable (other end in friend's nspire). It works.
Odd, I was sure I tried this before and it didn't work. Now I tried it again twice (switching the A-end and B-end of the cord just to make sure) and it worked both times.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on October 02, 2010, 05:59:08 pm
I have tried all of these methods and I have never had Ndless install on the first try (best is 4, worst is 15 today x.x).  Could it have something to do with my Nspire?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 02, 2010, 06:01:59 pm
perhaps it has to do with the date of the nspire?

does the ndless team have the old nspires that are perfectly fine with OS 1.1
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 03, 2010, 03:21:59 am
I do.

The black screen and clock freeze crashes seem to depend on the state of the calculator (number of files, previous use, ...), this doesn't make debugging easy.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 03, 2010, 03:53:12 am
Yes the server is in utf-8 and putty was left in iso8859-1, but that's not really important.

the server's hardware is perfectly fine, that was confirmed by a complete check by the server's provider administrative interface.

the filesystem got somewhat totally destroyed, I don't know how it is even possible. e2fsck found so many corruptions that I thought the disk was filled with garbage, such as if some block (and all the following) was not properly aligned.

in the end, I formatted the disk, reinstalled debian, then restored the backup I did last night. I pray myself for having thought about that or I would have lost *anything*. I also thank debian for the sites-enabled concept that permitted a very fast restoration using symlinks to my individual config files.

svn is back
mysql is back
the wiki is back
In the process mediawiki was bumped from 1.13.2 to 1.16.0

(i'm struggling with firefox sync but that's another story.)

Now recent changes need to be fed in. The change made yesterday was lost in the process. You can import any new information that you found was lost.

The most important change is that I now have automatic daily backups (300MB.bz2 for web and svn, 1MB.bz2 for mysql)
I'M glad everything was sorted out. I hope nothing bad happens again.

If it ever becomes a recurring event, please check your access logs, in case it might be triggered intentionally by a third-party.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: personne3000 on October 03, 2010, 05:28:54 am
the filesystem got somewhat totally destroyed, I don't know how it is even possible. e2fsck found so many corruptions that I thought the disk was filled with garbage, such as if some block (and all the following) was not properly aligned.

I've heard of that before. From someone that was running a room with many servers, and approximately once every three years a whole row of blocks would get corrupted on one of those. He eventually figured out what was happening, something about the read/write system. For what I understood, when something was read, it had to be rewritten at some point, and sometimes it failed attempting to do so, leaving a row of corrupted bytes. He figured out that it was caused by cosmic rays... That sounds unbelievable like that, but he definitely knew what he was talking about.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Silver Shadow on October 03, 2010, 06:08:12 am
Yeah, I've heard about cosmic rays doing weird things too...
Welcome to the forums BTW!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: squalyl on October 03, 2010, 06:33:21 am
I think my cosmic ray was named firefox sync server that usually writes a lot of database entries, causing traffic and journalling operations. Couple that with a transient IO problem or a weird ext3 bug that triggers only on certain (race) conditions and you're done.

unfortunately it was in the same datafile as other databases.

this cause is now eradicated, my firefox sync server is now using sqlite.

the wiki database is now almost alone. And dumped daily to a backup server.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on October 03, 2010, 08:48:25 am
Yeah, I've heard about cosmic rays doing weird things too...
Welcome to the forums BTW!

I've found the source of your cosmic ray!
Spoiler For Spoiler:
(http://i23.servimg.com/u/f23/13/23/13/53/tisate10.jpg)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: codeslicer on October 03, 2010, 09:12:07 am
Hahaha well done!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on October 03, 2010, 09:54:50 am
lol! ;D

Very nice critor!

Maybe that is the same thing making it take so many times for me to install Ndless!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Silver Shadow on October 03, 2010, 10:23:33 am
We must counter-attack! Prepare the lobster cannon!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 03, 2010, 10:48:32 am
Thank you squalyl for this quick server reinstallation.

Hackspire has been updated from the latest snapshot of Google cache. We shouldn't have lost anything.
If any of you have backups of some articles, please check whether your backup is more recent that Hackspire.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 03, 2010, 02:01:06 pm
I've found the source of your cosmic ray!
Spoiler For Spoiler:
(http://i23.servimg.com/u/f23/13/23/13/53/tisate10.jpg)
That made my day ;D

Welcome here Person3000, btw :)

Btw by cosmic rays, do you mean solar flares in particular? I do not know much about astronomy but I heard those can cause problems with electronics if they are very intense.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: squalyl on October 03, 2010, 03:50:06 pm
not quite.

and solar flares are not cosmic rays:
-cosmic rays are ultra high energy particles coming from the deep space (supernovas, black holes, etc)
-solar flares are energetic protons and/or electrons IIRC.

most cosmic rays are filtered by the atmosphere.

that's why the Alpha magnetic spectrometer [1] is sent to the space station, and why satellite computers have to be radiation-hardened, but not ours :)

that was a kernel bug, not a hardware issue.

oh, btw, is ti a linux contributor? Maybe they targeted my server using GnuStuxnet :)

[1] http://www.esa.int/esaCP/SEMZE8BO3DG_index_0.html
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 03, 2010, 11:52:53 pm
Ah ok thanks for the clarification :)

I'm not sure if TI could have done that. They seem to fail at many things so I would be kinda surprised if they attacked the server or something. I know they have no TI calc software that is natively Linux-compatible, though.

Otherwise, maybe it could be somebody else. But we cannot really accuse anyone without any proof. I guess if that happens again, just try to monitor some access logs to see. I'm glad now things are backed up frequently.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: personne3000 on October 05, 2010, 11:49:12 am
Btw by cosmic rays, do you mean solar flares in particular? I do not know much about astronomy but I heard those can cause problems with electronics if they are very intense.

I'm not good at astronomy either... But I mean any kind of energetic particles that would come from space and cause small bugs by interfering with the hardware. I don't know much about that, but I know it happens, even though it's quite rare... And as I said, the guy that got these errors really knew his field. But I'm not saying this must have been what happened to your database...
I've been following nspire hacking for about two years now, and I was glad to read about the first ndless. I do need my CAS for other things than playing though, so I can't stick to v1.1... Ndless 1.7 is going to be great :-)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 05, 2010, 01:45:05 pm
I'm stuck with  the reworked version which doesn't depend on the hot reboot anymore to make the installation more stable.
It works on nspire_emu (crashing sometimes for unknown reasons), but always hang on real hardware (an exception is triggered, probably for other reasons).

Debugging this is really tough. And my RS232 adapter is once again broken, it doesn't help.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 05, 2010, 02:32:12 pm
Btw by cosmic rays, do you mean solar flares in particular? I do not know much about astronomy but I heard those can cause problems with electronics if they are very intense.

I'm not good at astronomy either... But I mean any kind of energetic particles that would come from space and cause small bugs by interfering with the hardware. I don't know much about that, but I know it happens, even though it's quite rare... And as I said, the guy that got these errors really knew his field. But I'm not saying this must have been what happened to your database...
I've been following nspire hacking for about two years now, and I was glad to read about the first ndless. I do need my CAS for other things than playing though, so I can't stick to v1.1... Ndless 1.7 is going to be great :-)
Ah right, thanks for the clarification :). Also welcome on the forums :)

I'm stuck with  the reworked version which doesn't depend on the hot reboot anymore to make the installation more stable.
It works on nspire_emu (crashing sometimes for unknown reasons), but always hang on real hardware (an exception is triggered, probably for other reasons).

Debugging this is really tough. And my RS232 adapter is once again broken, it doesn't help.
This sucks, I hope you can manage to find a solution soon. X.x
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 05, 2010, 03:38:08 pm
hstill, good work extendeD, hopefully hot reboots wont be rrequired :D
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Silver Shadow on October 05, 2010, 04:13:12 pm
Yay, progress!!!
Hope you manage to get your adapter fixed, and find the bug that doesn't let it work on real hardware.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on October 05, 2010, 05:28:46 pm
Nice to see some progress!

Good luck, ExtendeD! :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on October 05, 2010, 06:14:25 pm
All have a look here : http://www.unitedti.org/forum/index.php?showtopic=9491&view=findpost&p=142596

So on : good night ^^
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Silver Shadow on October 06, 2010, 12:25:35 am
Does that mean mean we should use the beta1 from UTI instead of using the previously compiled version?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 06, 2010, 12:46:09 am
Nice!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 06, 2010, 02:18:35 pm
The CAS compatibility contributed by bsl and Levak has been commited to the trunk.

Silver Shadow: the binaries shared by bsl only add this feature.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 06, 2010, 02:20:44 pm
Nice. I can't wait to see more progress on this :)

How has Ndless 2.0 been going, btw?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 06, 2010, 02:27:36 pm
Ndless 2.0 might be possible once the reworked version... works.
Anyway the stability issues of v1.7 are more important.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 06, 2010, 02:29:34 pm
Ah ok. Good luck on all of this :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 06, 2010, 02:37:11 pm
Ndless 2.0 might be possible once the reworked version... works.
Anyway the stability issues of v1.7 are more important.

and a 1.7 actuall relese ;)

btw, will ndless 2.0 have compatibility for 1.7?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 06, 2010, 04:31:48 pm
Yes, it was to be released, it should work on OS 2.1, 2.0 and 1.7. Programs built for Ndless 1.7 should work on Ndless 2 without changes or rebuild.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 06, 2010, 05:03:51 pm
Oh, the compatibility sounds nice especially for the 2.1 users :D

BTW, what do you mean: "it was to be released?"
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 06, 2010, 11:18:01 pm
That's great to hear :D
Title: Re: Ndless 1.7 for TI-Nspire
Post by: codeslicer on October 07, 2010, 04:34:25 pm
Interesting... when do you suppose we can expect Ndless 2, by the end of the year or is that pushing it? I realize that school is diverting many resources.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 07, 2010, 04:47:31 pm
This is an open source and spare-time-based project, no release can be planned.

Please help us make Ndless v1.7 become releasable before anything else.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 07, 2010, 04:51:22 pm
Ndless documentation is being moved to Hackspire to open it to contributions and for easier maintenance.

This will hopefully make C and assembly development for the TI-Nspire easier for beginners.

Development resources (http://hackspire.unsads.com/wiki/index.php/Main_Page#Development_resources)
C and assembly development introduction (http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction)
Ndless features and limitations (http://hackspire.unsads.com/wiki/index.php/Ndless_features_and_limitations)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Galandros on October 07, 2010, 05:07:44 pm
Nice to see Ndless on 1.7 and a wiki on development.
I am happy to see topics for starting progress on Nspire in the wiki.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 07, 2010, 06:47:59 pm
Interesting... when do you suppose we can expect Ndless 2, by the end of the year or is that pushing it? I realize that school is diverting many resources.
You need to be more patient. Everyone got a life. As ExtendeD said, if you really are unable to wait, please contribute to the project or examine Ndless source. This might enlighten you about why it is hard to get it to work on OS 2.0.

Ndless documentation is being moved to Hackspire to open it to contributions and for easier maintenance.

This will hopefully make C and assembly development for the TI-Nspire easier for beginners.

Development resources (http://hackspire.unsads.com/wiki/index.php/Main_Page#Development_resources)
C and assembly development introduction (http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction)
Ndless features and limitations (http://hackspire.unsads.com/wiki/index.php/Ndless_features_and_limitations)

Nice, that should hopefully make it easier :D
Title: Re: Ndless 1.7 for TI-Nspire
Post by: codeslicer on October 07, 2010, 07:04:38 pm
You need to be more patient. Everyone got a life. As ExtendeD said, if you really are unable to wait, please contribute to the project or examine Ndless source. This might enlighten you about why it is hard to get it to work on OS 2.0.

I am patient. :P This is a complex and difficult project done during the school year. I was just wondering what there's left to do.


Good thing there are tutorials now though. Perhaps there could be a "How to help the development team" page.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 07, 2010, 07:10:54 pm
Ah ok because it seemed like your posts were a bit borderline (in some communities, I saw new members who contributed nothing to the community come and whine at developers non-stop so they get back to work on their projects, even freeware/open-source ones. That happened with TI-Boy SE once and on Cemetech forums that happens a lot with a Lego game. Certain people just don't realize the amount of work put on some projects. I think it is usually more common in computer gaming communities, though, such as MMORPGs.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 07, 2010, 09:42:04 pm
haha, you mean spaceninja? he is gone methinks

not to be a bother, but, I cant replicate the rebooting-after-turning-off-and-on thing any more O_o
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on October 07, 2010, 11:05:17 pm
Hmmm...

Over the past few days, my Nspire has been resetting randomly every so often (without Ndless installed at the time).  Could this be caused by previousley having Ndless 1.7 installed?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 07, 2010, 11:49:00 pm
Has this continued happening even after a full formatting?

I hope it did not permanently damage some stuff on your calc x.x (Like OS certificate or whatever it is on the Nspire)

Qazz42: SpaceNinja, Lucas_W, elrune2nd and I believe there was another person.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on October 08, 2010, 06:23:22 am
Over the past few days, my Nspire has been resetting randomly every so often (without Ndless installed at the time).  Could this be caused by previousley having Ndless 1.7 installed?

I don't know about Ndless 1.7, but Ndless 1.0/1.1 could let your OS in an unstable state, even after uninstalling Ndless...

You should just reinstall the OS.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 08, 2010, 06:48:57 am
Hmmm...

Over the past few days, my Nspire has been resetting randomly every so often (without Ndless installed at the time).  Could this be caused by previousley having Ndless 1.7 installed?

yeah same here, I think that ndless is now related to the rebooting thing ....
weird..

Darn, I guess that soon ndless will have to make it so that it wont go away after a reboot
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 08, 2010, 07:27:38 am
Good thing there are tutorials now though. Perhaps there could be a "How to help the development team" page.

Anything which would help to understand or even fix the issues identified in the first post would be of great help: http://ourl.ca/7106/119212

By the way I left school a while ago, but this doesn't mean I have more time now :(
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 08, 2010, 09:45:31 am
Ah I see x.x. Yeah there's work too sometimes, or even family for some members. One forum member even got two kids.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 08, 2010, 02:39:00 pm


perhaps apcalc can  make a tutorial  He walked me through compiling ndless :D

though, I understand that it is for devs only `>`
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on October 08, 2010, 02:43:35 pm
Well, it is not that I don't want to write a tutorial, but it would be kinda pointless.

All you have to do is follow my "How to set up a development Environment" tutorial and install MinGW and add its /bin directory to your path.  Then you just have to:

Code: [Select]
cd <ndless root directory>;cd tools;make;cd ..;make

If you are a Ndless developer (meaning you already have the dev environment set up), compiling Ndless takes no time at all.

Still, Ndless 1.7 is really only intended for developers/beta testers at this point because it is unstable.  I would be better off just distributing the binaries then spending time writing a tutorial on how to make them.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 08, 2010, 02:44:49 pm
Functions available for programs built with Ndless (either OS functions exposed by Ndless or functions brought by Ndless) are now documented:
http://hackspire.unsads.com/wiki/index.php/Syscalls
http://hackspire.unsads.com/wiki/index.php/Libndls

Contributions for new syscalls definitions to include in Ndless are greatly welcome. The addresses of many symbols have already been found by hwti, geogeo and Goplat. For them its only a matter of finding the addresses for CAS and non-CAS 1.7 and defining the macro in os.h, but its quite a lot of work for a single developer. I will gadly integrate even minor contributions.

The currently known symbols are available in IDA's IDC format here:
boot2_1.4.1571.idc (http://www.mirari.fr/kC7u)
OS_1.1.9253_non-CAS.idc (http://www.mirari.fr/Pzz8)
OS_cas-1.7.idc (http://www.mirari.fr/FNtA)
OS_ncas-1.7.idc (http://www.mirari.fr/yGkL)

Defining the syscalls for the POSIX and C standard libraries will improve the possibility to port programs to the TI-Nspire.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on October 08, 2010, 03:21:38 pm
Well, it is not that I don't want to write a tutorial, but it would be kinda pointless.

All you have to do is follow my "How to set up a development Environment" tutorial and install MinGW and add its /bin directory to your path.  Then you just have to:

Code: [Select]
cd <ndless root directory>;cd tools;make;cd ..;make

If you are a Ndless developer (meaning you already have the dev environment set up), compiling Ndless takes no time at all.

Still, Ndless 1.7 is really only intended for developers/beta testers at this point because it is unstable.  I would be better off just distributing the binaries then spending time writing a tutorial on how to make them.

For me it is :
Code: [Select]
cd ./tools/MakeSyscalls/;make;cd ../../;make clean;make
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 08, 2010, 03:35:08 pm
The syscalls generated artifacts are also versioned, so this was only required while you were updating Ndless for CAS support.
apcalc's command is now fine.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 09, 2010, 06:14:49 pm
for me I "make" in the ARM folder instead of the tools folder
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on October 09, 2010, 06:18:08 pm
"Make"ing in the arm folder will build ndless_installer.tns and ndless_resources.tns.  "Make"ing from the Ndless root directory will also build the demos.

Code: [Select]
make dist
This will build a "release" of Ndless in a folder dist.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 09, 2010, 06:20:48 pm
what do you mean by a "release" of ndless?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on October 09, 2010, 06:22:07 pm
Basically, all of the files from Ndless will be built and moved into the appropriate folders (for example, the readme will be moved from /doc to the /dist).  This dist folder is what is in the Ndless releases.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 09, 2010, 06:24:30 pm
ohhh, ok, I see
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 14, 2010, 04:36:39 pm
Levak tells me that the clock freeze issue is sensitive to the USB port type on the computer side. The use of USB/SATA or USB/eSATA (http://rebeltech.co.za/images/CH-LABZU07.jpg) ports tend to avoid the issue compared to standard USB ports.

Any confirmation of this behavior would be helpful.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 14, 2010, 05:15:34 pm
well, on a laptop, which port would be a eSATA or a SATA?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on October 14, 2010, 05:21:21 pm
Are those ports combined into one?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on October 14, 2010, 05:28:52 pm
Yes it seems, see the link in my reply above.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on October 14, 2010, 05:29:30 pm
Are those ports combined into one?
For me, yes.
Nspire --> USB/e-SATA port --> SATA cable--> MotherCard

or

Nspire --> USB port--> SATA cable --> MotherCard

It failed for me with :
Nspire --> USB port --> MotherBoard
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Jonius7 on October 15, 2010, 12:50:11 am
isn't eSATA nearly the same as SATA, just a bit more features for eSATA? I know they share the same port or something.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 15, 2010, 06:50:35 am
but for a laptop where would the ports be? or is this some sort of usb extension?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Yeong on October 15, 2010, 07:19:03 am
But...will Ndless come out for OS 2.1?
I have 2.1...(With both touchpad and keypad)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 15, 2010, 12:16:27 pm
I don't remember if it was possible on 2.1 but it will most likely be for 2.0.1 as well at one point and you can downgrade to 2.0.1 (with Nleash) so you should be fine.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 15, 2010, 02:38:56 pm
ok, so apparently, the school laptops have eSATA USB ports, but I can install anything on it >.<

I dont think my laptop has em, there is no USB port labelled "eSATA" like on the school's
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Yeong on October 15, 2010, 03:12:35 pm
I don't have OS 2.0.1...
TI website doesn't have them, right?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 15, 2010, 03:30:33 pm
They're not listed there, but they're still stored on their server. http://ourl.ca/7373
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Silver Shadow on October 15, 2010, 03:31:29 pm
I think it has all OS versions >=1.7, but you have to type in the URLs yourself, as there aren't  any links on their website.

EDIT: ninja'd :P
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on October 15, 2010, 03:42:32 pm
isn't eSATA nearly the same as SATA, just a bit more features for eSATA? I know they share the same port or something.
eSATA is a version of the port designed for external use.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: kyllopardiun on October 21, 2010, 10:53:02 pm
I hope to get a rechargeable battery for my calc soon,
otherwise will be expansive to install this...
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on October 22, 2010, 07:45:25 pm
Has anybody approuved my experimentations about USB-ports ?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: SirCmpwn on October 23, 2010, 03:37:36 pm
So how does the installer work?  Why does it need to be plugged in to a computer, for example?  And under what conditions is the installer successful (why does it not work some times)?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on October 23, 2010, 06:10:03 pm
So how does the installer work?  Why does it need to be plugged in to a computer, for example?  And under what conditions is the installer successful (why does it not work some times)?
During the installation, I've heard that in beta releases, Ndless 1.7 overwrites some OS code. We (unfortunatly only me ?) don't know why the installation is unstable like that, and being connected to a computer seems work better.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: butzacooky on October 23, 2010, 06:58:00 pm
Hey I seem to have a problem here.
I was playing around with my Nspire Touchpad and got the PTT enabled. When I realized I needed another Nspire to get it out of PTT, I decided to use Nleash 2.1 to get it out. That worked and I decided to try Ndless 1.4 with OS 1.7.
Problem is that it's now stuck at the screen after the boot where it says, "Unrecognized keypad: Replace..."
I have it plugged into my computer, it makes the sound that it's connected BUT it doesn't show up on Nspire Comp. Link and a popup shows up that it can perform on a usb 2.0 port. No installation popup or anything.

The only accessories I have is the usb cable, connector cable to another calc., a rechargable battery installed, and 84 plus keypad.

Any help to get back to OS 2.1 or at least be recognized by Nspire Comp. Link would be greatly appreciated :).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on October 23, 2010, 07:04:34 pm
I dont think the touchpad can handle OS 1.7

you need a clickpad
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 23, 2010, 07:04:40 pm
There's a Ndless 1.4?? ??? I thought it jumped straight from 1.0 and 1.1 to 1.7

Welcome on the forums by the way. Unfortunately I cannot help out, though, since I only use Ndless 1.0 so far. Hopefully someone can answer soon. :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on October 23, 2010, 07:05:12 pm
complete format ?

There's a Ndless 1.4?? ??? I thought it jumped straight from 1.0 and 1.1 to 1.7

Welcome on the forums by the way. Unfortunately I cannot help out, though, since I only use Ndless 1.0 so far. Hopefully someone can answer soon. :)
http://www.unitedti.org/forum/index.php?showtopic=9539&view=findpost&p=142695
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on October 23, 2010, 07:06:07 pm
First, I don't think Ndless 1.4 will work with OS 1.7, only OS 1.4. :)

Pull a battery, put it back in, and hold doc, ee, ente, and onr, then delete the OS and send the one you want!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 23, 2010, 07:10:52 pm
There's a Ndless 1.4?? ??? I thought it jumped straight from 1.0 and 1.1 to 1.7

Welcome on the forums by the way. Unfortunately I cannot help out, though, since I only use Ndless 1.0 so far. Hopefully someone can answer soon. :)
http://www.unitedti.org/forum/index.php?showtopic=9539&view=findpost&p=142695
Wow I didn't see that. That's good to hear since OS 1.7 won't work on a Touchpad. I assume the keys are all scrambled, though, right?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: kyllopardiun on October 23, 2010, 07:16:17 pm
Quote from: United-TI
Notes:
1) Not tested on hardware.
2) Emulator tests:
---CAS) 5 installs - all successful, ran 3 programs - hello.tns, particles.tns, NES game without incident.
NONCAS) 5 installs - 1 failure, however once installed ran 3 programs - hello.tns, particles.tns, NES game without incident.

Well, I guess wasn't a good idea to try on real hardware...
Title: Re: Ndless 1.7 for TI-Nspire
Post by: butzacooky on October 23, 2010, 07:27:13 pm
First, I don't think Ndless 1.4 will work with OS 1.7, only OS 1.4. :)

Pull a battery, put it back in, and hold doc, ee, ente, and onr, then delete the OS and send the one you want!

Heh, yeah I had to figure that out the hard way :)

But hallelujah! It worked :D, in the maintenance menu, I chose option 4 to completely format (if anyone else gets into my position) and then went on to install any OS.

Much appreciated, apcalc :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on October 23, 2010, 07:32:29 pm
First, I don't think Ndless 1.4 will work with OS 1.7, only OS 1.4. :)

Pull a battery, put it back in, and hold doc, ee, ente, and onr, then delete the OS and send the one you want!

Heh, yeah I had to figure that out the hard way :)

But hallelujah! It worked :D, in the maintenance menu, I chose option 4 to completely format (if anyone else gets into my position) and then went on to install any OS.

Much appreciated, apcalc :)

You're Welcome! :)

Also, by doing a complete format, you deleted all of the documents on the calc.  For the future, a safer option would be option #2, which only deletes the OS, but the files are safe.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on October 24, 2010, 05:19:47 pm
cross-post :
http://www.unitedti.org/forum/index.php?showtopic=9539&view=findpost&p=142707
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 25, 2010, 12:13:45 am
Hmm interesting. I wonder if eventually Ndless will be made to work on all OSes...
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on October 31, 2010, 11:24:15 am
Apparently, OS 1.7 itself just won't even work on the CAS Touchpad Nspire, while 1.1 and 1.6 do.

OSes 1.6/1.7 won't boot on a TI-Nspire CAS TouchPad with any of the 4 available keypads (84+, ClickPad, basic TouchPad, CAS TouchPad). You either get continuous reboots, either a "wrong keypad" dialog box when the progress bar reaches 100%.

Here's a photo of that dialog box:
(http://i23.servimg.com/u/f23/13/23/13/53/nsnoke10.jpg)

The photo comes from that french news, which might have other usefull infrmations for you:
http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=877

OSes 1.1-1.4 are booting on a TI-Nspire CAS TouchPad with the original keypad without any problem.
You can't boot with a ClickPad keypad (continuous reboots), but you can swap the keypad while the calculator is on. The calculator won't turn off or reboot as those OSes don't check for the keypad being removed.


As Ndless 1.7 will never work on a TI-Nspire CAS TouchPad with OS 1.7/1.6, it has been modded in order to be installable on OS 1.4.
http://www.unitedti.org/forum/index.php?showtopic=9539

According to Levak's tests, with OS 1.4, we're getting exactly the same USB- and theta-bugs as with OS 1.7.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on October 31, 2010, 11:29:06 pm
It's so weird that this happens. X.x. An older OS works, but not a newer one. What's next, TI? OS 2.1 won't work on newer Nspires that will have 2.2 or 3.0? O.o

Oh well, hopefully those issues will be solved eventually by a Ndless 2.0 release. I guess it will depend of how busy are the developers and if they can figure out bugs.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: dman2073 on November 01, 2010, 03:13:17 pm
Wait a minute- how do you get 1.1 on a touchpad??? I currently have a (borrowed) clickpad if I need it in the process.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 01, 2010, 03:23:00 pm
Wait a minute- how do you get 1.1 on a touchpad??? I currently have a (borrowed) clickpad if I need it in the process.

I think CAS can do it :S
Title: Re: Ndless 1.7 for TI-Nspire
Post by: dman2073 on November 01, 2010, 03:24:37 pm
ScoutDavid- i'm confused is it possible to do it on a regular touchpad?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 01, 2010, 03:25:52 pm
ScoutDavid- i'm confused is it possible to do it on a regular touchpad?

No, there is no OS 1.1 for the touchpad, it never existed.

HOWEVER, with the CAS I think you can do it but not sure.

IF you have a Clickpad you can switch them while Ndless is active :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 01, 2010, 03:26:16 pm
Wait a minute- how do you get 1.1 on a touchpad??? I currently have a (borrowed) clickpad if I need it in the process.

On a basic TouchPad:
1) put a ClickPad keypad
2) install OS 2.1
3) send and launch Nleash
4) install OS 1.1

On a CAS TouchPad:
1) install OS 2.1
2) send and launch Nleash
3) install OS 1.1
4) boot OS 1.1 with the TouchPad keypad
5) while the calculator is on, hot-swap the TouchPad keypad with a ClickPad keypad
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 01, 2010, 03:26:17 pm
nope, you need a clickpad :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 01, 2010, 03:30:07 pm
Wait a minute- how do you get 1.1 on a touchpad??? I currently have a (borrowed) clickpad if I need it in the process.

On a basic TouchPad:
1) put a ClickPad keypad
2) install OS 2.1
3) send and launch Nleash
4) install OS 1.1

On a CAS TouchPad:
1) install OS 2.1
2) send and launch Nleash
3) install OS 1.1
4) boot OS 1.1 with the TouchPad keypad
5) while the calculator is on, hot-swap the TouchPad keypad with a ClickPad keypad

Great explanation, congratz!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: dman2073 on November 01, 2010, 03:33:03 pm
Wait a minute- how do you get 1.1 on a touchpad??? I currently have a (borrowed) clickpad if I need it in the process.

On a basic TouchPad:
1) put a ClickPad keypad
2) install OS 2.1
3) send and launch Nleash
4) install OS 1.1

On a CAS TouchPad:
1) install OS 2.1
2) send and launch Nleash
3) install OS 1.1
4) boot OS 1.1 with the TouchPad keypad
5) while the calculator is on, hot-swap the TouchPad keypad with a ClickPad keypad

Great explanation, congratz!
I followed the instructions exactly but I get an endless reboot.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 01, 2010, 03:34:09 pm
ScoutDavid- i'm confused is it possible to do it on a regular touchpad?

No, there is no OS 1.1 for the touchpad, it never existed.

?

OS 1.1 does exist...

The only problem is that OSes 2.x which are preinstalled on all TouchPad Nspire install a downgrade protection against all OSes older than 2.0.0.

You just need Nleash to destroy that protection.
It works on both basic and CAS TouchPad Nspire.

Moreover, it's easier to get a usable OS 1.1 on a basic TouchPad than on a CAS TouchPad, as explained above:
http://ourl.ca/7106/135366
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 01, 2010, 03:37:50 pm
Also on the CAS, you need to push on the clickpad keypad to keep the connection alive. There's a news on TI-BANK about it but I cannot find it there, same on the forums (did it get deleted or something?). It's a bit akward, but it's the only way to do it, now.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 01, 2010, 03:38:16 pm
Wait a minute- how do you get 1.1 on a touchpad??? I currently have a (borrowed) clickpad if I need it in the process.

On a basic TouchPad:
1) put a ClickPad keypad
2) install OS 2.1
3) send and launch Nleash
4) install OS 1.1

On a CAS TouchPad:
1) install OS 2.1
2) send and launch Nleash
3) install OS 1.1
4) boot OS 1.1 with the TouchPad keypad
5) while the calculator is on, hot-swap the TouchPad keypad with a ClickPad keypad

Great explanation, congratz!
I followed the instructions exactly but I get an endless reboot.


Have you been able to install OS 1.1?

If the endless reboot happened before that, it means that Nleash didn't work well.
Just use the maintenance menu to remove the OS, and try again.

If the endless reboot happened after installing OS 1.1, the problem comes from the keypad.
Which model are you using: basic or CAS TouchPad ?
With which keypad: ClickPad or TouchPad ?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: dman2073 on November 01, 2010, 03:40:54 pm
Wait a minute- how do you get 1.1 on a touchpad??? I currently have a (borrowed) clickpad if I need it in the process.

On a basic TouchPad:
1) put a ClickPad keypad
2) install OS 2.1
3) send and launch Nleash
4) install OS 1.1

On a CAS TouchPad:
1) install OS 2.1
2) send and launch Nleash
3) install OS 1.1
4) boot OS 1.1 with the TouchPad keypad
5) while the calculator is on, hot-swap the TouchPad keypad with a ClickPad keypad

Great explanation, congratz!
I followed the instructions exactly but I get an endless reboot.


Have you been able to install OS 1.1?

If the endless reboot happened before that, it means that Nleash didn't work well.
Just use the maintenance menu to remove the OS, and try again.

If the endless reboot happened after installing OS 1.1, the problem comes from the keypad.
Which model are you using: basic or CAS TouchPad ?
With which keypad: ClickPad or TouchPad ?
I'm using a basic touchpad.  I borrowed a clickpad so I could do this
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 01, 2010, 03:47:15 pm

On a basic TouchPad:
1) put a ClickPad keypad
2) install OS 2.1
3) send and launch Nleash
4) install OS 1.1

On a CAS TouchPad:
1) install OS 2.1
2) send and launch Nleash
3) install OS 1.1
4) boot OS 1.1 with the TouchPad keypad
5) while the calculator is on, hot-swap the TouchPad keypad with a ClickPad keypad

I followed the instructions exactly but I get an endless reboot.


Have you been able to install OS 1.1?

If the endless reboot happened before that, it means that Nleash didn't work well.
Just use the maintenance menu to remove the OS, and try again.

If the endless reboot happened after installing OS 1.1, the problem comes from the keypad.
Which model are you using: basic or CAS TouchPad ?
With which keypad: ClickPad or TouchPad ?
I'm using a basic touchpad.  I borrowed a clickpad so I could do this


You didn't answer my main question...
Let's say it another way.

Are you trying to say that you are getting continuous reboots with:
- a basic TI-Nspire TouchPad
- and the ClickPad keypad
- and the OS 1.1
?

It has worked for me without any problem.
I've even taken a photo which is available online.
My basic TouchPad datestamp is P-0110A.

What is your datestamp?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: dman2073 on November 01, 2010, 03:49:55 pm
It endlessly reboots with touchpad.  My datestamp is P-0610A on the touchpad, P-0308 on the clickpad
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 01, 2010, 03:53:13 pm
It endlessly reboots with touchpad.  My datestamp is P-0610A on the touchpad, P-0308 on the clickpad

And it's normal for OS 1.1 to endlessly reboot with a TouchPad keypad.
That's why I've said in the instructions to install a ClickPad keypad.

The ClickPad keypad is not just needed during installation...
You have to keep it for normal operation of the 1.1 OS.


With the basic TouchPad, you absolutely have to install a ClickPad keypad.
With the CAS TouchPad, you can keep the TouchPad keypad, but the ClickPad keypad will be easier to use... in some way.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: dman2073 on November 01, 2010, 03:57:17 pm
Thanks for the clarification.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 01, 2010, 04:03:34 pm
Ah I found the topic about the keypads mixing http://tibank.forumactif.com/actualites-f25/claviers-amovibles-melanges-t5812.htm

But not the news on the portal :/
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 01, 2010, 04:03:34 pm
Thanks for the clarification.


There is a way to get the 1.1 OS working with a TouchPad keypad on a basic TouchPad.

- install Ndless
- launch a Ndless program, like the particle demo
- hot-swap your ClickPad keypad with a TouchPad keypad

The OS is now working with the TouchPad keypad.
Many keys will be messed up, and the arrow keys won't work at all.
Up to now, there is no fix for that.

But, you'll need the ClickPad keypad again, if your calculator ever reboots...
And I don't remember well, but I think the calculator will reboot if you turn it off then on with the TouchPad keypad...


So, I'm sorry but you need to keep the ClickPad keypad.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 01, 2010, 04:23:37 pm
Ah thanks to critor for finding it, here's the article: http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=844 and video:
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 01, 2010, 09:46:37 pm
Question: Should we move all Ndless help topics in this sub-forum or should I leave them in the help section? Having them in the Ndless sub-forum would make sense, but I think people will still ask Ndless questions in the help sub-forum instead of here and if we keep them where they are, I wouldn't be surprised if people asked questions about it in here. In Axe Parser case, all help topics are in the project sub-forum, though. If we move them here the help section would be less cluttered, but then if too many Ndless topics are located in here, we will have to pin every important topic so they won't get lost in the list.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 01, 2010, 09:48:22 pm
It might be good to move them to the sub-forum so new users can see them in case any of them answer their specific questions, but there are a lot of Ndless question threads, so it might be hard to move them all here.

Instead of moving them, maybe we can start a general Ndless help thread here?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 02, 2010, 04:42:52 am
As long as it doesn't become a 44-page long thread as on UTI...
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 02, 2010, 05:05:14 am
Oh, I meant individual topics, not really one topic. After all, the two main Axe parser topics are 1500-1600 posts large each ;D I was more worried about a flood of individual topics asking questions, then eventually the same questions re-asked again with a few variations after a new version comes out. :P
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 03, 2010, 03:11:08 pm
so, errrm, any updates on this yet? Did you get to find ways so that some of the freezes dont happen, or have you been busy?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 03, 2010, 03:28:56 pm
I was dedicating my time to the GDB debugging feature of the upcoming release of Ncubate. I will look into the freeze issues of Ndless after the release of Ncubate.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 04, 2010, 02:30:47 am
Seems cool, I hope you don't have too much issues figuring those freeze issues out. :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 05, 2010, 04:25:04 pm
Hmm, I forget, was it proven that using the eSATA port makes it work alot better?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 05, 2010, 04:36:03 pm
Hmm, I forget, was it proven that using the eSATA port makes it work alot better?

Not proven.
But Levak has the same bug with the port of Ndless for OS 1.4.

I haven't read of anybody else testing that...
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 05, 2010, 07:12:36 pm
Hmm, I forget, was it proven that using the eSATA port makes it work alot better?
I just hope that at least one person could confirm my tests. I'm not crazy but the solution can't be only mine. I wish it helps as the Ndless team to solve the problem, as the beta-users.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 07, 2010, 04:52:23 pm
I was dedicating my time to the GDB debugging feature of the upcoming release of Ncubate. I will look into the freeze issues of Ndless after the release of Ncubate.

Now that Ncubate has been released, I can get back to Ndless.
And I have good news: the version without the hot reboot (http://ourl.ca/4220/133664) now works on real hardware :)
I need to get rid of a few annoying OS popups, and check the stability of this version before a SVN commit.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 07, 2010, 04:55:58 pm
Excellent news! :D

Does this mean that this version of Ndless will work on OS 2.x (assuming we find the addresses of the syscalls), or is it still only 1.7 compatible?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 07, 2010, 04:56:55 pm
so, you say that the latest version no longer goes away with a reboot? :D
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 07, 2010, 04:58:12 pm
apcalc: I still need to check OS 2.x compatibility.
qazz42: unfortunately this change doesn't yet make Ndless persistent after a reboot.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 07, 2010, 05:32:21 pm
I hope you can eventually get Ndless to run on 2.0.1, it would really rule :D.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: shrear on November 08, 2010, 03:16:13 pm
If you don't mind the question.
Do the Ndless 1.7 source-files exist somewhere as zip or is there a way which I don't see to download them together?

Got it.
Thx ExtendeD
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 08, 2010, 03:33:36 pm
shrear,

The elements you need to download and build Ndless 1.7 are available in the first post (http://ourl.ca/7106/119212).

The source code is versionned on a Subversion repository, which is the best for all to keep up to date and understand the content of the regular upgrades.

You need a Subversion client such as TortoiseSVN as described in the first post. Once installed, create a directory, choose "Checkout" in the right-click menu of Windows, and fill up the URL and account when prompted to.
Title: Calc is borked!!!
Post by: Agentx002 on November 09, 2010, 11:01:44 pm
Oh teh noes! I borked my nspire! :o
☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠
I was a noob and thew 1.1 on a touchpad, I have no clickpad but I saw one somewhere for 9 bucks so I'm probably gonna get that. My nspire is suffering from endless reboot syndrome and of course ON+Home+Enter+P is impossible being that the Home key is the On key, I still tried it failed. I saw somewhere that its doc+enter+EE+ON but I tried that and It didnt work, I did it several times and nothing happened. I did exactly what the readme said:
Code: [Select]
- If the TI-Nspire becomes unusable:
 * Enter the maintenance menu by rebooting it while holding the keys
   ON+Home+Enter+P(which I replaced with doc+enter+EE+ON) until half the progress bar. To reboot the TI-Nspire, unplug
   the USB cable, then remove and put back a battery.
 * Select '2' to uninstall the current OS. Reinstall it when asked to.
I never saw anything asking about uninstalling the OS, and did everything that way a few times. Idk, I'm either just failing at doing the dance dance revolution key moves or my calc is borked and I'll have to wait for the clickpad to ship...

(BTW keep up your googe'in people, you'll find what I found eventually.)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 09, 2010, 11:03:47 pm
Hmm... wasn't there a way to reinstall the OS 2.0 or 2.1? Normally, via maintenance menu it should work but I could be wrong. I think the option is called format, but I'm not sure. I haven't used a Touchpad before.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: jnesselr on November 09, 2010, 11:03:48 pm
whoa, easy on the forum signature.  It takes up more room than your post. ;-)

Anyway, can you show us a picture of your calc.  Also, what version was it before 1.1?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 09, 2010, 11:05:53 pm
whoa, easy on the forum signature.  It takes up more room than your post. ;-)
Oh I didn't get it removed when he joined before since it was just at the limit (actually, I think it's slightly higher than it, the limit is basically Critor's sig :P.) I would probably resize down the banner at the top, though, so it matches the width of the rest.

EDIT: Wait he removed his sig. But it was a huge image about mCAS.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Agentx002 on November 09, 2010, 11:07:56 pm
I'm editing the sig, :P Ti-nspire touchpad:
(http://www.techshout.com/img/ti-nspire-with-touchpad.jpg)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 09, 2010, 11:14:12 pm
Yeah I know about the Touchpad. Hopefully someone can help you. You might want to check general calculator help in case there might be an answer there, since a lot of people asked for Ndless help there. There is also a topic in the Ndless sub-forum under our project.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Agentx002 on November 09, 2010, 11:27:24 pm
Also, what version was it before 1.1?
2.1
Title: I CAN fix it
Post by: qazz42 on November 13, 2010, 04:10:01 pm
that is probably the problem :( did you use nsleah?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 13, 2010, 04:33:04 pm
EDIT:  Nevermind, I was thinking of another key combo.  Sorry :(

Still, ensure you are holding, doc, ee, enter, and on through the entire bar loading phase to ensure that the OS (well, boot 2) will catch the key combo.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 13, 2010, 09:36:20 pm
oh yeah, wasnt it different for the touchpad? Do'h
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 14, 2010, 04:51:11 am
I thought that was the right combo? On clickpad it's home, enter, P then ON.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 14, 2010, 10:04:19 am
The Doc+Enter+EE combo should be the good one, it has been documented by TI (http://hackspire.unsads.com/wiki/index.php/User_FAQ).
Agentx002, is 'ON' the last key you press to turn on the calculator when trying the combo? Do you hold the 3 keys during the whole startup?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 14, 2010, 01:28:30 pm
(One annoying thing is that sometimes, when putting the keypad in, the Nspire automatically boots without even pressing ON, and it's hard to hold down these keys while plugging the keypad in... X.x)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 15, 2010, 03:03:08 pm
It is even worse when you have a loose keypad x.x
the nspire just randomly shuts off
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 15, 2010, 08:56:17 pm
Ouch yeah. Hence why I try not swapping keypads too often...
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 15, 2010, 08:58:50 pm
too late for me :(

and the girl in my class who took one of the school nspire and repeatedly swapped them until none works
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on November 15, 2010, 09:58:02 pm
How does it get worn out? Is it the metal contacts on the keypad being rubbed away, or is it the metal strips on the calc losing their tension?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 15, 2010, 10:07:20 pm
Idk...

does anyone know? I would like to know.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 16, 2010, 01:56:34 pm
BTW, has anyoned hardware hacked the Nspire successfully?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 16, 2010, 04:20:11 pm
Idk...

does anyone know? I would like to know.
Most likely poor hardware design. Normally it should have been made so it is more resistant to wear and tear caused by changing the keypads often.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 16, 2010, 04:40:01 pm
ScoutDavid: I tried with hwti quite a long time to find the JTAG pins on the dock connector without success.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on November 16, 2010, 05:16:04 pm
Idk...

does anyone know? I would like to know.
Look underneath the keypad, where you can see it's connections, and check if they've been rubbed away.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: willrandship on November 16, 2010, 05:56:06 pm
I'm guessing it's a spring problem, considering how people describe it as a loose keypad. Fortunately, I don't have the problem myself. They should make it be held in with a better latch, and no spring.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 16, 2010, 06:05:08 pm
ScoutDavid: I tried with hwti quite a long time to find the JTAG pins on the dock connector without success.

aww, that stinks. Oh well, we will find a solution sooner or later
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 21, 2010, 04:29:10 pm
I was dedicating my time to the GDB debugging feature of the upcoming release of Ncubate. I will look into the freeze issues of Ndless after the release of Ncubate.

Now that Ncubate has been released, I can get back to Ndless.
And I have good news: the version without the hot reboot (http://ourl.ca/4220/133664) now works on real hardware :)
I need to get rid of a few annoying OS popups, and check the stability of this version before a SVN commit.

I am getting closer to a quite stable version :)
Ndless can be installed at least 3 times out of 4 without any crash.
No computer is required during the installation, the theta bug has disappeared, and the program loader is stable.
There are still annoying popups displayed by the OS at installation time, but I should soon merge these changes back to the Subversion trunk to let you try them on your calculators.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 21, 2010, 04:36:14 pm
Cool to hear! Can't wait to see the next version come out! :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 21, 2010, 04:52:04 pm
but I should soon merge these changes back to the Subversion trunk to let you try them on your calculators.
Arf, can't wait :P
Good Job (God Job as well)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 21, 2010, 05:06:48 pm
Great news! :D
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on November 21, 2010, 05:24:11 pm
Yaay!

*fb39ca4 buys some blue lobsters to celebrate
Title: Ndless 1.7 for TI-Nspire - Reworked!
Post by: ExtendeD on November 23, 2010, 04:18:50 pm
Well, bring them with you: I am glad to be able to share this major rework of Ndless. Update your SVN working directory, build it and try it!

This version should be much more stable than the previous one. Computer-less installation is now always possible, and is lightning fast.

Prefer a full rebuild with make clean all.

I will consider the following issues (described in the first post (http://ourl.ca/7106/119212)) as closed unless some of you can still reproduce them:
- Random black screen after reboot at installation time
- Random crash when running programs on real hardware
- Variables changed to theta
- Broken uninstallation
- Reboot when turning the calculator on
- Broken document sorting

You may still fall in one of the frozen clock cases we can't do much about. Wait for a few seconds (the reboot is now automatic) and retry the installation. Tell us your success rate, it should hopefully be higher than before.

My top priority is now OS 2.x and Touchpad support, now perhaps possible with these changes, which could be brought before the end of the year with your help (try, suggest, fix and hack).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 23, 2010, 04:21:20 pm
w00t! Awesome to see this updated! :)

This version doesn't require re-installing every reboot, right?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 23, 2010, 04:30:02 pm
It still does, this is another issue currently without solution. Fortunately the faster installation makes this less painful.
(but notice that this is a feature you won't find in any calculator shell. Ndless v1.x got you used to it :))
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 23, 2010, 04:42:35 pm
I've got a strange error during compilation :

utils_light_thumb.o: In function `ut_calc_reboot':
utils.c:(.text+0xa0): undefined reference to `__builtin_unreachable'


edit :
here is the complete trackback
Spoiler For Spoiler:
levak@levak-i7:/media/JA/TI-Nspire/Ndless-v1.7_svn/trunk$ cd ./tools/MakeSyscalls/;make;cd ../../;make clean;make
./mksyscalls.sh /media/JA/TI-Nspire/Nspire_IDC ../../include/syscalls.h ncas-1.7 cas-1.7
Generating syscalls_ncas-1.7.c...
..................................
Generating syscalls_cas-1.7.c...
..................................
./mksyscalls.sh /media/JA/TI-Nspire/Nspire_IDC ../../include/syscalls-light.h ncas-1.7 cas-1.7
Generating syscalls-light_ncas-1.7.c...
........
Generating syscalls-light_cas-1.7.c...
........
rm -rf dist
Clearing in tools...
make[1]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools »
Clearing in build...
make[2]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/build »
make[2]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/build »
Clearing in MakeLoader...
make[2]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/MakeLoader »
make[2]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/MakeLoader »
make[1]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools »
Clearing in libndls...
make[1]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/libndls »
rm -rf *.o *.elf *.a
rm -f ../lib/libndls.a
make[1]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/libndls »
Clearing in arm...
make[1]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/arm »
rm -rf *.o *.bin *.elf *.xml *.zip
rm -rf ../calcbin/ndless_installer.tns ../calcbin/ndless_resources.tns
make[1]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/arm »
rm -rf calcbin
rm -rf bin lib
make all in tools...
make[1]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools »
make all in build...
make[2]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/build »
cp nspire-gcc nspire-ld  nspire-as ../../bin
make[2]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/build »
make all in MakeLoader...
make[2]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/MakeLoader »
gcc -W -Wall MakeLoader.c -o ../../bin/MakeLoader
make[2]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools/MakeLoader »
make[1]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/tools »
make all in libndls...
make[1]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/libndls »
../bin/nspire-gcc -Os -nostdlib -c sleep.c
'/home/levak/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ar' rcs ../lib/libndls.a sleep.o
make[1]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/libndls »
make all in arm...
make[1]: entrant dans le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/arm »
../bin/nspire-as -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c bootstrapper.S
../bin/nspire-gcc -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c stage1.c
../bin/nspire-gcc -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c ints.c -o ints_light_thumb.o
../bin/nspire-gcc -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c syscalls.c -o syscalls_light_thumb.o
../bin/nspire-gcc -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c utils.c -o utils_light_thumb.o
utils.c: In function 'ut_calc_reboot':
utils.c:83: warning: 'noreturn' function does return
../bin/nspire-gcc -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c syscalls-light_ncas-1.7.c
../bin/nspire-gcc -Os -nostdlib -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -c syscalls-light_cas-1.7.c
../bin/nspire-ld --no-startup -nostdlib bootstrapper.o stage1.o ints_light_thumb.o syscalls_light_thumb.o utils_light_thumb.o syscalls-light_ncas-1.7.o syscalls-light_cas-1.7.o -o ndless_installer.elf
utils_light_thumb.o: In function `ut_calc_reboot':
utils.c:(.text+0xa0): undefined reference to `__builtin_unreachable'
collect2: ld returned 1 exit status
make[1]: *** [ndless_installer.elf] Erreur 1
make[1]: quittant le répertoire « /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/arm »
make: *** [subdirs] Erreur 1
levak@levak-i7:/media/JA/TI-Nspire/Ndless-v1.7_svn/trunk$

edit2 : In fact, make is true.
__builtin_unreachable() has never been defined in all the Ndless svn :

levak@levak-i7:~$ grep -Ri unreachable /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk
/media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/arm/utils.c:   __builtin_unreachable();
Fichier binaire /media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/arm/utils_light_thumb.o concordant
/media/JA/TI-Nspire/Ndless-v1.7_svn/trunk/include/os.h:   __builtin_unreachable();
levak@levak-i7:~$

edit3 : w00t, that's a built-in function \o/
http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html

... that doesn't work ?

edit4 :

In ndless-gcc :

# -fno-builtin: We prefer to use syscalls. And GCC's builtins expansion (http://www.ciselant.de/projects/gcc_printf/gcc_printf.html)
# is incompatible with the inline definition of most syscalls.
"$GCC" -mcpu=arm7tdmi -I "$DIRNAME/../include"  -fpic -fno-builtin "$@"

WHAT ?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calcforth on November 23, 2010, 05:47:19 pm
edit3 : w00t, that's a built-in function \o/
http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
Are you sure you are using GCC 4.5.x ? This built-in does not exist in GCC 4.4.x and below.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 23, 2010, 05:49:57 pm
That is strange.  It compiled fine for me (did you do a make clean all?) ???

One issue:  After installing Ndless on the emulator, it will not let me send files to it (it says "Unknown OS Version")

Also, on hardware, it installed on the second try. :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 23, 2010, 05:52:23 pm
edit3 : w00t, that's a built-in function \o/
http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
Are you sure you are using GCC 4.5.x ? This built-in does not exist in GCC 4.4.x and below.
Thank you for your response, and this will surely resolve the problem, cause I'm with the GCC 4.4x .
I'm looking forward to installing GCC 4.5x on ubuntu 10.04, any sugestions ?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calcforth on November 23, 2010, 06:29:10 pm
Thank you for your response, and this will surely resolve the problem, cause I'm with the GCC 4.4x .
I'm looking forward to installing GCC 4.5x on ubuntu 10.04, any sugestions ?
Tough question. You can try to use Debian packages (http://ftp.debian.org/debian/pool/main/g/gcc-4.5/) (as recommended in this thread (http://ubuntuforums.org/showthread.php?t=1454506)) or compile it yourself. There are bunch of precompiled packages floating around, but I'm not sure which are good and which are not.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Goplat on November 23, 2010, 06:35:29 pm
Excellent!

One bug I noticed: After running ndless_tests.tns, the cursor moves too fast. sleep() isn't setting the timer counter reset value back properly (reading 900D0000 gets its current value, not its reset value), so it ends up speeding up the timer interrupt by a random amount.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 23, 2010, 07:08:50 pm
Well ...
I finaly managed to compile it (thanks to calcforth)
But, I couldn't manage to run asm/C progs which worked perfectly before with Ndless 1.7.
The error is  : "This file cannot be opened nia nia nia".

The instation made double random-pixel lines with the StackOverflow pie-chart instead of the batteries symbol.

The installation worked :
- disconnected
- connected to a USB 3.0 port

The installation failed (freeze clock) :
- connected to a USB 2.0 port

(tested a few times)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 24, 2010, 02:08:39 am
It still does, this is another issue currently without solution. Fortunately the faster installation makes this less painful.
(but notice that this is a feature you won't find in any calculator shell. Ndless v1.x got you used to it :))
Which feature? Requiring a re-install every reboot? Because for me Ndless 1.0 did not uninstall itself after rebooting.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 24, 2010, 03:56:05 am
One issue:  After installing Ndless on the emulator, it will not let me send files to it (it says "Unknown OS Version")

The Initialize vector on which nspire_emu depends should be restored to the OS value, I'll fix this. As a workaround you can use "Connect" before installing Ndless.

sleep() isn't setting the timer counter reset value back properly (reading 900D0000 gets its current value, not its reset value)

Ok, thanks.

But, I couldn't manage to run asm/C progs which worked perfectly before with Ndless 1.7.

So you noticed that:
- The installation fails for you without computer and USB 3.0 is required
- The program loader doesn't work.
I forgot to give the CAS address for ins_lowmem_hook_addrs in install.c (https://www.unsads.com/scm/svn/nsptools/Ndless/trunk/arm/install.c), but this is probably not the cause of the problem. I didn't take the time for CAS tests, did you try it on nspire_emu?

It still does, this is another issue currently without solution. Fortunately the faster installation makes this less painful.
(but notice that this is a feature you won't find in any calculator shell. Ndless v1.x got you used to it :))
Which feature? Requiring a re-install every reboot? Because for me Ndless 1.0 did not uninstall itself after rebooting.

Yes, I mean this was an uncommon feature which could exceptionally be provided by Ndless 1.0.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 24, 2010, 07:56:47 am
But, I couldn't manage to run asm/C progs which worked perfectly before with Ndless 1.7.

So you noticed that:
- The installation fails for you without computer and USB 3.0 is required
- The program loader doesn't work.
I forgot to give the CAS address for ins_lowmem_hook_addrs in install.c (https://www.unsads.com/scm/svn/nsptools/Ndless/trunk/arm/install.c), but this is probably not the cause of the problem. I didn't take the time for CAS tests, did you try it on nspire_emu?


Not exactly.
The "complete" procedure works perfectly when the Nspire is disconnected.
On the Other hand, when I've got the Nspire connected to my USB 2.0 port, it simply freezes like before.
But, the USB 3.0 port lets ndless reboot the calc and "install" it-self, just like before.

The bug is partially corrected, the Nspire haven't to be connected if you want to install ndless.

I think the non-asm-openning problem is due to the missing adresses in install.c, it was just the same problem when we didn't get the hook adresses for CAS.

This will surely resolve the problem.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 24, 2010, 12:38:11 pm
It requires USB 3.0? If someone has an old computer, like my Intel Celeron, which has some USB 2.0 and the original version, does that means they cannot use Ndless?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 24, 2010, 12:38:57 pm
It requires USB 3.0? If someone has an old computer, like my Intel Celeron, which has some USB 2.0 and the original version, does that means they cannot use Ndless?

Wha-a-a-a-at?

Hope not!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 24, 2010, 02:35:26 pm
It requires USB 3.0? If someone has an old computer, like my Intel Celeron, which has some USB 2.0 and the original version, does that means they cannot use Ndless?

... you didn't follow the topic :/
I made tests on the old beta, and FOR ME, JUST FOR ME BECAUSE NOBODY CONFIRMED, I had to be connected to an high-speed USB port (I showed on a picture).
Some had to hot-plug the TI Nspire while installing Ndless (it didn't work for me, this was an example)

Today, I can manage to installa Ndless DISCONECTED from the computer.
On the other hand, if I want to connect the Nspire to the computer while installing Ndless, I have to connect it to this high-speed USB port, otherwise the install fails.

I repeat it as many time it will be known : nobody has confirmed my tests, those are just suppositions, even if I am sure that FOR ME it works like this.

Anyway, I'm looking forward to updating the install.c and add the hook adresses for CAS and port the results here.

edit for ExtendeD : in install.c

well, I found the CAS address for "lowmem" array
Code: [Select]
// OS-specific
// call to the dialog box display warning about low memory
unsigned const ins_lowmem_hook_addrs[] = {0x10012F24, 0x10012E6C};

but it hasn't solved the old problem : can't open asm progs after hot-reboot.

edit2: found another in stage2.c
Code: [Select]
// after the inflate loop, we want to simulate a null-return check and quit
static unsigned const s2_tizip_hook_addrs[] = {0x1019708C, 0x101990A4};

but it hasn't solved the old problem : can't open asm progs after hot-reboot.

edit3 : in bootstrapper.S
Code: [Select]
bs_stack_unwind_addrs:
.long 0x101975FC, 0x10197700
.long 0x10199614, 0x10199718

WIIIIIN !!!!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: bsl on November 24, 2010, 05:31:12 pm
Dont forget to update syscalls-light_cas-1.7.c and syscalls_cas-1.7.c

fseek cas1.7 should be 0x102a6ffc
vsprintf cas1.7 should be 0x102a49e8

The order of the calls is different in syscalls-light_cas-1.7.c - edit carefully
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on November 24, 2010, 09:09:09 pm
Does the Nspire OS contain the realloc (http://www.cplusplus.com/reference/clibrary/cstdlib/realloc/) routine? I'd imagine this could be a very useful routine to have.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 24, 2010, 09:16:05 pm
In the IDC files ExtendeD posted a while back, it says that realloc is at 0x102A1248 in the OS 1.7 non CAS and at 0x102A3258 in OS 1.7 CAS.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 24, 2010, 10:09:36 pm
It requires USB 3.0? If someone has an old computer, like my Intel Celeron, which has some USB 2.0 and the original version, does that means they cannot use Ndless?

... you didn't follow the topic :/
I made tests on the old beta, and FOR ME, JUST FOR ME BECAUSE NOBODY CONFIRMED, I had to be connected to an high-speed USB port (I showed on a picture).
Some had to hot-plug the TI Nspire while installing Ndless (it didn't work for me, this was an example)
First of all, this topic has 17 page and Omnimaga gets 300+ posts a day. I can't be bothered to read through 17 pages of messages everytime I want to make sure something was not mentionned by a person in particular before.
Secondly, this is a Ndless update. It's obvious that there may be differences and that I could have asked about USB 3.0 because of that.
3: I did not even know USB 3.0 existed. I thought 2.0 was still the standard.
4: You are not allowed to reply to other forum members with that tone on Omnimaga, even less trying to make them sound retarded like you just tried to do above. Consider this as a first warning. I rated down your post because of that.

Quoted from the board rules:

Quote
Omnimaga est un site Internet dédié à la programmation de jeux vidéos sur calculatrices graphiques TI, sur PC et la création de musique. En plus des programmes de notre groupe de programmeurs, nous offrons aussi les meilleurs jeux de rôles (RPG) disponibles pour toutes les marques de calculatrices graphiques. Nous avons aussi un salon de discussion IRC (en anglais seulement) pour ceux qui aime le clavardage. Notre but est d'offrir un environnement de discussion amical pour tout programmeur désirant apprendre, offrir ou recevoir de l'aide, montrer leur travail ou simplement discuter. Pour garantir un tel environnement, nous avons écrit une charte que tous les membres du forum et du canal d'Omnimaga doit suivre:

Ce forum de discussion et le salon de clavardage sont disponible pour tout le monde comme privilège. Par contre, soyez informés que les messages publiés par les membres ne représentent pas nécessairement la vision ou l'opinion de la communauté d'Omnimaga et même si nous nous assurons que le forum ne contienne pas de contenu entrant en infraction avec ces règlements, nous ne somme pas parfait et ce contenu peut parfois passer innaperçu. N'hésitez pas à nous signaler les cas d'abus s'il y a lieu. Les comportements et contenus suivants ne sont pas permis sur le forum ni le canal IRC #omnimaga:

1: Messages agressifs, provocateurs (communément appelés "trolls"), insultants et discriminatoires envers une personne ou un groupe de personnes.
2: Commentaires négatifs/agressifs/destructifs injustifié envers le projet d'un membre (comme dénigrer un jeu entier juste pour sa taille de fichier, le nombre de fichiers ou le langage de programmation utilisé même si le jeu est excellent) dans le but de le décourager.
Red: yelling by using ALL-CAPS letters.
Blue: trying to put me down by making me feel stupid

Just because on TI-BANK and United-TI certain people can put down (en français vous dîtes "diminuer" je crois?) members who ask simple questions and miss the answer buried among the previous three hundred messages without worrying if they will feel welcome anymore or not, and that without much consequences, it doesn't mean that they are allowed to do so on Omnimaga. Such behavior can lead to a permanent ban. It is our goal to make sure all members remain friendly to people who have less knowledges on things so those members feel welcome. Thank you for understanding.

Maybe I should disable the forums completly in November, because this seems like the troll months...

Anyway, I don't have OS 1.7 installed right now but could anyone test if he can run into this USB problem?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Goplat on November 24, 2010, 10:15:03 pm
I don't think it has anything to do with USB versions. As I understand it, success or failure of Ndless installation is basically pseudorandom and depends on how much free memory you have. So plugging/unplugging USB cables, creating/deleting documents - anything that causes the OS to allocate or free memory, might change it from working to not working or vice versa.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 25, 2010, 03:48:21 am
Goplat: Yes, you're probably right.

Levak: Thanks, I forgot this one.

Does the Nspire OS contain the realloc (http://www.cplusplus.com/reference/clibrary/cstdlib/realloc/) routine? I'd imagine this could be a very useful routine to have.

It does, with many other already identified (http://ourl.ca/7106/126013). Please post a patch for any change you make to common.h and os.h to help me integrate it quickly.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 25, 2010, 08:33:33 am
Just because on TI-BANK and United-TI you can put down (en français vous dîtes "enfoncer" je crois?) members who ask simple questions and miss the answer buried among the previous three hundred messages without worrying if they will feel welcome anymore or not, it doesn't mean you are allowed to do so on Omnimaga.

Please DJ, don't get mad at me, but I'd like to say something.

Not something about your decision. You're right.
It's true that Levak's post seems agressive to me.
Was it meant? I don't know... Just remember that Levak doesn't speak english natively.
He is taking the time to share his knowledge in english, and he may use the right technical terms, but not the right non-technical terms... He might not have wanted to sound so agressive...
Of course, like you I hope there won't be a next time but if there is, I beg you, please take that into consideration before taking a big decision.

No, it's something about your comment.
I don't know about UTI, but on TI-Bank neither Levak nor the TI-Bank team does put down new members... We are taking the time to post comprehensive answers, and repeat them in other topics if necessary.
Thank you for reading.


Now, back on topic.

Thank you all for the Ndless tests and those great news! ^^
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 25, 2010, 09:47:48 am
Sorry if it sounded like I was saying that you and Levak were putting new TI-BANK members down, it was an example of if you ever decided to do it you may not have any problems, not necessarly saying you were actually doing it. I should probably have said that differently. I'll edit that part of my post to make sure it won't be taken that way anymore. I was saying TI-BANK and United-TI because I do remember people there doing that. I even intervened in one topic to explain that everyone has to start somewhere. Sorry about that.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 25, 2010, 09:49:03 am
No problem :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calcforth on November 25, 2010, 10:05:15 am
I don't think it has anything to do with USB versions.
Actually it kida does. USB 1.x, 2.0 and 3.0 are joined but separate (like oil and water): they have different protocols (if you'll see topology in your device tree list you'll see that USB 1.x devices are connected to UHCI (http://en.wikipedia.org/wiki/Host_controller_interface#Universal_Host_Controller_Interface) or OHCI (http://en.wikipedia.org/wiki/Host_controller_interface#Open_Host_Controller_Interface_2) hub, USB 2.0 devices to EHCI (http://en.wikipedia.org/wiki/Host_controller_interface#Enhanced_Host_Controller_Interface) hub and USB 3.0 devices to xHCI (http://en.wikipedia.org/wiki/Host_controller_interface#Extensible_Host_Controller_Interface) hub), they use different resources, etc. In case of USB 3.0 they even use different wires (http://www.pcmag.com/encyclopedia_term/0,2542,t=USB+30&i=58695,00.asp)!

Well, it's nice information to have, but how it's related to our Ndless woes? Well, the answer is simple: since USB 3.0 connector combines three interfaces in one connector it actually takes longer for it to detect the version of USB device is using! And that means that that Ndless have more time to do it's magic before USB hub will start hammering OS with interrrupts (USB 1.x and 2.0 are fully passive - they only generate activity on slave device when hub asks them to do something; USB 3.0 is different but here it's not very relevant because TI-Nspire does not support USB 3.0).

It means that while USB 3.0 per se should not affect Ndless in any way using USB 3.0 connector may help to make the procedure more robust. That's all. Now the only question is: just what is the troubling part of Ndless which makes it impossible to do any work in the presense of the interrupts and can we reduce this "window of vulnerability"? If we can do it then USB 2.0 or may be 1.x connectors should work too.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 25, 2010, 10:30:36 am
Quote
just what is the troubling part of Ndless which makes it impossible to do any work in the presense of the interrupts and can we reduce this "window of vulnerability"?

I suppose the freeze happens before the code of Ndless is run, we probably won't be able to do much about it.
Since the issue seems to be specific to Levak's configuration, and since the workaround is as simple as unplugging the USB cable before the installation, I won't invest more effort than adding a warning to the ReadMe file.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 25, 2010, 02:08:41 pm
I have a doubt with ndless. When you install it, what exactly happens? Like, I can't find a video. But can you calculate, use it as normal.

And when you install, when you turn off anything happens?

Please explain me because I'm quite curious :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: bsl on November 25, 2010, 02:22:08 pm
Got Ndless CAS1.7 running on the emulator
put in syscalls-light_cas-1.7.c:
Code: [Select]
          0X102A6CCC
        , 0X102A6EC0
        , 0X102a6ffc
        , 0X102A66C4
        , 0X102A481C
        , 0X102AC2DC
        , 0X102A74D4
        , 0X102A31D8
and append to syscalls_cas-1.7.c:
Code: [Select]
        , 0X102A49E8
        , 0x102a6ffc
You can use Levak's  values given on this thread.
Also, to get it to compile, the Makefile under libndls/
I changed the line:
Code: [Select]
from: AR = arm-none-eabi-ar
to:   AR = arm-elf-ar
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 25, 2010, 02:44:35 pm
I have a doubt with ndless. When you install it, what exactly happens? Like, I can't find a video. But can you calculate, use it as normal.

And when you install, when you turn off anything happens?

Please explain me because I'm quite curious :)

You can do what ever you want, either work like before, or run asm progs.
Ndless will "just" by-pass the verification of a valid document and "add" the possibilitie of documents that begin with "PRG"
ExtendeD will surely explain better than me.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 25, 2010, 02:45:50 pm
You can do what ever you want, either work like before, or run asm progs.
Ndless will "just" by-pass the verification of a valid document and "add" the possibilitie of documents that begin with "PRG"
ExtendeD will surely explain better than me.

Hum. Without ndless I can run Asm progs?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: JosJuice on November 25, 2010, 02:48:50 pm
You can do what ever you want, either work like before, or run asm progs.
Ndless will "just" by-pass the verification of a valid document and "add" the possibilitie of documents that begin with "PRG"
ExtendeD will surely explain better than me.

Hum. Without ndless I can run Asm progs?
No.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 25, 2010, 04:27:30 pm
Most fixes suggested have been pushed to the SVN repository.

put in syscalls-light_cas-1.7.c:

The syscalls-*.c files are actually automatically generated by tools/MakeSyscalls from the idc files (http://ourl.ca/7106/126013), I forgot to rebuild them.

Quote
Also, to get it to compile, the Makefile under libndls/ I changed the line:

Fixed, thanks.

sleep() isn't setting the timer counter reset value back properly (reading 900D0000 gets its current value, not its reset value)

Do I need to hard-code the OS value? I can't see any port to read the reset value.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on November 25, 2010, 04:38:02 pm
sleep() isn't setting the timer counter reset value back properly (reading 900D0000 gets its current value, not its reset value)

Do I need to hard-code the OS value? I can't see any port to read the reset value.
Yeah, there seems to be no way to retrieve the reset value from the hardware (aside from looping while polling the port to get which value comes after 0). Might be best to hard-code the OS value.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 25, 2010, 04:54:02 pm
Well, ok :(

I am now releasing binary versions of Ndless 1.7 as a beta release, to get quick feedback before an stable release
-> http://bytecode.fr/miscfiles/ti/nspire/ndless-1.7-beta

Please share the link but avoid distributing copies of the file, since it will be kept up-to-date with the HEAD of the SVN repository.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: jbaem on November 25, 2010, 05:12:52 pm
wow, finally. thanks man!!!

btw: do u already know how long it's gonna take until the stable release??
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 25, 2010, 05:16:19 pm
I could promote this version to a stable release within a week, if I get enough positive comments on it.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 25, 2010, 05:44:54 pm
I could promote this version to a stable release within a week, if I get enough positive comments on it.
You have mine.
I haven't tested the 316, only the 315 ... I don't have as many time as before. I'll surely post this week-end if I encounter problems.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 25, 2010, 08:00:09 pm
So far, I have not encountered any issues with it on hardware. :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 25, 2010, 08:09:49 pm
I could promote this version to a stable release within a week, if I get enough positive comments on it.

wait, we are that close to a stable release? :O

(btw, this topic a a little long, so can someone just tell me which bugs remain? I don't mean to be a bother though, so there is no need `-`) [/tryingtosoundnotdemandingandretarded]
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 25, 2010, 08:24:22 pm
Well, right now, I know of two know bugs with this version:

- In the emulator, after installing Ndless, you can't send files
- Sometimes, the installation freezes on hardware (this is not caused by Ndless, though, and it happens rarely, so it can't/doesn't need to be fixed).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 25, 2010, 08:49:24 pm
ah, and I see the freeze will cause a reboot soon, good.. good

also the emulator thing, do you mean the nspire emu or the 84 keypad emu?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 25, 2010, 08:51:11 pm
Well, ok :(

I am now releasing binary versions of Ndless 1.7 as a beta release, to get quick feedback before an stable release
-> http://bytecode.fr/miscfiles/ti/nspire/ndless-1.7-beta

Please share the link but avoid distributing copies of the file, since it will be kept up-to-date with the HEAD of the SVN repository.
Awesome! This instantly got a +1 from me. I'll probably try it earlier since I won't need to figure out how to compile stuff for now. :)

Hopefully there won't be too many bugs hindering you and the release.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 25, 2010, 08:55:01 pm
ah, and I see the freeze will cause a reboot soon, good.. good

also the emulator thing, do you mean the nspire emu or the 84 keypad emu?

nspire_emu (well, I am using Ncubate, but I think the issue would exist in any version).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 26, 2010, 12:05:33 pm
Yay! Good to hear! /me waits for stable release just to be sure
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 26, 2010, 12:11:10 pm
/me waits for stable release just to be sure

To be sure of what ?
There're no flagrant bugs I guess.
I've installed, uninstalled, installed, uninstalled, ..., Ndless r315 many many times.
I haven't found any dangerous bugs (well, I haven't noticed any bugs yet).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 26, 2010, 12:50:58 pm
True, but my nspire keypad is close to getting loose and I just can't be too careless x.x
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 26, 2010, 12:53:05 pm
Same here, qazz42.  It just doesn't have that "stick" anymore, it comes out much "smoother" than it used to. I am also worried to do things that might require me to remove my keypad. :(

Thankfully, though, this version of Ndless rarely requires you to remove your keypad (although, I did have to do so once when the clock froze and it didn't automatically reset.)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 26, 2010, 01:09:14 pm
So, just to be clear, you need to unplug the nspire before running the installation file?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 26, 2010, 01:10:43 pm
Yes, remove it from the computer. (Actually, that one time I had to remove the keypad, I had it plugged into the computer).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 26, 2010, 01:17:08 pm
ohh, ok, I get it :D

Will try this out later. The one thing I am not looking forward too is constant rebooting ><
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 26, 2010, 03:23:49 pm
Wow, an almost-stable version of Ndless 1.7! This means Ndless 2.0 is approaching! lol

I've got the NSpire Touchpad, so i can't try this, but i would and tell you about it extended.

oh, extended, the bugs you are getting, are them in nCubate or in hardware?

Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 26, 2010, 06:02:40 pm
Actually I wonder if ExtendeD had any luck with Ndless 2.0 lately?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 26, 2010, 06:03:24 pm
Actually I wonder if ExtendeD had any luck with Ndless 2.0 lately?

So do I, that would mean YAY to me and other Touchpad owners.

Can NCubate emulate Touchpad Keypad, by the way?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 26, 2010, 06:20:07 pm
One small issue I have had with Ndless 1.7:

When I turned my Nspire on, I found that Ndless was uninstalled, even though the calculator was not reset.  I just reinstalled Ndless and this was fixed.

I just though I would report in case this is caused by some big problem with Ndless (which I highly doubt).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 26, 2010, 06:21:46 pm
hmm, perhaps it reset itself while off?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 26, 2010, 06:23:09 pm
hmm, perhaps it reset itself while off?

That's what I'm thinking too
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 26, 2010, 06:30:17 pm
hmm, perhaps it reset itself while off?

I guess that might be possible, but by saying it didn't reset, I mean that I did not see the "OS Loading" bar that is associated with a Nspire reset.  Nonetheless, this is not that big of an issue, and I wouldn't worry too much about it.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on November 26, 2010, 07:25:35 pm
@quazz42: I wonder how hard it would be to make a reset switch?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: jbaem on November 27, 2010, 08:44:30 am
hy, i just installed ndless, it works fine, thanks!!
but the problem is:
when i am installing, it only works in maybe 1 out of 4 attempts...the other times it just reboots, or i have to reboot manually
my firmware is 1.1.2741
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 09:04:23 am
hy, i just installed ndless, it works fine, thanks!!
but the problem is:
when i am installing, it only works in maybe 1 out of 4 attempts...the other times it just reboots, or i have to reboot manually
my firmware is 1.1.2741

Hum... That looks like a new bug :S
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 27, 2010, 09:07:06 am
One small issue I have had with Ndless 1.7:

When I turned my Nspire on, I found that Ndless was uninstalled, even though the calculator was not reset.  I just reinstalled Ndless and this was fixed.


Got something similar today.
I ran particles and then turned the calculator off.

While turning it on, the calculator just rebooted.

The 1.7 OS rebooting is quite fast... some secunds.
So maybe you didn't notice it.


Juste happened to me once today, though.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 09:08:11 am
One small issue I have had with Ndless 1.7:

When I turned my Nspire on, I found that Ndless was uninstalled, even though the calculator was not reset.  I just reinstalled Ndless and this was fixed.


Got something similar today.
I ran particles and then turned the calculator off.

While turning it on, the calculator just rebooted.

The 1.7 OS rebooting is quite fast... some secunds.
So maybe you didn't notice it.


Juste happened to me once today, though.

Hum, when you turn off the calculator, it resets?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 27, 2010, 09:11:41 am
One small issue I have had with Ndless 1.7:

When I turned my Nspire on, I found that Ndless was uninstalled, even though the calculator was not reset.  I just reinstalled Ndless and this was fixed.


Got something similar today.
I ran particles and then turned the calculator off.

While turning it on, the calculator just rebooted.

The 1.7 OS rebooting is quite fast... some secunds.
So maybe you didn't notice it.


Juste happened to me once today, though.

Hum, when you turn off the calculator, it resets?

Remember it just happened to me once today.
I've turned the calculator off and then back on dozens of times today without any problem.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 09:13:00 am
One small issue I have had with Ndless 1.7:

When I turned my Nspire on, I found that Ndless was uninstalled, even though the calculator was not reset.  I just reinstalled Ndless and this was fixed.


Got something similar today.
I ran particles and then turned the calculator off.

While turning it on, the calculator just rebooted.

The 1.7 OS rebooting is quite fast... some secunds.
So maybe you didn't notice it.


Juste happened to me once today, though.

Hum, when you turn off the calculator, it resets?

Remember it just happened to me once today.
I've turned the calculator off and then back on dozens of times today without any problem.

Yes, but even though what extendeD wants is a bug-less version for 1.7, a stable release, so pretty much everything matters :S
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 27, 2010, 09:25:51 am
One small issue I have had with Ndless 1.7:

When I turned my Nspire on, I found that Ndless was uninstalled, even though the calculator was not reset.  I just reinstalled Ndless and this was fixed.


Got something similar today.
I ran particles and then turned the calculator off.

While turning it on, the calculator just rebooted.

The 1.7 OS rebooting is quite fast... some secunds.
So maybe you didn't notice it.


Juste happened to me once today, though.

Hum, when you turn off the calculator, it resets?

Remember it just happened to me once today.
I've turned the calculator off and then back on dozens of times today without any problem.

Yes, but even though what extendeD wants is a bug-less version for 1.7, a stable release, so pretty much everything matters :S


Not bug-less but stable.
Bug-less is probably impossible for now.

But it is very stable.
I'm even compiling for Ndless and testing directly on calc.


I was just stating that your "when you turn off the calculator, it resets" was not an accurate description of what happened to me.
And without accurate descriptions, we cannot correct bugs.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 09:27:46 am
One small issue I have had with Ndless 1.7:

When I turned my Nspire on, I found that Ndless was uninstalled, even though the calculator was not reset.  I just reinstalled Ndless and this was fixed.


Got something similar today.
I ran particles and then turned the calculator off.

While turning it on, the calculator just rebooted.

The 1.7 OS rebooting is quite fast... some secunds.
So maybe you didn't notice it.


Juste happened to me once today, though.

Hum, when you turn off the calculator, it resets?

Remember it just happened to me once today.
I've turned the calculator off and then back on dozens of times today without any problem.

Yes, but even though what extendeD wants is a bug-less version for 1.7, a stable release, so pretty much everything matters :S


Not bug-less but stable.
Bug-less is probably impossible for now.

But it is very stable.
I'm even compiling for Ndless and testing directly on calc.


I was just stating that your "when you turn off the calculator, it resets" was not an accurate description of what happened to me.
And without accurate descriptions, we cannot correct bugs.

Yes, a stable not a bug-less release.

Sorry, I misunderstood your problem, but everything seems to be working great at the moment :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 27, 2010, 11:48:59 am
hy, i just installed ndless, it works fine, thanks!!
but the problem is:
when i am installing, it only works in maybe 1 out of 4 attempts...the other times it just reboots, or i have to reboot manually
my firmware is 1.1.2741

Uh, that is confusing, which ndless were you using? If you tried to install ndlesss 1.7 onto OS 1.1 then I don't think that works out very good `-`
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 11:51:15 am
hy, i just installed ndless, it works fine, thanks!!
but the problem is:
when i am installing, it only works in maybe 1 out of 4 attempts...the other times it just reboots, or i have to reboot manually
my firmware is 1.1.2741

Uh, that is confusing, which ndless were you using? If you tried to install ndlesss 1.7 onto OS 1.1 then I don't think that works out very good `-`

As the name implies, Ndless1.7 works in OS1.7 :S
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 27, 2010, 11:59:14 am
I think he meas OS 1.7.2714, as I know that exact version number exists.  The only non CAS 1.1 version that is used is 1.1.9253.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 11:59:58 am
I think he meas OS 1.7.2714, as I know that exact version number exists.  The only non CAS 1.1 version that is used is 1.1.9253.

I have a doubt. Nspire Touchpad can't go back 2 right? So, OS1.7 can't be installed in Touchpads?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 27, 2010, 12:04:24 pm
Maybe I am missing something, but he never stated that it was a touchpad that he installed it on.  I am not sure if OS 1.7 can be installed on all of the touchpads.  I know it won't work on the CAS touchpads, but for some reason I remember reading that it works on the non CAS touchpads (please correct me if this is wrong).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 12:06:07 pm
Maybe I am missing something, but he never stated that it was a touchpad that he installed it on.  I am not sure if OS 1.7 can be installed on all of the touchpads.  I know it won't work on the CAS touchpads, but for some reason I remember reading that it works on the non CAS touchpads (please correct me if this is wrong).

Yes, but he didn't mention it was not a touchpad too, I think.

Either way, I'm sure it isn't, because from what I know (and correct me if I'm wrong xD) Touchpad can only have OSs that are >2.0
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 27, 2010, 12:18:22 pm
Well, you can downgrade the touchpad to 1.x using Nleash (although you must use the clickpad keypad to have it functional), but the touchpads can not be downgraded to 1.7.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 12:19:13 pm
Well, you can downgrade the touchpad to 1.x using Nleash (although you must use the clickpad keypad to have it functional), but the touchpads can not be downgraded to 1.7.

Yes, that's why me and and a bunch of other people are awaiting for Ndless 2.0 :P
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 27, 2010, 12:55:16 pm
Well, you can downgrade the touchpad to 1.x using Nleash (although you must use the clickpad keypad to have it functional), but the touchpads can not be downgraded to 1.7.

non-CAS TouchPads can be downgraded to all OSes 1.1-1.7 with a ClickPad keypad and Nleash.

CAS  TouchPads can only be downgraded to OSes 1.1-1.4 with a ClickPad keypad and Nleash.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 12:56:41 pm
Well, you can downgrade the touchpad to 1.x using Nleash (although you must use the clickpad keypad to have it functional), but the touchpads can not be downgraded to 1.7.

non-CAS TouchPads can be downgraded to all OSes 1.1-1.7 with a ClickPad keypad and Nleash.

CAS  TouchPads can only be downgraded to OSes 1.1-1.4 with a ClickPad keypad and Nleash.

Thanks for clearing things :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 27, 2010, 01:06:46 pm
Thank you, critor, for the clarification! :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 01:42:24 pm
Thank you, critor, for the clarification! :)

So, if I borrow a CLickpad from a friend for one day, i can use Nleash and install Ndless, but every time I need to boot it, I'll need the clickpad again,right?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on November 27, 2010, 01:45:14 pm
Yes, actually, you can downgrade it without the clickpad, but the only way to use the OS is to use the clickpad.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 01:46:07 pm
Yes, actually, you can downgrade it without the clickpad, but the only way to use the OS is to use the clickpad.

I may borrow one, just to try ndless once, but then I'll give it back and wait for Ndless 2.0
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 27, 2010, 03:50:47 pm
Yes, actually, you can downgrade it without the clickpad, but the only way to use the OS is to use the clickpad.


After booting the 1.7 OS with a ClickPad keypad, just launch any Ndless program (which should disable interrupts) and then hotswap the keypads.
Then, you can use your 1.7 OS with a TouchPad keypad, by looking at this image from bsl on UTI:

(http://www.unitedti.org/forum/uploads/post-29767-1289856496407.jpg)


But... you'll need the ClickPad keypad again if the OS ever reboots...
And it will surely reboot very soon, on the next time you turn the calculator off/on, because this forces the changed-keypad check.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 05:14:43 pm
(http://www.unitedti.org/forum/uploads/post-29767-1289856496407.jpg)

This image is sure hard to understand, let's just wait for Ndless2.0 and if ExtendeD takes too long, we just kill him or ask netham45 to do so for us hahah
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calcdude84se on November 27, 2010, 05:51:49 pm
The white super-imposed keys describe how the keycodes are read and understood if they were keycodes for the other keypad.
So, when you press 'X', the calculator acts as if you pressed '.' (To the right of the 'Y' key)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 27, 2010, 07:44:29 pm
The white super-imposed keys describe how the keycodes are read and understood if they were keycodes for the other keypad.
So, when you press 'X', the calculator acts as if you pressed '.' (To the right of the 'Y' key)

Yeah, that is very simple!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 27, 2010, 08:00:28 pm
The white super-imposed keys describe how the keycodes are read and understood if they were keycodes for the other keypad.
So, when you press 'X', the calculator acts as if you pressed '.' (To the right of the 'Y' key)

Yeah, that is very simple!

Even though, looking at the picture works too :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 28, 2010, 05:52:42 am
critor: thanks for the report, please tell me more if you happen to see it again.

I've got the NSpire Touchpad, so i can't try this, but i would and tell you about it extended.

oh, extended, the bugs you are getting, are them in nCubate or in hardware?

I personally get a 100% success rate for the installation on nspire_emu/Ncubate.

Actually I wonder if ExtendeD had any luck with Ndless 2.0 lately?

Sorry, not yet.

Can NCubate emulate Touchpad Keypad, by the way?

Yes, use the /K3 option of nspire_emu/Ncubate.

hy, i just installed ndless, it works fine, thanks!!
but the problem is:
when i am installing, it only works in maybe 1 out of 4 attempts...the other times it just reboots, or i have to reboot manually
my firmware is 1.1.2741

jabem, where do you see this "firmware version"?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on November 28, 2010, 06:10:19 am
hy, i just installed ndless, it works fine, thanks!!
but the problem is:
when i am installing, it only works in maybe 1 out of 4 attempts...the other times it just reboots, or i have to reboot manually
my firmware is 1.1.2741

jabem, where do you see this "firmware version"?

1.1.2741 is unknown to me.
You probably misread your 1.7.2741 OS version.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: jbaem on November 28, 2010, 06:13:50 am

hy, i just installed ndless, it works fine, thanks!!
but the problem is:
when i am installing, it only works in maybe 1 out of 4 attempts...the other times it just reboots, or i have to reboot manually
my firmware is 1.1.2741

jabem, where do you see this "firmware version"?

ok, sorry 4 confusing u. it was just a typo, my firmware is 1.7.2741. and i don't have the touchpad version...  but i had to install ndless a few more times today and it just worked fine. don't know what was wrong yesterday ;)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 28, 2010, 08:59:48 am
critor: thanks for the report, please tell me more if you happen to see it again.

I've got the NSpire Touchpad, so i can't try this, but i would and tell you about it extended.

oh, extended, the bugs you are getting, are them in nCubate or in hardware?

I personally get a 100% success rate for the installation on nspire_emu/Ncubate.

Actually I wonder if ExtendeD had any luck with Ndless 2.0 lately?

Sorry, not yet.

Can NCubate emulate Touchpad Keypad, by the way?

Yes, use the /K3 option of nspire_emu/Ncubate.

hy, i just installed ndless, it works fine, thanks!!
but the problem is:
when i am installing, it only works in maybe 1 out of 4 attempts...the other times it just reboots, or i have to reboot manually
my firmware is 1.1.2741

jabem, where do you see this "firmware version"?

Great extendeD.


hy, i just installed ndless, it works fine, thanks!!
but the problem is:
when i am installing, it only works in maybe 1 out of 4 attempts...the other times it just reboots, or i have to reboot manually
my firmware is 1.1.2741

jabem, where do you see this "firmware version"?

ok, sorry 4 confusing u. it was just a typo, my firmware is 1.7.2741. and i don't have the touchpad version...  but i had to install ndless a few more times today and it just worked fine. don't know what was wrong yesterday ;)

Well, it was a typo afterall :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on November 28, 2010, 11:09:21 am
My assumption is that you installed it while plugged in, amIright?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 28, 2010, 02:04:45 pm
Well hello everybody.
I've reformatted my Ubuntu to the new release 10.10 to get the new gcc 4.5 (I had bugs with recursive depedency with 10.04)

Thus, I've seen that in the Synaptic manager I could install arm-linux-gnueabi 4.5.

I have to note that I never managed to compile the sample files from Ndless 1.7 dev.
I managed this time to compile hella and hello.
I wanted to take my chance with particles, but now, I get this errors :

levak@levak-i7:/media/JA/TI-Nspire/Ndless-v1.7_svn/release/src/samples/particles$ make
../../bin/nspire-gcc -Os -Wall -W -c main.c
In file included from main.c:22:0:
../../bin/../include/os.h:202:1: warning: inline function ‘printf’ given attribute noinline
../../bin/../include/os.h:203:1: warning: inline function ‘sprintf’ given attribute noinline
../../bin/../include/os.h:237:53: warning: inline function ‘exit’ given attribute noinline
/tmp/ccd8YOWW.s: Assembler messages:
/tmp/ccd8YOWW.s:38: Error: lo register required -- `ldmfd sp!,{r0}'
/tmp/ccd8YOWW.s:44: Error: selected processor does not support Thumb mode `stmfd sp!,{r0}'

make: *** [main.o] Erreur 1
levak@levak-i7:/media/JA/TI-Nspire/Ndless-v1.7_svn/release/src/samples/particles$


any idea ?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 28, 2010, 02:15:46 pm
squalyl, who hosts the services used for the development of Ndless, have publicly open the access to the Trac enhancement and issue tracking system.

-> http://www.unsads.com/projects/nsptools

You can now more easily:
- Find causes and workarounds for the issues you come accross
- Report problems
- Be notified when they get fixed
- Suggest features and comment on them
- Get a view of the roadmap (but I would need feedback on the current tickets to build one)

Levak, we could try to discuss about your errors there if you create a new ticket.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 28, 2010, 02:21:13 pm
Nice ExtendeD!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on November 28, 2010, 02:21:50 pm
squalyl, who hosts the services used for the development of Ndless, have publicly open the access to the Trac enhancement and issue tracking system.

-> http://www.unsads.com/projects/nsptools

You can now more easily:
- Find causes and workarounds for the issues you come accross
- Report problems
- Be notified when they get fixed
- Suggest features and comment on them
- Get a view of the roadmap (but I would need feedback on the current tickets to build one)

Levak, we could try to discuss about your errors there if you create a new ticket.

Great!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 28, 2010, 02:25:17 pm
Levak, we could try to discuss about your errors there if you create a new ticket.

Well, I'm sure there is something wrong with my system, cause particles seems to work with other builders...
I'm just asking if there is something missing.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: squalyl on November 28, 2010, 04:43:40 pm
Hello Levak,

please register with an email address. All accounts with no email address will be deleted once in a while.

squalyl
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Levak on November 28, 2010, 04:54:10 pm
Hello Levak,

please register with an email address. All accounts with no email address will be deleted once in a while.

squalyl

Done.
Note that it was mentioned as "optional" when I registered.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: squalyl on November 28, 2010, 06:08:27 pm
yes it is marked as optional even if I require it, but I don't know how to change the trac template. So I added a warning on the wiki main page.

thanks.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 28, 2010, 07:20:32 pm
With certain softwares, it is generally advised to not edit the main templates, since it can make upgrades impossible later (unless done manually). It depends how the software is designed, though. In Omni case, some MODs must be updated manually by editing the code myself because I altered them.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calcforth on November 28, 2010, 07:53:05 pm
With certain softwares, it is generally advised to not edit the main templates, since it can make upgrades impossible later (unless done manually). It depends how the software is designed, though. In Omni case, some MODs must be updated manually by editing the code myself because I altered them.
Strange - I never seen problems managing manual changes in PHP software.

Takes small amount of preparation, though.

Before playing with templates:
$ git init
$ git add .
$ git commit -m 'Initial commit'
$ git branch upstream
... play with your templates, etc; don't forget to "git add ./git commit" (at least once) ...

When new version comes:
$ git checkout upstream
... remove old sources, unpack new ones ...
$ git add .
$ git commit -m 'Here goes version x.y.z"
$ git checkout master
$ git merge upstream

Of course if new version if total rewrite it'll not work and if your changes clashes with bugfixes line-to-line you'll need to manually resolve conflicts, but it's not a big deal in my experience.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 29, 2010, 04:52:50 pm
Well I mean in SMF, if you don't edit the main templates, when an update is released, all you need to do is click a button. It will detect the code that needs to be replaced automatically.

If, however, you changed some of that code, an error will be shown before trying to upgrade. You will have to apply all changes manually. This can take a long while if the update is huge.

In our case, we also use 4 custom templates. SMF mods are applied only to default templates, which means when we need to install a mod using pages where we use custom templates, we need to manually replace code in those templates one by one. An example would be how the topic start dates appears below topic titles on sub-forum view.

I think it depends how the software is designed, how big the change is and some people will find code replacement more tedious than others, simply because everyone is different.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 30, 2010, 04:52:27 pm
I wanted to take my chance with particles, but now, I get this errors :
(...)
/tmp/ccd8YOWW.s: Assembler messages:
/tmp/ccd8YOWW.s:38: Error: lo register required -- `ldmfd sp!,{r0}'
/tmp/ccd8YOWW.s:44: Error: selected processor does not support Thumb mode `stmfd sp!,{r0}'

[/b]

Would this mean GCC is trying to build particles in Thumb mode? Why?
Can you build Ndless itself with your version of GCC without any problems?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on December 02, 2010, 08:24:37 am
I had to add the following line in the os.h file in order to be able to use the int chdir(char*) function:
Code: [Select]
_SYSCALL1(int, chdir, char*)
Now I'm able to browse through the whole Nspire filesystem, even the hidden part!
(http://i63.servimg.com/u/f63/13/23/13/53/ndshel11.gif)


If you need such a browsing interface for your Ndless programs, you may reuse/adapt my code:
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=2001
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on December 02, 2010, 03:36:09 pm
Thanks critor.

Hackspire, Trac and the SVN repository are currently unavailable, sorry for the inconvenience.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on December 02, 2010, 03:44:11 pm
I am planning a final release of Ndless 1.7 this weekend.
The incompatibiliy of the nspire-* wrapper scripts with Unbuntu reported by bwang is the last issue to be fixed, unless someone have any specific fix/feature required for this release not yet included in the latest snapshot (http://bytecode.fr/miscfiles/ti/nspire/ndless-1.7-beta).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: bsl on December 02, 2010, 04:02:18 pm
You might include one or two examples on how to use the SYSCALL_CUSTOM for people
who want to add new standard library function and test them
Title: Re: Ndless 1.7 for TI-Nspire
Post by: squalyl on December 02, 2010, 06:20:45 pm
Hello,

unsads is back, including trac, svn and hackspire (with an updated - but still ugly - logo that matches the trac one \o/ ).

this was a followup of the previous failure. The disk remained weak, and today it totally died.
once in the recovery system, I only had /dev/sda and no more /dev/sda1 and others... frightening!

The whole server hardware has been replaced.

Thanks to the daily backups not a single bit was lost.

sorry for the inconvenience, I'm happy it was relatively short.

and congrats to critor for this awesome shell explorer.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on December 02, 2010, 10:04:00 pm
I am planning a final release of Ndless 1.7 this weekend.
The incompatibiliy of the nspire-* wrapper scripts with Unbuntu reported by bwang is the last issue to be fixed, unless someone have any specific fix/feature required for this release not yet included in the latest snapshot (http://bytecode.fr/miscfiles/ti/nspire/ndless-1.7-beta).
Awesome! Are you still gonna keep a legacy copy of 1.1 in the downloads section when 1.7 is out? It might be useful for CAS Touchpad owners. Hopefully 1.7 final shall solve most people problems about not being able to find a copy of OS 1.1 online, though. I hope you don't run into too many bugs. :)

Hello,

unsads is back, including trac, svn and hackspire (with an updated - but still ugly - logo that matches the trac one \o/ ).

this was a followup of the previous failure. The disk remained weak, and today it totally died.
once in the recovery system, I only had /dev/sda and no more /dev/sda1 and others... frightening!

The whole server hardware has been replaced.

Thanks to the daily backups not a single bit was lost.

sorry for the inconvenience, I'm happy it was relatively short.

and congrats to critor for this awesome shell explorer.
Phew, I am glad no data was lost. I didn't notice the downtime but that can be scary when they happen.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on December 04, 2010, 03:00:01 am
I can keep Ndless v1.1.1 (http://bytecode.fr/ti-nspire/ndless-v1.1.1.zip) available, but I won't provide support for this version anymore.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on December 04, 2010, 03:05:53 am
You might include one or two examples on how to use the SYSCALL_CUSTOM for people
who want to add new standard library function and test them

There is already an example (http://hackspire.unsads.com/wiki/index.php/Ndless_features_and_limitations#Syscalls) available on Hackspire, I hope it is enough to use the macro.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on December 04, 2010, 03:33:24 am
Ok good to hear, in case someone migth prefer 1.1.1 or cannot use 1.7 for any reason. (such as owning a TI-Nspire CAS Touchpad and having no access to another keypad, although now on UTI there's 1.4, if I remember.)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on December 04, 2010, 04:10:26 am
I wanted to take my chance with particles, but now, I get this errors :

I unfortunately don' t have any clue at the moment, I am keeping this aside as a ticket (http://www.unsads.com/projects/nsptools/ticket/55).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on December 04, 2010, 06:43:52 am
Ndless 1.7 was just released!!! All I am expecting now is Ndless 2.0!!!! Touchpad-working!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on December 04, 2010, 08:57:38 am
All I am expecting now is Ndless 2.0!!!! Touchpad-working!

Then, you might consider a small donation to the Ndless team ?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on December 04, 2010, 08:58:36 am
All I am expecting now is Ndless 2.0!!!! Touchpad-working!

Then, you might consider a small donation to the Ndless team ?

If I was very hum... rich I would give you 5 TI NSpire Touchpads for you to play. But I'm not hum... rich, so I can give you moral support, coding support and reply to your stuff to give you more moral support, I'm sorry.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on December 04, 2010, 01:47:41 pm
Oh boy Extended :D this is >9000 in awesomeness. Final release FTW.
BTW,I tried the current beta of ndless, got it to work on 2nd try
Title: Re: Ndless 1.7 for TI-Nspire
Post by: apcalc on December 04, 2010, 02:19:25 pm
Yay!  Congratulations to the Ndless team on this major milestone!  :D
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on December 04, 2010, 09:10:08 pm
I had to add the following line in the os.h file in order to be able to use the int chdir(char*) function:
Code: [Select]
_SYSCALL1(int, chdir, char*)
Now I'm able to browse through the whole Nspire filesystem, even the hidden part!
(http://i63.servimg.com/u/f63/13/23/13/53/ndshel11.gif)


If you need such a browsing interface for your Ndless programs, you may reuse/adapt my code:
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=2001
Btw this is awesome, is it possible to modify files there? O.O

Ndless combines a resident program and utilities to open the TI-Nspire to third-party C and assembly development.

Ndless 1.7 (http://www.omnimaga.org/index.php?action=downloads;sa=view;down=598) is the latest stable release compatible with OS 1.7. This version is currently not compatible with the TI-Nspire Touchpad.
This topic is dedicated to discussions about this version.

Possible enhancements and known issues are available on the tracker (http://www.unsads.com/projects/nsptools).

You may browse the Development resources (http://hackspire.unsads.com/wiki/index.php/Main_Page#Development_resources) on Hackspire to start your own programs.

To build and hack into Ndless 1.7, follow src/doc/Ndess-Development.txt.

Ndless v1.1.1 (http://bytecode.fr/ti-nspire/ndless-v1.1.1.zip) is still available but support is dicontinued.



Issues to be confirmed:

If you happen to come across one of them, please report it.

  • (apcalc) Installation lost when turning the TI-Nspire on:
    Even though the calculator was not reset.  Reinstalling Ndless fixes this.

  • (critor) Reboot when turning the TI-Nspire on:
    'particles' was run before turning it off.



Your help is needed:

- Post any bug report (http://www.unsads.com/projects/nsptools), source-level if possible
- Help us to extend (http://ourl.ca/7106/126013) the list of supported syscalls (http://hackspire.unsads.com/wiki/index.php/Syscalls)
- Any details, diagnostic or patch which would help fixing the defects identified (http://www.unsads.com/projects/nsptools/report/1) is extremely valuable
Awesome to see Ndless 1.7 out! Ndless 1.0 was probably one of the best achievement in the TI community in the last decade and now 1.7 makes it even greater! I'M glad you finally got able to solve all issues to make it compatible with OS 1.7. Let's hope TI keeps a copy of 1.7 on their server for another while. As for 2.0 it will be awesome when it's out, but still, awesome work on 1.0 and 1.7.  :thumbsup:
Title: Re: Ndless 1.7 for TI-Nspire
Post by: qazz42 on December 04, 2010, 10:23:35 pm
W000t, I am so happy now that ndless has finally overcame the power management bug in a release for users too!  /me cires from happyness
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on December 05, 2010, 06:03:00 am
I had to add the following line in the os.h file in order to be able to use the int chdir(char*) function:
Code: [Select]
_SYSCALL1(int, chdir, char*)
Now I'm able to browse through the whole Nspire filesystem, even the hidden part!
(http://i63.servimg.com/u/f63/13/23/13/53/ndshel11.gif)


If you need such a browsing interface for your Ndless programs, you may reuse/adapt my code:
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=2001
Btw this is awesome, is it possible to modify files there? O.O

If you insert the wanted modifying actions in the source code,yes it is possible.
You just need to fopen/fseek/fread/fwrite/fclose.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on December 05, 2010, 03:09:04 pm
I see, thanks for the info. I assume there are things we must NOT modify, though, that could harm the calculator permanently if we do, right?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on December 05, 2010, 03:53:04 pm
I see, thanks for the info. I assume there are things we must NOT modify, though, that could harm the calculator permanently if we do, right?

Probably not permanently, as the boot2 is not accessible through the file system.
So in the worst case, you'll still have the maintenance menu.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on December 05, 2010, 06:21:23 pm
You could still do things like overclock the processor too high or use bluescale too long.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on December 05, 2010, 10:01:42 pm
Oh, right, that's good, then, in some ways. On a 83+ when writing to Flash it's possible to accidentally delete the whole certificate and if you lose your OS then that's pretty bad. I think BrandonW has a tool to unbrick your calc if this happens, but I'm not sure if it requires an actual OS to be installed.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: critor on December 06, 2010, 08:09:48 am
You could still do things like overclock the processor too high or use bluescale too long.

Through accessing the filesystem ? . . .
Title: Re: Ndless 1.7 for TI-Nspire
Post by: JosJuice on December 06, 2010, 09:15:09 am
Oh, right, that's good, then, in some ways. On a 83+ when writing to Flash it's possible to accidentally delete the whole certificate and if you lose your OS then that's pretty bad. I think BrandonW has a tool to unbrick your calc if this happens, but I'm not sure if it requires an actual OS to be installed.
If I recall correctly, BrandonWs program exploits a glitch in the boot code to execute code from another calculator. This requires that the boot pages are present. To restore the calculator in a more normal way (resend the OS from TI-Connect), both the certificate and the boot pages have to be present.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on December 06, 2010, 01:10:00 pm
You could still do things like overclock the processor too high or use bluescale too long.

Through accessing the filesystem ? . . .
Can system settings like contrast be modified directly by browsing through the file system or is that more internal stuff? If that stuff can be browsed and modified, I guess it could be changed, right? Keep in mind I have no tried your program yet and I am not experienced with Nspire ASM/C stuff, though.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on December 06, 2010, 04:25:50 pm
You could still do things like overclock the processor too high or use bluescale too long.

Through accessing the filesystem ? . . .
The overclocking can be done by changing a value in RAM, and bluescale would be just like on the 8x calcs.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on December 06, 2010, 04:57:35 pm
Bluescale can damage the screen, though.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: SirCmpwn on December 06, 2010, 04:57:48 pm
I approve of Ndless 1.7.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on December 07, 2010, 03:34:41 pm
Bluescale can damage the screen, though.
My point exactly.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on December 07, 2010, 03:35:52 pm
Define "bluescale", because I thought that was a test mode in the TI-83+/84+ LCD driver.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on December 07, 2010, 03:40:45 pm
There was a topic on it. Basically, when you turn the LCD contrast up and down very fast, the screen turns blue.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Munchor on December 07, 2010, 03:45:27 pm
There was a topic on it. Basically, when you turn the LCD contrast up and down very fast, the screen turns blue.

Blue? The NSpire has no colours?????
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on December 07, 2010, 04:44:46 pm
Read this (http://ourl.ca/7397). It was done on an 84SE, but really, it applies to all calcs. (Except for the Prizm, of course.)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on December 07, 2010, 08:58:28 pm
I found a little issue with the sdk. In nspire-as and nspire-gcc, it's using the option -mcpu=arm7tdmi (likely a leftover from some GBA development software), but for the Nspire we need -mcpu=arm926ej-s. As a result, it wouldn't assemble some of my instructions. I've fixed this on my end, but it'll be good if there was a fix in the next release of Ndless :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on December 07, 2010, 09:19:49 pm
How did you get it to work? I tried it a while ago with ndless 1.0 and it made the calc crash.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on December 07, 2010, 09:21:56 pm
How did you get it to work? I tried it a while ago with ndless 1.0 and it made the calc crash.
All I did was replace the cpu type. What exactly were you trying to do that wasn't working?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on December 07, 2010, 09:32:46 pm
I just replaced the CPU type too. I was compiling a C program with it. Tomorrow, I'll try it with ndless 1.7.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on December 08, 2010, 03:25:25 am
There was a topic on it. Basically, when you turn the LCD contrast up and down very fast, the screen turns blue.
Oh, you meant that blue. I thought you meant test mode. We're not sure bluescale is possible on the Nspire. It doesn't even work on the regular 83+, just the 83+SE, 84+ and 84+SE.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: calc84maniac on December 14, 2010, 01:01:26 pm
I have just discovered that, while the Nspire's SRAM does repeat every 128KB at 0xA4000000, it is not actually 128KB of RAM. It is 64KB+16KB (the latter repeated 4 times for a total of 128KB address space). Meaning, there is only 80KB. Perhaps this might explain why Ndless always works on the emulator (which emulates 128KB RAM) and fails sometimes on hardware? I think I heard that Ndless installation messes with the SRAM.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: bsl on December 14, 2010, 04:00:17 pm
A4000000 - A4000100   interrupt vector table
A4000100 - A40096FF   screen

0x9700 == 37.75KB of screen+IVT
Leaves the remainder 80k-37.75k above the screen.
Thats interesting, I should use the console program and see for myself that
the memory above the screen repeats on real hardware.

The Ndless installer only uses screen memory - I have a great screen dump of the installation process
stopped just before the screen clears with the "Installed" dialog.
There are 4 bars - top screen bar- initial code
                         second bar - stage 1 code
                         third bar - stage 2 code
                         bottom screen - installation progress stripes -
 
EDIT: The memory does repeat - for those of you interested, run the console program and run 2 commands:

d 0  [which disassembles at A4000000]
and
d 20000 [ which disassembles at A4020000 ]

The results are the same [also A4040000,...]

For the 4 smaller 16k blocks, hexdump at:
h 10000
h 14000
h 18000
h 1c000
 
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on December 14, 2010, 08:51:40 pm
Ah, that's why there are those garbled bars when installing.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on December 15, 2010, 04:34:04 am
Wow it does that? O.o

That will sure reminds me of MLC TI-86 screenshots. When programs were decompressed prior execution, random garbage gradually appeared on the screen for a second.

At least if that happens on my Nspire, now I know why.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: bsl on December 15, 2010, 05:19:17 pm
Here are standard declarations for os.h that are missing but in the idc files.
Some of these functions are completely untested, but here are the declarations anyway.
Some of these are already in os.h .

read_unaligned_longword       _SYSCALL1(size_t, read_unaligned_longword, void *)
read_unaligned_word       _SYSCALL1(int, read_unaligned_word, void *)
isalnum             _SYSCALL1(int, isalnum, int) 
isalpha             _SYSCALL1(int, isalpha, int)
isascii             _SYSCALL1(int, isascii, int)
isdigit             _SYSCALL1(int, isdigit, int)
islower             _SYSCALL1(int, islower, int)
isprint             _SYSCALL1(int, isprint, int)
isspace             _SYSCALL1(int, isspace, int)
isupper             _SYSCALL1(int, isupper, int)
isxdigit          _SYSCALL1(int, isxdigit, int)
toupper             _SYSCALL1(int, toupper, int)
calloc             _SYSCALL2(void*, calloc, size_t, size_t)
free             _SYSCALL1(void, free, void *)
malloc             _SYSCALL1(void*, malloc, size_t)
realloc             _SYSCALL2(void*, realloc, void *, size_t)
fprintf             ?
printf             _SYSCALLVAR(int, __attribute__((__format__(__printf__,1,2))), printf, __attribute__((unused)) const char *format, ...)
sprintf             _SYSCALLVAR(int, __attribute__((__format__(__printf__,2,3))), sprintf, __attribute__((unused)) char *s, __attribute__((unused)) const char *format, ...)
vfprintf_limit256       ?
vsprintf          _SYSCALL3(int, vsprintf, char *, const char *, va_list);
vsprintf_limit256       ?
fclose             _SYSCALL1(int, fclose, FILE *)
fgetc             _SYSCALL1(int, fgetc, FILE *)
fgets             _SYSCALL3(char *, fgets, char * , int , FILE * )
fopen             _SYSCALL2(FILE*, fopen, const char *, const char *)
fread             _SYSCALL4(size_t, fread, void *, size_t, size_t, FILE *)
fseek             _SYSCALL3(int, fseek, FILE *, long int, int)
fwrite             _SYSCALL4(size_t, fwrite, const void *, size_t, size_t, FILE *)
putc             _SYSCALL1(int, putc, int)
puts             _SYSCALL1(int, puts, const char *)
atoi             _SYSCALL1(int, atoi, const char *)
memcmp             _SYSCALL3(int, memcmp, const void *, const void *, size_t)
memcpy             _SYSCALL3(void*, memcpy, void *, const void *, size_t)
memmove             _SYSCALL3(void*, memmove, void *, const void *, size_t)
memset             _SYSCALL3(void*, memset, void *, int, size_t)
strchr             _SYSCALL2(char *, strchr, const char *, int)
strcmp             _SYSCALL2(int, strcmp, const char *, const char *)
strcpy             _SYSCALL2(char *, strcpy, char *, const char *)
strlen             _SYSCALL1(int, strlen, const char *)
strncat             _SYSCALL3(char *, strncat, char *, char *, size_t)
strncmp             _SYSCALL3(char *, strncmp,const char *,const char *, size_t)
strncpy             _SYSCALL3(char *, strncpy, char *,const char *, size_t)
strpbrk             _SYSCALL2(char *, strpbrk, const char *, const char *)
strrchr             _SYSCALL2(const char*, strrchr, const char *, int);
memrev             ?
atof             _SYSCALL1(double, atof, char *)
_fputc             _SYSCALL2(int, fputc, int, FILE *);
chdir             _SYSCALL1(int, chdir, char*)
close             _SYSCALL1(int, close, int)
mkdir             _SYSCALL2(int, mkdir, const char*, int)
open             _SYSCALL3(int, open, const char*, int,int)
read             _SYSCALL4(size_t, read, int, void *,size_t,off_t)
rename             _SYSCALL2(int, rename, const char*, const char*)
rmdir             _SYSCALL1(int, rmdir, const char *)
stat             _SYSCALL2(int, stat, const char *, struct stat *)
unlink             _SYSCALL1(int, unlink, const char *)
write             _SYSCALL4(size_t, write, int, void *,size_t,off_t)
NU_Make_Dir          _SYSCALL1(int,  NU_Make_Dir, char *)
NU_Remove_Dir          _SYSCALL1(int,  NU_Remove_Dir, char *)
NU_Get_First          _SYSCALL2(int, NU_Get_First, struct dstat *, const char * /* pattern */)
NU_Get_Next          _SYSCALL1(int,  NU_Get_Next, struct dstat *)
NU_Done             _SYSCALL1(void, NU_Done, struct dstat *)
NU_Set_Current_Dir       _SYSCALL1(void, NU_Set_Current_Dir, const char *)
NU_Current_Dir          _SYSCALL3(int,  NU_Current_Dir, char *, const char *)
NU_Open             _SYSCALL3(int,  NU_Read, char *, int, int)
NU_Close          _SYSCALL1(int,  NU_Close, int)
NU_Read             _SYSCALL3(int,  NU_Read, int, char *, int)
NU_Write                    _SYSCALL3(int,  NU_Write, int, char *, int)
NU_Seek             _SYSCALL3(int,  NU_Seek, int,int,int)
NU_Delete          _SYSCALL1(int,  NU_Delete, char *)
NU_Rename          _SYSCALL2(int, NU_Rename, char *,char *)
NU_Flush          _SYSCALL1(int, NU_Flush, int)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: fb39ca4 on December 15, 2010, 07:37:03 pm
The screen is the safest place to write to, because the adress never changes, and anything is allowed there.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on December 16, 2010, 04:40:06 am
The screen is the safest place to write to, because the adress never changes, and anything is allowed there.
Ah I see then. I guess it's a good idea unless you are in the middle of a game and don't want weird stuff to appear in the screen when walking around in a dungeon or something. :P (Although I guess maybe only one row could be used at the bottom and it wouldn't be too noticeable)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on December 16, 2010, 01:35:13 pm
bsl, thanks so much!
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on December 17, 2010, 06:16:04 pm
I have added much of these functions to the Subversion trunk. Some have been fixed (such as toupper which should be tolower). All are automatically tested and documented on Hackspire (http://hackspire.unsads.com/wiki/index.php/Syscalls).

I prefer not to include some of the functions (http://www.unsads.com/projects/nsptools/wiki/UndefinedSyscalls) because of the redundancies between the libc, POSIX and Nucleus.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on December 17, 2010, 06:18:32 pm
Cool to hear! :D
Title: Re: Ndless 1.7 for TI-Nspire
Post by: derangedyeti on November 22, 2011, 01:10:56 am
Hey everyone, first time poster, but I really need help, I just got the nspire with the touchpad, non CAS, and I accidentally installed 1.7 with the touchpad, the trick with DOC,EE,Enter, on does not work and I am quite distraught. Please help me unbrick this thing.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Jim Bauwens on November 22, 2011, 03:57:51 am
Well, do you mean ndless started acting weird, and your calculator froze?
Just try to push on the back reset button, and see if that helps :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: derangedyeti on November 22, 2011, 03:34:46 pm
Well I everytime I reset it, it loads 1.7, and I dont have the clickpad, I only have the touchpad, this causes it to be in a constant error screen and I cannot delete the current operating OS, not eve n with a combination of keys
Title: Re: Ndless 1.7 for TI-Nspire
Post by: shrear on November 22, 2011, 03:54:11 pm
Get a needle or something similar, press the reset-button at the back with it, while keeping it pressed down press Doc+Enter+EE, then while keeping these pressed release the reset-button and hold these three until the maintenance menu appears. Then just delete the OS and install another.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: ExtendeD on November 22, 2011, 04:01:27 pm
Just to be sure, does this have anything to do with Ndless?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Goplat on November 22, 2011, 06:35:53 pm
Get a needle or something similar, press the reset-button at the back with it, while keeping it pressed down press Doc+Enter+EE, then while keeping these pressed release the reset-button and hold these three until the maintenance menu appears. Then just delete the OS and install another.

Note that on the Touchpad you have to press "T" to select option 2 from the maintenance menu.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: derangedyeti on November 22, 2011, 10:10:19 pm
Sorry I did not know where else to post this, I will update you guys with results.

EDIT: Worked, you guys are awesome, while you are here though, is there a gbc4nspire for 2.1 OS's or any OS that supports the TouchPad? Thanks
Title: Re: Ndless 1.7 for TI-Nspire
Post by: shrear on November 23, 2011, 12:18:59 pm
is there a gbc4nspire for 2.1 OS's or any OS that supports the TouchPad? Thanks
yes (http://ourl.ca/3840/236372´)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Jonius7 on November 24, 2011, 02:39:18 pm
Ndless has complete support for OS 2.0 and 2.1. However there may be some minor incompatibilities between old ndless programs and games that are no longer updated, though I think generally that older programs should work fine on newer versions of ndless
Title: Re: Ndless 1.7 for TI-Nspire
Post by: pokeeemon on November 29, 2011, 01:43:01 pm
Well... someone could tell me if it works or it will work on Ti-Nspire cas cx 3.0.2.1793 ...? i wanna play some games :P thxx
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Netham45 on November 29, 2011, 02:24:39 pm
It doesn't yet. There is a version in the works for that, though.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Jim Bauwens on November 29, 2011, 02:26:44 pm
But you can already play Lua games, so until ndless 3.1 is out for the CX you can have fun with those :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Lionel Debroux on November 29, 2011, 03:02:44 pm
OS 3.0.2.1793 is a bit special: it's a version that comes with some new calculators, but doesn't seem to be downloadable from TI's site.
pokeeemon: can you try installing 3.0.2.1791 CAS from http://education.ti.com/downloads/files/ti-nspire/3.0.2/TI-NspireCAS-3.0.2.1791.tcc , and tell us whether the calculator accepts it ? Thanks in advance :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Sivokx on November 21, 2012, 11:57:27 am
Hello!
I have OS 3.0.2.1793. Can I downgrade to a version that works with nedless 1.7 (or other)?
Thanks
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Lionel Debroux on November 21, 2012, 12:28:11 pm
You didn't indicate which calculator model you're using ;)
But you'd better upgrade to OS 3.1.0.392 and use Ndless 3.1 :)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Sivokx on November 21, 2012, 01:27:06 pm
Its a TI Nspire CX. Works with nedless 3.1? Where can I download it?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Deep Toaster on November 21, 2012, 01:31:12 pm
Yes, you'll need Ndless 3 for that. This is a very old topic and Ndless 1.7 is outdated—Ndless 3 is available here (http://ndlessly.wordpress.com/2012/01/19/r3leased/).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Lionel Debroux on November 21, 2012, 01:32:23 pm
Quote
Works with nedless 3.1?
Yes, that's what I wrote ;)
(BTW, the spelling is "Ndless", not "nedless").

Quote
Where can I download it?
From its official site, probably from Omnimaga, definitely from TI-Planet, etc.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: DJ Omnimaga on November 21, 2012, 01:47:26 pm
I was checking to make sure it's in Omni archives, and yup it is. I thought that it was still stuck on 1.7 or 2.0 or something. Ndless 1.7 won't work on the CX in any case, since that calc can't use any OS under 3.0.x. It can be useful on older calcs where you can downgrade to 1.7, though, because those calcs have so little memory that OS 2.1 or higher takes most of it. >.<
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Sivokx on November 21, 2012, 01:49:31 pm
Yes, you'll need Ndless 3 for that. This is a very old topic and Ndless 1.7 is outdated—Ndless 3 is available here (http://ndlessly.wordpress.com/2012/01/19/r3leased/).
Thanks. I´ll test.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Sivokx on November 21, 2012, 07:39:52 pm
Hello
there is not ndless v3.0 for OS 3.0.2?
 If do can upgrade to 3.1 then can I do downgrade to 3.0 again?

Please help me, I wanna play some gameboy games!!!!
(TI Nspire 3.0.2.1793)
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Lionel Debroux on November 22, 2012, 01:36:14 am
Quote
there is not ndless v3.0 for OS 3.0.2?
No, there is not.

Quote
If do can upgrade to 3.1 then can I do downgrade to 3.0 again?
Yes, you can: http://ti-pla.net/a4238 . There's little point in doing that, as OS 3.0.1.1753, 3.0.2.1791 and 3.0.2.1793 have more bugs and fewer features than OS 3.1.0.392 has.
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Sivokx on November 23, 2012, 01:15:55 pm
Can you send me the links of OS 3.1.0.392 and OS 3.0.2.1793 to download?
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Hayleia on November 23, 2012, 01:38:48 pm
Have them all here (http://tiplanet.org/forum/archives_list.php?id=OS+Nspire). Don't forget to download the OS according to your calculator (don't try to send a CX OS to a non CX, that won't bring you colors :P).
Title: Re: Ndless 1.7 for TI-Nspire
Post by: Lionel Debroux on November 23, 2012, 02:14:01 pm
Nspire CX / CX CAS OS 3.1.0.392:
http://education.ti.com/downloads/files/ti-nspire/3.1/TI-NspireCX-3.1.0.392.tco
http://education.ti.com/downloads/files/ti-nspire/3.1/TI-NspireCXCAS-3.1.0.392.tcc

Nspire CX / CX CAS OS 3.0.2.1793:
http://tiplanet.org/forum/archives_voir.php?id=3888
http://tiplanet.org/forum/archives_voir.php?id=3839