Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
22 May, 2013, 09:35:05 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 16 17 [18] 19 20 ... 28   Go Down
  Print  
Author Topic: Ndless 1.7 for TI-Nspire -  (Read 35103 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
critor
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 06:15:08
Date Registered: 14 July, 2009, 23:57:37
Location: Aix-Marseille, France
Posts: 1722


Total Post Ratings: +369

View Profile WWW
« Reply #255 on: 25 November, 2010, 15:33:33 »
0

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! ^^
« Last Edit: 25 November, 2010, 15:45:01 by critor » Logged

TI-Planet co-admin.
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 07:31:30
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50214


Total Post Ratings: +2613

View Profile WWW
« Reply #256 on: 25 November, 2010, 16:47:48 »
0

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.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
critor
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 06:15:08
Date Registered: 14 July, 2009, 23:57:37
Location: Aix-Marseille, France
Posts: 1722


Total Post Ratings: +369

View Profile WWW
« Reply #257 on: 25 November, 2010, 16:49:03 »
0

No problem Smiley
Logged

TI-Planet co-admin.
calcforth
LV3 Member (Next: 100)
***
Offline Offline

Last Login: 23 January, 2011, 20:50:28
Date Registered: 11 November, 2010, 21:32:07
Posts: 62

Total Post Ratings: 0

View Profile
« Reply #258 on: 25 November, 2010, 17:05:15 »
0

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 or OHCI hub, USB 2.0 devices to EHCI hub and USB 3.0 devices to xHCI hub), they use different resources, etc. In case of USB 3.0 they even use different wires!

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.
Logged
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: 20 May, 2013, 19:47:13
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Topic starter
Total Post Ratings: +151

View Profile
« Reply #259 on: 25 November, 2010, 17:30:36 »
0

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.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: Yesterday at 17:58:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #260 on: 25 November, 2010, 21:08:41 »
0

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 Smiley
Logged
bsl
LV4 Regular (Next: 200)
****
Offline Offline

Last Login: 22 October, 2012, 03:42:44
Date Registered: 23 February, 2010, 18:14:18
Posts: 148

Total Post Ratings: +11

View Profile
« Reply #261 on: 25 November, 2010, 21:22:08 »
0

Got Ndless CAS1.7 running on the emulator
put in syscalls-light_cas-1.7.c:

1
2
3
4
5
6
7
8
9
          0X102A6CCC
        , 0X102A6EC0
        , 0X102a6ffc
        , 0X102A66C4
        , 0X102A481C
        , 0X102AC2DC
        , 0X102A74D4
        , 0X102A31D8
and append to syscalls_cas-1.7.c:

1
2
3
        , 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:

1
2
from: AR = arm-none-eabi-ar
to:   AR = arm-elf-ar
Logged
Levak
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 01:50:13
Date Registered: 04 April, 2010, 23:42:49
Location: France
Posts: 840


Total Post Ratings: +148

View Profile WWW
« Reply #262 on: 25 November, 2010, 21:44:35 »
+1

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 Smiley

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.
Logged

Human always wants to survive and that's why he will fall one day.
My website - TI-Planet - iNspired-Lua
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: Yesterday at 17:58:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #263 on: 25 November, 2010, 21:45:50 »
0

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?
Logged
JosJuice
LV9 Veteran (Next: 1337)
*********
Offline Offline

Last Login: Yesterday at 21:41:41
Date Registered: 24 September, 2010, 16:46:12
Location: Sweden
Posts: 1300


Total Post Ratings: +51

View Profile
« Reply #264 on: 25 November, 2010, 21:48:50 »
0

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.
Logged

ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: 20 May, 2013, 19:47:13
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Topic starter
Total Post Ratings: +151

View Profile
« Reply #265 on: 25 November, 2010, 23:27:30 »
0

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, 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.
« Last Edit: 25 November, 2010, 23:27:44 by ExtendeD » Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 20 May, 2013, 21:27:24
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2735


Total Post Ratings: +373

View Profile
« Reply #266 on: 25 November, 2010, 23:38:02 »
0

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.
Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: 20 May, 2013, 19:47:13
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Topic starter
Total Post Ratings: +151

View Profile
« Reply #267 on: 25 November, 2010, 23:54:02 »
+2

Well, ok Sad

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.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
jbaem
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 03 October, 2012, 13:02:34
Date Registered: 20 May, 2010, 21:04:45
Posts: 12

Total Post Ratings: 0

View Profile
« Reply #268 on: 26 November, 2010, 00:12:52 »
0

wow, finally. thanks man!!!

btw: do u already know how long it's gonna take until the stable release??
Logged
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: 20 May, 2013, 19:47:13
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Topic starter
Total Post Ratings: +151

View Profile
« Reply #269 on: 26 November, 2010, 00:16:19 »
0

I could promote this version to a stable release within a week, if I get enough positive comments on it.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Pages: 1 ... 16 17 [18] 19 20 ... 28   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.238 seconds with 32 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.