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

0 Members and 1 Guest 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 #45 on: December 19, 2010, 12:16:06 pm »
Sadly, I think I have an issue with the touchpad here. :(

The touchpad itself has stopped working now for me. :(  When this happened earlier, a reset fixed it, but now I have reset/switched kueypads entirely several times, but the touchpad keys won't work.  The only keys affected are the actual touchpad itself.  Other keys (number, alpha) on the touchpad keypad work fine.  Likewise, the clickpad works perfectly fine.  Could Ndless do something that inactivates the OS reading the "keypresses" of the touchpad?  I have not tried resending the OS yet; that might fix this.


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #46 on: December 19, 2010, 12:42:39 pm »
I think you should reformat the calc and re-send the OS. By the way, can Ndless modify the OS inside archive? I know it was possible to accidentally do so on flash z80 calcs.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline bsl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 157
  • Rating: +14/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #47 on: December 19, 2010, 12:42:54 pm »
Set the target folder to an empty string, connect, send the documents, save the flash and restart the emulator the usual way.
That worked: Don't hit <Enter>  in the console window to download through the serial port.
The sent documents end up in /My Documents/ and not in any subdiirectory like Examples or MyLib.
You should be able to use the same trick with Ncubate and not have to patch boot2

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 #48 on: December 19, 2010, 01:04:17 pm »
apcalc: weird...

By the way, can Ndless modify the OS inside archive?

The file system can be written to, but the original OS image loaded at boot time cannot be changed since it is signed.
Ndless.me with the finest TI-Nspire programs

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #49 on: December 19, 2010, 01:45:25 pm »
Thanks for reporting that bug apcalc, but I'll still try to install ndless to report any more bugs :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #50 on: December 19, 2010, 03:54:12 pm »
apcalc: weird...

By the way, can Ndless modify the OS inside archive?

The file system can be written to, but the original OS image loaded at boot time cannot be changed since it is signed.
Ok thanks for the info.
Quote
Quote
serial port.
Serial port? ??? I thought the Nspire only supported USB and that serial ports were long gone. ???
« Last Edit: December 19, 2010, 03:54:54 pm by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #51 on: December 19, 2010, 03:57:13 pm »
It has an internal one, and the emulator can deal with it.
Edit: This is my understanding, at any rate.
« Last Edit: December 19, 2010, 03:57:43 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #52 on: December 19, 2010, 04:05:00 pm »
Hmm strange, I am really curious about this. X.x
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline bsl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 157
  • Rating: +14/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #53 on: December 19, 2010, 04:18:44 pm »
There are RS232 pins on the connector on the bottom of the calculator most
people don't use. I am trying to find an aftermarket adapter for this, so
I dont have to solder to the pins to have a serial communication with the calculator.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #54 on: December 19, 2010, 04:22:23 pm »
Oh, that's the serial port being talked about. I personally thought of serial ports as something like this: :P



I even have a TI link cable for that port that came with my 83+ Silver Edition
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline bsl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 157
  • Rating: +14/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #55 on: December 19, 2010, 04:31:35 pm »
Thats right. The other end of the cable will be a DB9 male or female like
you have shown above to connect to a computer. Hackspire and yAronet have some circuit diagrams .
ExtendeD has a RS232 to USB converter - I think , that makes it more convenient to use .
« Last Edit: December 19, 2010, 04:46:25 pm by bsl »

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 #56 on: December 19, 2010, 07:07:29 pm »
Tomorrow, I'll have some time.
Is there any file to modify for CAS support ? Same than before ? (I haven't looked yet)

edit : Before going to bed I've looked up:

file (number of adresses to get)
bootstrapper.S (1)
install.c (2)
stage2.c (1)
syscalls_cas_2_0_1.c (inf)
syscalls_light_cas_2_0_1.c (inf)
utils.c (2)
« Last Edit: December 19, 2010, 07:16:36 pm 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 ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #57 on: December 20, 2010, 04:46:53 am »
Levak: the lines to update are marked with the keyword "OS-specific" in the source code.
I have committed the support for CAS 2.0.1, but there is a memory leak after the installation which make the calculator unusable, I need to figure this out.

DJ Omnimaga: it looks like this on the calculator side.
Ndless.me with the finest TI-Nspire programs

Offline bsl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 157
  • Rating: +14/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #58 on: December 20, 2010, 01:06:31 pm »
One bug fixed:
bootstrapper.S CAS line should look like this:
.long 0x101EBAA0, 0x101ebba4

Now hello.tns,particles.tns, NES game,console.tns all work.
ndless_tests  fails - very likely a bug in syscalls_cas_2_0_1.c
« Last Edit: December 20, 2010, 01:57:05 pm by bsl »

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 #59 on: December 20, 2010, 03:06:43 pm »
One bug fixed:
bootstrapper.S CAS line should look like this:
.long 0x101EBAA0, 0x101ebba4

Now hello.tns,particles.tns, NES game,console.tns all work.
ndless_tests  fails - very likely a bug in syscalls_cas_2_0_1.c

It seems there is another missed adress you forgot to mention, I still have the Nspire CAS rebooting after 2 clock' turn.
Otherwise, the Nspire should not reboot. =)
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua