Author Topic: Ndless 2.0 for TI-Nspire enters beta stage  (Read 77001 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
Ndless 2.0 for TI-Nspire enters beta stage
« on: February 25, 2011, 01:56:41 pm »
Ndless 2.0 is the latest and greatest way to develop and run third-party software on the TI-Nspire.
This version:
- (update: 2011/06/11) has now moved to a stable state
- is compatible with OS v1.7, v2.0.1, v2.1.0
- run on both Clickpad and Touchpad models

Ndless v2.0 binaries are available in Omnimaga's download section.

Issue tracker: http://www.unsads.com/projects/nsptools/report/1
« Last Edit: June 11, 2011, 04:05:51 am by ExtendeD »
Ndless.me with the finest TI-Nspire programs

Offline Mrakoplaz

  • LV3 Member (Next: 100)
  • ***
  • Posts: 46
  • Rating: +130/-2
  • Prussian Minister of War
    • View Profile
Re: Ndless 2.0 for TI-Nspire enters beta stage
« Reply #1 on: February 25, 2011, 02:03:07 pm »
Heh, with the recent upsurge in new users wanting Ndless, I was just about to ask you to do something like this, seeing as I've experienced absolutely zero bugs in the two months I've been using it... nice to see we think alike.

With that in mind, I still must commend you on your decision! This definitely should make a lot of less-technical people feel less frustrated. I'll try and help with bug reports whenever I can, but I seriously haven't ran into any (as nDoom's failings had been due to my own stupidity).
« Last Edit: February 25, 2011, 02:03:36 pm by Mrakoplaz »

Offline broooom

  • LV2 Member (Next: 40)
  • **
  • Posts: 28
  • Rating: +2/-0
    • View Profile
Re: Ndless 2.0 for TI-Nspire enters beta stage
« Reply #2 on: February 25, 2011, 02:15:36 pm »
Nice! :)

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: Ndless 2.0 for TI-Nspire enters beta stage
« Reply #3 on: February 25, 2011, 02:39:05 pm »
That's nice! I would really like to have touchpad support, even if I don't use mine at the moment (if you want it, I could send it to you :P)

I'll try and help with bug reports whenever I can, but I seriously haven't ran into any
I agree, I have never had any real bug while using ndless :)

And yesterday I started working on an on-screen console, till now it can only output text (printf-like)... I wanted to start working on the input functions today, but I think you could do a better job than me ;)

Anyways, this is what I got for now:


And the associated source:
Code: [Select]
cprintf("%s built at %s %s\n\n",__FILE__,__DATE__,__TIME__);
cprint("Tab test\t\t123\n");
cprint("Tab test 2\t456\n");
cprint("Tab test  3\t789\n");
cprint("\\r Test\r/\n");
cprint("\\b Test 123\b\b\b456\n");
int i = 1000;
cprintf("i is %d",i);

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 enters beta stage
« Reply #4 on: February 25, 2011, 03:12:31 pm »
This is great! Glad to see this back in the works. :D

Also yeah I saw many people had troubles compiling it due to dependencies so I guess this should help them.

I'll update what I got on my calc. Great job as usual ExtendeD!
The release of OS v3.0 is imminent (isn't it already noon in Dallas?) and Ndless may require a significant effort to be updated for it.
It actually got announced during night, about 12 hours earlier than supposed. As we checked some new stuff were appearing, though, so they were most likely almost done preparing the site. Also it was to preview OS 3.0/Nspire CX features rather than a release.

I hope you have more free time soon.
« Last Edit: February 25, 2011, 03:15:21 pm by DJ_O »

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 enters beta stage
« Reply #5 on: February 25, 2011, 04:20:08 pm »
just one stupid question, sry:
does it work on os 1.7.xxx??

thanks!

Yes.  Just make sure you use the appropriate ndless_installer.tns :)


Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: Ndless 2.0 for TI-Nspire enters beta stage
« Reply #6 on: February 25, 2011, 04:28:12 pm »
Hurray! Now I can stop being annoying to you guys here on the forum, oh, and is it possible to use gbc4nspire by recompiling it?

EDIT: Well, I only played tetris anyway

EDIT: Gah, left my nspire in the car, but seriously, you guys rule.
« Last Edit: February 25, 2011, 04:33:05 pm by merauder75 »
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C

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 enters beta stage
« Reply #7 on: February 25, 2011, 04:29:25 pm »
http://www.omnimaga.org/index.php?action=topicattach;topic=1243

gbc4nspire that will work on the touchpad ^^^

I think one bug present in that is that it will only start the first GB rom in the list, though.

gbc4nspire cannot be recompiled because the source code has been lost.  The only way to change is to go though the tedious process of hex editing it. :(
« Last Edit: February 25, 2011, 04:30:12 pm by apcalc »


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 enters beta stage
« Reply #8 on: February 25, 2011, 04:54:11 pm »
Is that version of gbc4nspire available on Ticalc.org and OMni download section, by the way? I remember Goplat's update was included but I forgot if it worked on the Touchpad...
« Last Edit: February 25, 2011, 04:54:46 pm by DJ_O »

Offline merauder75

  • LV3 Member (Next: 100)
  • ***
  • Posts: 75
  • Rating: +1/-1
    • View Profile
Re: Ndless 2.0 for TI-Nspire enters beta stage
« Reply #9 on: February 25, 2011, 05:14:56 pm »
ANy changes in the install process? I am upgrading to 2.1 now, and am going to repeat the procedure for 1.7

EDIT: Ok, good
« Last Edit: February 25, 2011, 05:17:01 pm by merauder75 »
Known Programming Languages:
C++,C#,Java,Python,Lua,PHP,x86 ASM,TI-Basic(Z80 and Nspire),C

Offline ExtendeD

  • Project Author
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 2.0 for TI-Nspire enters beta stage
« Reply #10 on: February 25, 2011, 05:16:34 pm »
The install process is unchanged.
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 enters beta stage
« Reply #11 on: February 25, 2011, 06:43:22 pm »
ExtendeD, I have posted severall messages about that...

What about the programs which need to use the numeric keys for menus (Norse, Nover, mViewer...) or for inputting data (Norse) ?


Such a trick should not be cared of at the Ndless level.

If I've understood well, I would need to modify all of them in order to check for arrow keys... And once the TouchPad arrows are supported, I'll need to modify them back to check for numeric keys...


Why don't you simply let the programmers the freedom to decide by themselves how they want to handle numeric key presses in their own programs?


If the "2" key is being pressed, Ndless should simply report that the "2" key has been pressed and not the "down-arrow", which is a lie.

I don't think it's hard for game developers to check for "right_arrow OR 6 OR 3 OR 9" for example...
And as programs have anyway to be recompiled in order to work with the TouchPad keypad, I can't understand at all why you've made such a strange mapping.


Thanks for reading.
« Last Edit: February 25, 2011, 08:11:47 pm by critor »
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 enters beta stage
« Reply #12 on: February 25, 2011, 07:00:48 pm »
Although I could understand the reasoning for making the number keys represent the arrow keys, I also have to agree with critor on this.  Perhaps something like this could be a solution (note, I did not test either of these, I am not 100% sure they will work! :)):

Code: [Select]
BOOL isRightArrowPressed() {
return isKeyPressed(KEY_NSPIRE_6)||isKeyPressed(KEY_NSPIRE_RIGHT);
}

BOOL isUpArrowPressed() {
return isKeyPressed(KEY_NSPIRE_8)||isKeyPressed(KEY_NSPIRE_UP);
}

BOOL isLeftArrowPressed() {
return isKeyPressed(KEY_NSPIRE_4)||isKeyPressed(KEY_NSPIRE_LEFT);
}

BOOL isDownArrowPressed() {
return isKeyPressed(KEY_NSPIRE_5)||isKeyPressed(KEY_NSPIRE_2)||isKeyPressed(KEY_NSPIRE_DOWN);
}

------or-------

BOOL isArrowKeyPressed(key) {
switch(key) {
case KEY_NSPIRE_UP:
return isKeyPressed(KEY_NSPIRE_6)||isKeyPressed(KEY_NSPIRE_RIGHT);
case KEY_NSPIRE_DOWN:
return isKeyPressed(KEY_NSPIRE_5)||isKeyPressed(KEY_NSPIRE_2)||isKeyPressed(KEY_NSPIRE_DOWN);
case KEY_NSPIRE_LEFT:
return isKeyPressed(KEY_NSPIRE_4)||isKeyPressed(KEY_NSPIRE_LEFT);
case KEY_NSPIRE_RIGHT:
return isKeyPressed(KEY_NSPIRE_6)||isKeyPressed(KEY_NSPIRE_RIGHT);
return false;
}
}
« Last Edit: February 25, 2011, 07:10:30 pm by apcalc »


Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: Ndless 2.0 for TI-Nspire enters beta stage
« Reply #13 on: February 25, 2011, 07:17:17 pm »
Why don't we use Ctrl combo ?
Because Norse and Nover use the numpad keys as numbers...
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Ndless 2.0 for TI-Nspire enters beta stage
« Reply #14 on: February 25, 2011, 08:08:43 pm »
You definitely need to make it so that it does not report back right arrow pressed when you press down the 6. I was thinking of writing a program for my touchpad, but i would need to be able to use the number keys for input. this would also help update programs from 1.7 to 2.0 touchpad compatible. Theres my 2 cents
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