Author Topic: Ndless 3.1 alpha testing has just begun  (Read 27943 times)

0 Members and 1 Guest are viewing this topic.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Ndless 3.1 alpha testing has just begun
« Reply #30 on: November 27, 2011, 02:43:54 pm »
Well, if the next version of Ndless is released before the next version of the OS, it's likely that TI will positively go out of their way to fix the vulnerability(ies) used by this new Ndless...
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Ndless 3.1 alpha testing has just begun
« Reply #31 on: November 27, 2011, 02:44:08 pm »
I think these guys also need to figure out how color and B/W works - that is, figure out the HW a bit, and then figure out how to let developers access the HW. They also need to figure out how to make old programs work on the CX (grayscale emulation).

It's a lot of work, but they're on it. ;) (Plus that better SDK that I've posted about above...)
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Ndless 3.1 alpha testing has just begun
« Reply #32 on: November 27, 2011, 02:56:37 pm »
I think these guys also need to figure out how color and B/W works - that is, figure out the HW a bit, and then figure out how to let developers access the HW. They also need to figure out how to make old programs work on the CX (grayscale emulation).

It's a lot of work, but they're on it. ;) (Plus that better SDK that I've posted about above...)
Grayscale emulation is easy -- the LCD controller still supports 4-bit palettes, which we can set up to be shades of gray. Some of the other hardware might be problematic, though. The keypad hardware reads inverted values compared to the non-CX calcs, and the timer hardware is also different (which would probably break gbc4nspire... again). And lastly, the interrupt controller is different, but I don't know of any currently released programs that mess with the interrupt controller directly.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Ndless 3.1 alpha testing has just begun
« Reply #33 on: November 27, 2011, 03:17:10 pm »
I was going to post that some of the differences between the CX (probably CM as well ?) and Clickpad/Touchpad models could make it hard to run, on the CX, Ndless 2.0 programs for Clickpad/Touchpad running OS 1.7/2.0.1/2.1.0 on the CX. But calc84maniac posted first :)

FWIW, OSLauncher disables interrupts directly, through DC00000C.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

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 3.1 alpha testing has just begun
« Reply #34 on: November 27, 2011, 04:38:35 pm »
I wonder how many colors the CX LCD can display at once? Was it 256 colors, 65536 like the PRIZM (switchable to 8 colors) or something higher?

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Ndless 3.1 alpha testing has just begun
« Reply #35 on: November 27, 2011, 04:49:10 pm »
16 million i suppose, or isn't it? as you can set real rgb colors

--edit--
it is certainly more than 256 :)
« Last Edit: November 27, 2011, 04:49:37 pm by Nick »

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Ndless 3.1 alpha testing has just begun
« Reply #36 on: November 27, 2011, 04:52:54 pm »
Well, setColorRGB(255,255,255)  <- max value. Idk if it's really taken into account for each degree of precision.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Ndless 3.1 alpha testing has just begun
« Reply #37 on: November 27, 2011, 05:26:39 pm »
Its a 16 bit screen I think, so 65536 (like the PRIZM).

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Ndless 3.1 alpha testing has just begun
« Reply #38 on: November 28, 2011, 01:15:16 am »
Yes, the Nspire has a 16-bit screen. Among various things, the screen capture link command sends data in the same format as on the Clickpad & Touchpad, but the RLE is based on 32-bit chunks instead of 8-bit chunks (2 pixels in both cases).

Lua needs to perform some conversion from 24-bit to 16-bit, which probably does not help performance if the conversion is triggered in a tight loop... Maybe image loading in documents needs to perform such a conversion, too.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Ndless 3.1 alpha testing has just begun
« Reply #39 on: November 28, 2011, 01:26:40 am »
Ideally they'd only need to do the 24-bit to 16-bit conversion for the SetColorRGB() function. The overhead for Lua would probably overshadow that conversion anyway.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Ndless 3.1 alpha testing has just begun
« Reply #40 on: November 28, 2011, 01:36:28 am »
Certainly :)
The conversion can be done with 3 memory reads and few other (e.g. orr, lsl) operations, or even (but it's slightly less accurate than a good LUT) without any memory reads, by truncating the least 2 or 3 significant bits of R, G and B.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Ndless 3.1 alpha testing has just begun
« Reply #41 on: November 28, 2011, 03:12:09 am »
Also, the TI.Image format is only 15 bit, so I guess there will have to be conversion here too (maybe that is why its quite slow).

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ndless 3.1 alpha testing has just begun
« Reply #42 on: November 28, 2011, 03:43:57 pm »
I would like to see a solid API for ndless 3.1 before it's released... :(
(I'm working on porting SDL, and possibly a GUI library to the Ndless platform for potential inclusion)

I'm fine with a release without one, especially with the potential on the CX :D

A port of SDL doesn't necessarily have to be integrated to Ndless, you could release it as an independent static library.
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 3.1 alpha testing has just begun
« Reply #43 on: December 03, 2011, 11:17:46 am »
The keypad hardware reads inverted values compared to the non-CX calcs

I've tried to recompile mViewer, and I do confirm this problem.
isKeyPressed() should be update to return inverted results on CX hardware, if possible of course.
TI-Planet co-admin.