Author Topic: Ndless 2.0 for TI-Nspire Clickpad/Touchpad  (Read 179117 times)

0 Members and 1 Guest are viewing this topic.

Offline calcforth

  • LV3 Member (Next: 100)
  • ***
  • Posts: 62
  • Rating: +4/-4
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #165 on: December 28, 2010, 05:59:59 pm »
Could there be some execution protection on the heap, but not for all the allocations?
Highly unlikely. nSpire is ARM9 and XN bit was only introduced in ARMv6. It looks more like some kind of timing issue.

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #166 on: December 28, 2010, 06:11:56 pm »
But with the interrupts masked, what could interfer?
Ndless.me with the finest TI-Nspire programs

Offline calcforth

  • LV3 Member (Next: 100)
  • ***
  • Posts: 62
  • Rating: +4/-4
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #167 on: December 28, 2010, 06:24:54 pm »
But with the interrupts masked, what could interfer?
Most probable cause is caches. Read this - does it look like what you are seeing?

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #168 on: December 28, 2010, 07:49:32 pm »
Ah yes, caches could be a big issue. In the Ndless program loader, after loading a program try running this: (info taken from the arm926ej-s manual)
Code: [Select]
tc_loop: MRC p15, 0, r15, c7, c10, 3 @test and clean DCache
BNE tc_loop
mov r0,#0
MCR p15, 0, r0, c7, c7, 0 @invalidate ICache and DCache
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #169 on: December 28, 2010, 08:30:59 pm »
The following issue has been fixed:

  • Installation message replaced by a document format warning on real harware:
    The program loader is called before it is installed, earlier than on OS 1.7. The issue doesn't appear on nspire_emu.

I am confused, does the strikethrough means you had it fixed, but then you discovered it was not and you added the [ s ] tag to your text so people disregard the post? ???

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #170 on: December 28, 2010, 11:24:48 pm »
So how is this going?
Is the touch pad compatible yet?
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline Tuxpp

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #171 on: December 29, 2010, 03:37:56 am »
All keys work, except arrow keys : but they are mapped to number keys (1 to 9).
And you have to rebuild all programs with the new version of ndless to use the touchpad keypad.

Offline shrear

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 193
  • Rating: +17/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #172 on: December 29, 2010, 04:54:26 am »
The following issue has been fixed:

  • Installation message replaced by a document format warning on real harware:
    The program loader is called before it is installed, earlier than on OS 1.7. The issue doesn't appear on nspire_emu.

I still get the format warning message. (I did "make clean", before the rebuild (revision 351) )
So this isn't fixed yet...
« Last Edit: December 29, 2010, 04:55:16 am by shrear »

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #173 on: December 29, 2010, 05:23:19 am »
The following issue has been fixed:

  • Installation message replaced by a document format warning on real harware:
    The program loader is called before it is installed, earlier than on OS 1.7. The issue doesn't appear on nspire_emu.

I still get the format warning message. (I did "make clean", before the rebuild (revision 351) )
So this isn't fixed yet...

He removed it from Major issues, didn't he ?
« Last Edit: December 29, 2010, 05:23:35 am by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline shrear

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 193
  • Rating: +17/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #174 on: December 29, 2010, 05:29:02 am »
Yes he did.
Maybe it's my English but what does that change ???

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #175 on: December 29, 2010, 06:33:00 am »
Could someone please build the latest release for me? Or explain step-by-step how to do it? (I'm sorry for being a n00b.) I can't seem to figure out how to setup everything myself... :(
« Last Edit: December 29, 2010, 06:34:13 am by Silver Shadow »
Former Coder of Tomorrow


Offline shrear

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 193
  • Rating: +17/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #176 on: December 29, 2010, 06:56:01 am »
-install Msys + Mingw
-install 7zip
-install Yagarto
-add the 7-zip folder and the yagarto "bin-folder"  to your "Path" variable (on W7: Control Panel\System and Security\System # Advanced system settings # Environment Variables )
(to add: write ";" after the existing "paths" and copy paste)


open Msys
write: cd <path to ndless directory>/tools
write: make

add the crated "bin folder" (/something/ndless/bin) to your path variables

write: cd <path to ndless directory>
write: make

if I didn't miss something it should now build.
« Last Edit: December 29, 2010, 10:15:52 am by shrear »

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #177 on: December 29, 2010, 07:06:59 am »
Could someone please build the latest release for me? Or explain step-by-step how to do it? (I'm sorry for being a n00b.) I can't seem to figure out how to setup everything myself... :(

follow this http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #178 on: December 29, 2010, 07:22:50 am »
Thanks a lot guys! I'll let you know when I finish setting up everything.
« Last Edit: December 29, 2010, 07:45:49 am by Silver Shadow »
Former Coder of Tomorrow


Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #179 on: December 29, 2010, 07:45:52 am »
I get this error when I do "make" in the Ndless directory:

make[1]: nspire-gcc: Command not found
make[1]: *** [any_key_pressed.o] Error 127
make[1]: Leaving directory `/c/users/silver/documents/ndless/libndls'
make: *** [subdirs] Error 1
« Last Edit: December 29, 2010, 08:41:13 am by Silver Shadow »
Former Coder of Tomorrow