Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 May, 2013, 19:15:21 *
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 ... 15 16 [17] 18 19 ... 28   Go Down
  Print  
Author Topic: Ndless 1.7 for TI-Nspire -  (Read 35063 times) Bookmark and Share
0 Members and 2 Guests are viewing this topic.
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 #240 on: 24 November, 2010, 01:29:10 »
+1

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 (as recommended in this thread) or compile it yourself. There are bunch of precompiled packages floating around, but I'm not sure which are good and which are not.
Logged
Goplat
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Today at 17:15:32
Date Registered: 08 December, 2009, 13:17:47
Posts: 289

Total Post Ratings: +77

View Profile
« Reply #241 on: 24 November, 2010, 01:35:29 »
0

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

Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo
Levak
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 15:52:40
Date Registered: 04 April, 2010, 23:42:49
Location: France
Posts: 832


Total Post Ratings: +148

View Profile WWW
« Reply #242 on: 24 November, 2010, 02:08:50 »
0

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)
« Last Edit: 24 November, 2010, 02:10:01 by Levak » Logged

Human always wants to survive and that's why he will fall one day.
My website - TI-Planet - iNspired-Lua
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: --)
*
Online Online

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


Total Post Ratings: +2611

View Profile WWW
« Reply #243 on: 24 November, 2010, 09:08:39 »
0

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 Smiley)
Which feature? Requiring a re-install every reboot? Because for me Ndless 1.0 did not uninstall itself after rebooting.
Logged

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 10:41:33
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Topic starter
Total Post Ratings: +151

View Profile
« Reply #244 on: 24 November, 2010, 10:56:05 »
0

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, 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 Smiley)
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.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Levak
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 15:52:40
Date Registered: 04 April, 2010, 23:42:49
Location: France
Posts: 832


Total Post Ratings: +148

View Profile WWW
« Reply #245 on: 24 November, 2010, 14:56:47 »
0

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

Human always wants to survive and that's why he will fall one day.
My website - TI-Planet - iNspired-Lua
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: --)
*
Online Online

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


Total Post Ratings: +2611

View Profile WWW
« Reply #246 on: 24 November, 2010, 19:38:11 »
0

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

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Munchor
LV13 Extreme Addict (Next: 9001)
*************
Offline Offline

Gender: Male
Last Login: 07 May, 2013, 22:49:01
Date Registered: 16 October, 2010, 15:39:13
Location: Position
Posts: 6209


Total Post Ratings: +174

View Profile
« Reply #247 on: 24 November, 2010, 19:38:57 »
0

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!
Logged
Levak
LV8 Addict (Next: 1000)
********
Offline Offline

Gender: Male
Last Login: Today at 15:52:40
Date Registered: 04 April, 2010, 23:42:49
Location: France
Posts: 832


Total Post Ratings: +148

View Profile WWW
« Reply #248 on: 24 November, 2010, 21:35:26 »
0

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 Undecided
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

1
2
3
// 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

1
2
3
// 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

1
2
3
bs_stack_unwind_addrs:
.long 0x101975FC, 0x10197700
.long 0x10199614, 0x10199718

WIIIIIN !!!!
« Last Edit: 25 November, 2010, 00:06:59 by Levak » Logged

Human always wants to survive and that's why he will fall one day.
My website - TI-Planet - iNspired-Lua
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 #249 on: 25 November, 2010, 00:31:12 »
0

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
« Last Edit: 25 November, 2010, 00:50:25 by bsl » Logged
calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: 14 May, 2013, 10:02:35
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2735


Total Post Ratings: +373

View Profile
« Reply #250 on: 25 November, 2010, 04:09:09 »
0

Does the Nspire OS contain the realloc routine? I'd imagine this could be a very useful routine to have.
Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
apcalc
The Game
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 16:59:33
Date Registered: 20 March, 2010, 16:31:47
Location: 2003 UB313
Posts: 1393


Total Post Ratings: +118

View Profile
« Reply #251 on: 25 November, 2010, 04:16:05 »
0

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


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: --)
*
Online Online

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


Total Post Ratings: +2611

View Profile WWW
« Reply #252 on: 25 November, 2010, 05:09:36 »
0

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 Undecided
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?
« Last Edit: 25 November, 2010, 16:49:06 by DJ Omnimaga » Logged

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

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Goplat
LV5 Advanced (Next: 300)
*****
Offline Offline

Gender: Male
Last Login: Today at 17:15:32
Date Registered: 08 December, 2009, 13:17:47
Posts: 289

Total Post Ratings: +77

View Profile
« Reply #253 on: 25 November, 2010, 05:15:03 »
0

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

Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Today at 10:41:33
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Topic starter
Total Post Ratings: +151

View Profile
« Reply #254 on: 25 November, 2010, 10:48:21 »
0

Goplat: Yes, you're probably right.

Levak: Thanks, I forgot this one.

Does the Nspire OS contain the realloc routine? I'd imagine this could be a very useful routine to have.

It does, with many other already identified. Please post a patch for any change you make to common.h and os.h to help me integrate it quickly.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Pages: 1 ... 15 16 [17] 18 19 ... 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.451 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.