Author Topic: Ndless suggestions thread  (Read 25304 times)

0 Members and 1 Guest are viewing this topic.

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless suggestions thread
« Reply #30 on: August 11, 2012, 03:35:39 am »
Booting up my Clickpad hooked up make it frequently freeze but I can't figure out why.
Your problem is different, I have never heard of anything similar. Which was the Ndless program?
Ndless.me with the finest TI-Nspire programs

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Ndless suggestions thread
« Reply #31 on: August 11, 2012, 03:54:59 am »
It was the Theme Editor ( http://tiplanet.org/forum/archives_voir.php?id=6070 ).
I was thinking it was because the connection between the calc and comp was abruptly cut..?
Vy'o'us pleorsdti thl'e gjaemue

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless suggestions thread
« Reply #32 on: August 11, 2012, 04:22:35 am »
This shouldn't really be a problem.
Ndless.me with the finest TI-Nspire programs

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Ndless suggestions thread
« Reply #33 on: August 11, 2012, 07:39:29 am »
I had the Nspire hooked up to the Computer Link and ran a Ndless program, and the Link (and in turn Windows) freaked and the usb hub I had it plugged into was shut off.
Might it be possible, for when a usb cable is plugged in and a ndless program is launched, for the calc to mimic whatever it sends during APD or something like that so the software doesn't start causing problems?

This was always the case. Until I created my own popups with the TI-Nspire API (syscalls) and discovered that even if we were in an Ndless program, the Link software was able to take screenshots, to send documents etc ... (but not calling the scratchpad)

I plan to make one day a patch for Ndless in order to let people develop their own GUI without recode everything.

I've also been able to initialize a new GC and use internal draw commands.


 The reason I'm not doing the patch right now is because there are bugs in a lot of functions and also I've found that there is a link between designing a GUI and drawing directly stuff on the screen with the GC functions. Sadly I haven't been able to do it.

On the other hand, the scratchpad is a strange popup that I was able to push on the stack but not able to show it inside an Ndless loop (it is called at the exit of the program).
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: Ndless suggestions thread
« Reply #34 on: August 16, 2012, 03:57:15 pm »
Could KEY_NSPIRE_SHIFT and CAPS be merged? I think it's useless to have both.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Ndless suggestions thread
« Reply #35 on: August 16, 2012, 05:17:48 pm »
That would cause program incompatibility to fix something that only adds maybe 100 bytes to your compiler setup. It shouldn't affect programs at all, since those are macros, and they're simply #defined into the program as numbers.

Offline lkj

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 485
  • Rating: +58/-1
    • View Profile
Re: Ndless suggestions thread
« Reply #36 on: August 16, 2012, 05:42:20 pm »
Other keys have also been merged.
I know that it might not affect compiled programs, but when coding you have to check for both keys if you want your program to be compatible with all models.

Not many existing programs use shift anyway, so it wouldn't cause big incompatibilities.
« Last Edit: August 16, 2012, 05:49:46 pm by lkj »

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless suggestions thread
« Reply #37 on: August 17, 2012, 07:18:51 am »
Thanks, it's commited to the SVN head and will be shipped in the next SDK release. KEY_NSPIRE_CAPS is now deprecated.
The key constants are based on http://hackspire.unsads.com/wiki/index.php/Keypads , there might be other mistakes.
Ndless.me with the finest TI-Nspire programs

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Ndless suggestions thread
« Reply #38 on: August 18, 2012, 10:42:37 pm »
Lol, I wrote the 84+ key constants about a year and a half ago. Are they still the same?

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: Ndless suggestions thread
« Reply #39 on: February 07, 2013, 07:32:12 pm »
Integrating Ndless with the OS tasks management would be rather difficult.
But being able to suspend the current program execution and restore it would be possible. Maybe I could expose an API for this?
It would be really cool if there was a Windows-like desktop for Ndless, that would just bypass the Nspire OS's UI.

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Ndless suggestions thread
« Reply #40 on: February 07, 2013, 08:44:26 pm »
Integrating Ndless with the OS tasks management would be rather difficult.
But being able to suspend the current program execution and restore it would be possible. Maybe I could expose an API for this?
It would be really cool if there was a Windows-like desktop for Ndless, that would just bypass the Nspire OS's UI.

You mean ... stuff like this ?

As you can fairly see, its possible, just still in development.
Everything works using Ndless and syscalls to OS API. This means you can actually take screenshot from TI-Nspire Computer Link Software of a Ndless program. You also can receive document while you were in the app.
« Last Edit: February 07, 2013, 08:44:48 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 Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: Ndless suggestions thread
« Reply #41 on: February 07, 2013, 09:19:49 pm »
What I'm talking about is an XFCE-like desktop interface. Would a simple version of it be possible with Ndless?

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Ndless suggestions thread
« Reply #42 on: February 08, 2013, 12:41:24 am »
Well, technically you can run xorg through linux which is in turn run by ndless, but it's not wonderfully fast.

Offline floris497

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 210
  • Rating: +8/-0
    • View Profile
Re: Ndless suggestions thread
« Reply #43 on: February 09, 2013, 09:09:23 am »
is it possible to get nSpire working with different extensions so you won't have to change the every time?

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Ndless suggestions thread
« Reply #44 on: February 09, 2013, 09:40:14 am »
Anything you put in the startup folder will run on boot. Not sure if that's what you meant, but it's a good start.