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

0 Members and 2 Guests are viewing this topic.

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #300 on: January 07, 2011, 05:57:22 pm »
In gbc4nspire I can't use the arrows too. Will this problems be solved if I downgrade to 2.0?

Do you have a touchpad?  gbc4nspire is not compatible with the touchpad. :(


Offline robinsousa

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 17
  • Rating: +0/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #301 on: January 07, 2011, 06:19:15 pm »
Oh I thought it was. So what games and programs are compatible up to now
« Last Edit: January 07, 2011, 06:20:17 pm by robinsousa »

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #302 on: January 07, 2011, 06:20:16 pm »
At this point, I think Block Dude and the Ndless Demo may be the only touchpad compatible programs.  Everything else has to be rebuilt with the latest version of Ndless.


Offline robinsousa

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 17
  • Rating: +0/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #303 on: January 07, 2011, 06:43:39 pm »
I can play Monopoly for gbc using only the esc and tab buttons :) because it doesn't need the arrow keys (not completely true but, if I accept all the options with the esc key I don't need them) and I don't need to select it in gbc4nspire menu because it is the first of the list.

So, some games of gbc4nspire are compatible with the touchpad  ;D
« Last Edit: January 07, 2011, 06:45:23 pm by robinsousa »

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 #304 on: January 08, 2011, 08:57:50 pm »
SatanicToothpaste: what do you want exactly from us to help you?
I am sorry to find most of your posts related to Ndless quite offensive.
To sum up: you are annoyed not to see any release of a program you are not sure what it is exactly, and at the same time complaining about the poor choices being made on priorities, and the low quality of an alpha version. Am I wrong?
User was sent a warning because it is definitively clear he doesn't have any respect for the work from people who spend time debugging/working on/testing Ndless. People should be glad that people actually made Ndless.

@SatanicToothPaste, if you feel that Ndless development speed/chronology doesn't satisfy your personal needs, wouldn't you mind contributing yourself as well to improve that?

Anyway to everyone else, keep up the good work on Ndless 2.0!

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 #305 on: January 09, 2011, 07:15:06 am »
apcalc: I have added show_msgbox() as a replacement for show_dialog_box2, compatible with OS 2.1 and which doesn't need calls to ascii2utf16().
Ndless.me with the finest TI-Nspire programs

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 #306 on: January 09, 2011, 07:22:25 am »
I tried compiling the 362 version, but I get an error:
Code: [Select]
nspire-gcc -Os -nostdlib -std=c99 -c clear_cache.c
clear_cache.c: In function 'clear_cache':
clear_cache.c:27:2: error: 'asm' undeclared (first use in this function)
clear_cache.c:27:2: note: each undeclared identifier is reported only once for each function it appears in
clear_cache.c:27:6: error: expected ';' before 'volatile'
make[1]: *** [clear_cache.o] Error 1
Former Coder of Tomorrow


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 #307 on: January 09, 2011, 07:47:59 am »
Sorry, I should have used "make clean all" to make sure nothing broke. It's fixed.
« Last Edit: January 09, 2011, 08:52:18 am by ExtendeD »
Ndless.me with the finest TI-Nspire programs

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 #308 on: January 09, 2011, 08:21:14 am »
Now everything works fine. :)
Former Coder of Tomorrow


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 #309 on: January 09, 2011, 10:10:46 am »
Meh? I was sucessful in running stuffs after the "Not Supported" Message.

So this bug comes back :(

I can't reproduce this problem with my Clickpad, either with OS 2.0.1 and OS 2.1.
jkag, are you using a Touchpad?
Does anyone also have a ""Not Supported" popup instead of the Ndless message at installation time, with revision >= 354?
Ndless.me with the finest TI-Nspire programs

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #310 on: January 09, 2011, 03:47:43 pm »
Code: [Select]
Juckel@JULIAN /ndless
$ make dist
rm -rf dist
Clearing in tools...
make[1]: Entering directory `/ndless/tools'
Clearing in build...
make[2]: Entering directory `/ndless/tools/build'
cd ../../bin && rm -f nspire-gcc nspire-ld  nspire-as || :
make[2]: Leaving directory `/ndless/tools/build'
Clearing in MakeLoader...
make[2]: Entering directory `/ndless/tools/MakeLoader'
rm -f ../../bin/MakeLoader.exe
make[2]: Leaving directory `/ndless/tools/MakeLoader'
make[1]: Leaving directory `/ndless/tools'
Clearing in libndls...
make[1]: Entering directory `/ndless/libndls'
rm -rf *.o *.elf *.a
rm -f ../lib/libndls.a
make[1]: Leaving directory `/ndless/libndls'
Clearing in arm...
make[1]: Entering directory `/ndless/arm'
rm -rf *.o *.bin *.elf *.xml *.zip
rm -rf ../calcbin/ndless_installer*.tns ../calcbin/ndless_resources.tns
make all in tests...
make[2]: Entering directory `/ndless/arm/tests'
rm -f *.o *.elf
rm -f ../../calcbin/tests/ndless_tests.tns
rm -f ../../calcbin/tests/ndless_keys.tns
rm -f ../../calcbin/tests/ReadMe.txt
make[2]: Leaving directory `/ndless/arm/tests'
make[1]: Leaving directory `/ndless/arm'
Clearing in samples...
make[1]: Entering directory `/ndless/samples'
Clearing in hella...
make[2]: Entering directory `/ndless/samples/hella'
rm -f *.o *.elf
rm -f ../../calcbin/samples/hella.tns
make[2]: Leaving directory `/ndless/samples/hella'
Clearing in hello...
make[2]: Entering directory `/ndless/samples/hello'
rm -f *.o *.elf
rm -f ../../calcbin/samples/hello.tns
make[2]: Leaving directory `/ndless/samples/hello'
Clearing in particles...
make[2]: Entering directory `/ndless/samples/particles'
rm -f *.o *.elf
rm -f ../../calcbin/samples/particles.tns
make[2]: Leaving directory `/ndless/samples/particles'
rm -f ../calcbin/samples/ReadMe.txt
make[1]: Leaving directory `/ndless/samples'
rm -rf calcbin
rm -rf bin lib
mkdir -p dist/src
cp -r `ls | grep -v dist` dist/src
find dist -name Makefile.config | xargs rm -rf
make all in tools...
make[1]: Entering directory `/ndless/tools'
make all in build...
make[2]: Entering directory `/ndless/tools/build'
cp nspire-gcc nspire-ld  nspire-as ../../bin
make[2]: Leaving directory `/ndless/tools/build'
make all in MakeLoader...
make[2]: Entering directory `/ndless/tools/MakeLoader'
gcc -W -Wall MakeLoader.c -o ../../bin/MakeLoader.exe
make[2]: Leaving directory `/ndless/tools/MakeLoader'
make[1]: Leaving directory `/ndless/tools'
make all in libndls...
make[1]: Entering directory `/ndless/libndls'
nspire-gcc -Os -nostdlib -c any_key_pressed.c
nspire-gcc -Os -nostdlib -marm -c clear_cache.c
nspire-gcc -Os -nostdlib -c clrscr.c
nspire-gcc -Os -nostdlib -c feof.c
nspire-gcc -Os -nostdlib -c fgets.c
nspire-gcc -Os -nostdlib -c fputs.c
nspire-gcc -Os -nostdlib -marm -c idle.c
nspire-gcc -Os -nostdlib -c isalnum.c
nspire-gcc -Os -nostdlib -c iscntrl.c
nspire-gcc -Os -nostdlib -c rewind.c
nspire-gcc -Os -nostdlib -c show_msgbox.c
nspire-gcc -Os -nostdlib -c sleep.c
nspire-gcc -Os -nostdlib -c strcspn.c
nspire-gcc -Os -nostdlib -c strspn.c
nspire-gcc -Os -nostdlib -c wait_key_pressed.c
nspire-gcc -Os -nostdlib -c wait_no_key_pressed.c
"/c/Programme/yagarto/bin/arm-none-eabi-ar.exe" rcs ../lib/libndls.a any_key_pressed.o clear_cache.o clrscr.o feof.o fgets.o fputs.o idle.o isalnum.o iscntrl.o rewind.o show_msgbox.o sleep.o strcspn.o strspn.o wait_key_pressed.o wait_no_key_pressed.o
make[1]: Leaving directory `/ndless/libndls'
make all in arm...
make[1]: Entering directory `/ndless/arm'
nspire-as -Os -nostdlib -Wall -W -Wno-strict-aliasing -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -D OS_VERSION=1_7 -D OS_VERSION_INT=17 -c bootstrapper.S
nspire-gcc -Os -nostdlib -Wall -W -Wno-strict-aliasing -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -D OS_VERSION=1_7 -D OS_VERSION_INT=17 -c stage1.c
nspire-gcc -Os -nostdlib -Wall -W -Wno-strict-aliasing -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -D OS_VERSION=1_7 -D OS_VERSION_INT=17 -c ints.c -o ints_light_thumb.o
nspire-gcc -Os -nostdlib -Wall -W -Wno-strict-aliasing -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -D OS_VERSION=1_7 -D OS_VERSION_INT=17 -c syscalls.c -o syscalls_light_thumb.o
nspire-gcc -Os -nostdlib -Wall -W -Wno-strict-aliasing -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -D OS_VERSION=1_7 -D OS_VERSION_INT=17 -c utils.c -o utils_light_thumb_os-1.7.o
nspire-gcc -Os -nostdlib -Wall -W -Wno-strict-aliasing -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -D OS_VERSION=1_7 -D OS_VERSION_INT=17 -c syscalls-light_ncas-1.7.c
nspire-gcc -Os -nostdlib -Wall -W -Wno-strict-aliasing -D _NDLS_LIGHT -D STAGE1 -mthumb-interwork -mthumb -D OS_VERSION=1_7 -D OS_VERSION_INT=17 -c syscalls-light_cas-1.7.c
nspire-ld --no-startup -nostdlib bootstrapper.o stage1.o ints_light_thumb.o syscalls_light_thumb.o utils_light_thumb_os-1.7.o syscalls-light_ncas-1.7.o syscalls-light_cas-1.7.o -o ndless_installer_os-1.7.elf
c:/programme/yagarto/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: ndless_installer_os-1.7.elf: Unknown mandatory EABI object attribute 44
c:/programme/yagarto/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file bootstrapper.o
collect2: ld returned 1 exit status
make[1]: *** [ndless_installer_os-1.7.elf] Error 1
make[1]: Leaving directory `/ndless/arm'
make: *** [subdirs] Error 1


What am i doing wrong?

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 #311 on: January 09, 2011, 04:04:13 pm »
try to checkout the svn and "make clean all"
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

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 #312 on: January 09, 2011, 04:38:27 pm »
compu: what does <pre>nspire-ld -v</pre> return, typed in an MSYS console?
« Last Edit: January 09, 2011, 04:41:03 pm by ExtendeD »
Ndless.me with the finest TI-Nspire programs

Offline Goplat

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 289
  • Rating: +82/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #313 on: January 10, 2011, 02:08:08 am »
Just found a little bug: I notice that when Ndless tries to restore the FIQ vector (in arm/bootstrapper.S main_copy), it overwrites the Undefined Instruction jump instead:

A4000000  18 F0 9F E5 E4 66 26 10-18 F0 9F E5 18 F0 9F E5
A4000010  18 F0 9F E5 18 F0 9F E5-18 F0 9F E5 18 F0 9F E5
A4000020  30 60 26 10 28 48 04 11-4C 47 04 11 20 48 04 11
A4000030  18 48 04 11 00 00 00 00-C0 66 26 10 40 00 00 00
« Last Edit: January 10, 2011, 02:08:28 am by Goplat »
Numquam te deseram; numquam te deficiam; numquam circa curram et te desolabo
Numquam te plorare faciam; numquam valedicam; numquam mendacium dicam et te vulnerabo

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #314 on: January 10, 2011, 01:38:45 pm »
nspire-ld -v returns:

Code: [Select]
Using built-in specs.
COLLECT_GCC=c:\Programme\yagarto\bin\arm-none-eabi-gcc.exe
COLLECT_LTO_WRAPPER=c:/programme/yagarto/bin/../libexec/gcc/arm-none-eabi/4.5.1/lto-wrapper.exe
Target: arm-none-eabi
Configured with: ../gcc-4.5.1/configure --target=arm-none-eabi --prefix=/home/yagarto/install --disable-nls --disable-shared --disable-threads --with-gcc --with-gnu-ld --with-gnu-as --with-dwarf2 --enable-languages=c,c++ --enable-interwork --enable-multilib --with-newlib --with-headers=../newlib-1.18.0/newlib/libc/include --disable-libssp --disable-libstdcxx-pch --disable-libmudflap --disable-libgomp -v
Thread model: single
gcc version 4.5.1 (GCC)
COMPILER_PATH=c:/programme/yagarto/bin/../libexec/gcc/arm-none-eabi/4.5.1/;c:/programme/yagarto/bin/../libexec/gcc/;c:/programme/yagarto/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/
LIBRARY_PATH=c:/programme/yagarto/bin/../lib/gcc/arm-none-eabi/4.5.1/;c:/programme/yagarto/bin/../lib/gcc/;c:/programme/yagarto/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/lib/
COLLECT_GCC_OPTIONS='-nostartfiles' '-T' 'C:/msys/1.0/ndless/bin/../system/ldscript' '-e' '_nspire_start' '-L' 'C:/msys/1.0/ndless/bin/../lib' '-static' '-v'
 c:/programme/yagarto/bin/../libexec/gcc/arm-none-eabi/4.5.1/collect2.exe -Bstatic -X -e _nspire_start -L C:/msys/1.0/ndless/bin/../lib -Lc:/programme/yagarto/bin/../lib/gcc/arm-none-eabi/4.5.1 -Lc:/programme/yagarto/bin/../lib/gcc -Lc:/programme/yagarto/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/lib C:/msys/1.0/ndless/bin/../system/crt0sym.o C:/msys/1.0/ndless/bin/../system/crt0.o C:/msys/1.0/ndless/bin/../system/osstub.o -lndls --start-group -lgcc -lc --end-group -T C:/msys/1.0/ndless/bin/../system/ldscript
c:/programme/yagarto/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: cannot find -lndls
collect2: ld returned 1 exit status