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

0 Members and 1 Guest are viewing this topic.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #30 on: December 18, 2010, 04:02:13 pm »
Great for the alpha version!

If I have some time, I'll compile it, and try to check why both Ndshell and mViewer are crashing.
Those programs are sharing screen, keys and file browsing code.

Let me guess... the incompatibility comes from file browsing code? :p
TI-Planet co-admin.

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 #31 on: December 18, 2010, 04:04:22 pm »
I would say that would have to be it, as gbc4nspire also uses file browsing. 


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 #32 on: December 18, 2010, 04:05:39 pm »
Doesn't gbc4nspire contain hard-coded addresses of syscalls anyway?
Ndless.me with the finest TI-Nspire programs

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #33 on: December 18, 2010, 04:19:13 pm »
Doesn't gbc4nspire contain hard-coded addresses of syscalls anyway?

Don't know, but mViewer and NDShell don't.
TI-Planet co-admin.

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 #34 on: December 18, 2010, 05:06:02 pm »
Sorry, the address of NU_Get_First was wrong, it's fixed now.
I didn't pay enough attention to the broken automated tests.
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 #35 on: December 18, 2010, 05:44:29 pm »
Here is a list of the programs that worked and did not work:

Worked:

Ndless Demo
NESpire
Block Dude
Trapped
Chip's Challenge
Calc84's Console

Crash:

gbc4nspire
mViewer
ndshell

Also, I have had some odd things happen after running an Ndless program while using the touchpad.  First, once the arrow keys stopped working after running a program, and second, it froze on the home screen once.  Both of these issues were fixed with a reboot.  I have not had any of these problems while using the clickpad.

This is really good!!! I am now installing OS 2.1, so that I can install ndless right after :D

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 #36 on: December 18, 2010, 07:45:04 pm »
You need OS 2.0.1, not 2.1. :P

Offline bsl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 157
  • Rating: +14/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #37 on: December 18, 2010, 09:18:14 pm »
Here are the Touchpad Definitions from Ndless 1.4 - copy and paste the block
int this file into Ndless 2.0 common.h


Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #38 on: December 18, 2010, 09:25:03 pm »
You need OS 2.0.1, not 2.1. :P

2.1 is bad anyway, killing 1Mb of free space for visibly nothing.
TI-Planet co-admin.

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 #39 on: December 18, 2010, 10:09:01 pm »
Doesn't gbc4nspire contain hard-coded addresses of syscalls anyway?
The version hex-edited by Goplat should work on all Ndless versions 1.7 or greater, I should think. It might work now that the NU_Get_First routine has been fixed
"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 #40 on: December 18, 2010, 10:31:31 pm »
You need OS 2.0.1, not 2.1. :P

2.1 is bad anyway, killing 1Mb of free space for visibly nothing.
Yep. Didn't it have more bugs too?
Here are the Touchpad Definitions from Ndless 1.4 - copy and paste the block
int this file into Ndless 2.0 common.h


Nice. Do you think Ndless 1.4 should be included with 1.7 on ticalc.org by the way? I thought it would be nice to have all Ndless versions available in one download (for those who prefer using older/smaller OSes)
« Last Edit: December 18, 2010, 10:33:20 pm by DJ Omnimaga »

Offline bsl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 157
  • Rating: +14/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #41 on: December 18, 2010, 11:53:21 pm »
Quote
Quote from: DJ Omnimaga on Today at 19:45:04
Nice. Do you think Ndless 1.4 should be included with 1.7 on ticalc.org by the way? I thought it would be nice to have all Ndless versions available in one download (for those who prefer using older/smaller OSes)
I was waiting for a proven stable version of 1.7 to come out, before updating Ndless 1.3/1.4
Maybe OS2.0 will give me clues on how to interact with the TouchPad  for OS1.3-4 ?
If not I will give up on the TouchPad and update Ndless 1.3/1.4  and post it.
I will be out of luck if the Applications under those older OS's communicated directly with the hardware I/O
instead of a common OS software call.
Those older OS's can give you more memory and speed to work with .

Offline bsl

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 157
  • Rating: +14/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« Reply #42 on: December 19, 2010, 01:23:14 am »
Here's another possible workaround, that just takes a reboot instead of a full OS reinstall: create a patched boot2 that doesn't try to load the OS but goes straight into download mode. (e.g. patch the code at offset 0x1244 from 31 06 00 eb to 15 00 00 ea). Send documents using the patched boot2 (may need to set the target folder to the empty string, it doesn't seem to like sending to Examples). Save flash, quit, and restart using the original boot2.
I used the /d option on the emulator instead, found and changed the bytes at 0x11801244 and
continued , to get a :
Code: [Select]
Press <Enter> to download through the serial port.
Checking battery level.
Battery level is OK.
Begin XMODEM file transfer.
not sure what to do next ?
EDIT: same result when I really do patch boot2.raw
« Last Edit: December 19, 2010, 03:16:36 am by bsl »

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 #43 on: December 19, 2010, 06:35:36 am »
Set the target folder to an empty string, connect, send the documents, save the flash and restart the emulator the usual way.
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 #44 on: December 19, 2010, 11:25:23 am »
Set the target folder to an empty string, connect, send the documents, save the flash and restart the emulator the usual way.

It worked in the emulator? Great!