Author Topic: OSLauncher, LUA to TNS converter and TI document player  (Read 45924 times)

0 Members and 1 Guest are viewing this topic.

Offline kyllopardiun

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 178
  • Rating: +14/-4
  • Kyllopardiun over 2000 results in google.
    • View Profile
    • Kyllo's blog (a blog about poetry, videos and computing)
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #105 on: June 12, 2011, 09:28:15 pm »
Is there a verison I can use google translate on?

Google translate doesn't work on the pdf file. Maybe they could post an HTML version somewhere
no need: http://ti.bank.free.fr/modules/archives/downloads/nspirepcas.zip

Couldn't anyone post compiled and working versions which does the trick?
//When I try to launch 1.7 cas in the 1.7 non-cas I see the image as described in the pdf,
but after it, then it freeze in a "black" screen...

:/
« Last Edit: June 12, 2011, 09:44:20 pm by kyllopardiun »

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #106 on: June 13, 2011, 02:32:32 am »
If you get to the point that the calculator freezes on a mostly black screen, you're probably using the correct versions.
Freezing is by far the most frequent behaviour of my S-0507 Nspire Clickpad when OSLaunching a 1.7.2741 CAS from a 1.7.2741 non-CAS...
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline kyllopardiun

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 178
  • Rating: +14/-4
  • Kyllopardiun over 2000 results in google.
    • View Profile
    • Kyllo's blog (a blog about poetry, videos and computing)
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #107 on: June 13, 2011, 08:08:03 am »
If you get to the point that the calculator freezes on a mostly black screen, you're probably using the correct versions.
Freezing is by far the most frequent behaviour of my S-0507 Nspire Clickpad when OSLaunching a 1.7.2741 CAS from a 1.7.2741 non-CAS...

Well, then I suppose we have the same situation (as mine is a clickpad too);
So, did you have more lucky with others S.O.  combinations?

//I almost installed 2.0.1 to give it a try, but I am not sure if it will be worth,
as it doesn't worked on my hardware.

Offline Sebasu

  • LV2 Member (Next: 40)
  • **
  • Posts: 31
  • Rating: +0/-0
    • View Profile
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #108 on: January 20, 2012, 08:48:44 pm »
Hello, ndless3.1 beta was released but when i try oslauncher, the system crash and reboot, can you modify the program to use it with os 3.1?
thanks

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #109 on: January 20, 2012, 10:14:10 pm »
that would be great. I'd love to have oslauncher on my 3.1 nspire
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

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #110 on: January 21, 2012, 02:41:43 am »
OSLauncher is open source software, under an ultra-liberal license (WTFPL). It can be ported to Ndless 3.1 by anyone :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #111 on: January 23, 2012, 02:33:12 pm »
I have ported it to OS 3.1, but it says that it can't allocate memory (I try to launch 3.1 CAS), but it worked with 2.0.1 CAS. So.... is OS 3.1 just to big (5.3MB)? :(

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #112 on: January 23, 2012, 02:59:14 pm »
What matters, for the memory allocation, is the uncompressed size. And phoenix.raw from OS 3.1.0.392 Clickpad/Touchpad CAS is 11556252 bytes, while the one from OS 2.0.1.60 is 7946612 bytes.
Well, try launching the 3.1.0.392 CAS OS from a TNOC'ed 3.1.0.392 non-CAS host OS containing only OSLauncher and the decrypted, compressed file... and if it fails even in such conditions, then yes, OS 3.1 is too large for being launched through the current method.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #113 on: January 23, 2012, 03:06:35 pm »
Unfortunately, my OS is already TNOC'd and I use only ~250KB for other files. That sucks D:

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #114 on: January 23, 2012, 03:18:54 pm »
Well, then... if reading from the NAND Flash works when interrupts are disabled, direct decompression to the OS place (which requires embedding zlib into OSLauncher) may work :)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #115 on: January 24, 2012, 11:31:10 am »
Would it be possible to...

allocate memory for zipped file -> copy zipped file into RAM -> disable interrupts -> unzip to 0x10000000 -> launch OS?

(I managed to integrate the required parts of zlib into OSLauncher and tried the unmodified source with DummyOS)

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #116 on: January 24, 2012, 12:57:51 pm »
Quote
Would it be possible to...
allocate memory for zipped file -> copy zipped file into RAM -> disable interrupts -> unzip to 0x10000000 -> launch OS?
At least, it should indeed be much less susceptible to OOM... so yeah, go ahead, try it :)

Quote
(I managed to integrate the required parts of zlib into OSLauncher and tried the unmodified source with DummyOS)
Good ;)
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Charles

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #117 on: January 28, 2012, 06:13:12 pm »
Hello everyone!

My goal is to be able to launch any arbitrary 3.xxxxx OS on a non-CAS TI nSpire CX 3.1.0.392 handheld (loaded with NDLESS 3.1).

To that end, I built a "phoenix.raw.zip" file on my computer and sent it along with OSlauncher onto the calc. But after the launch of OSlauncher on the calc, the calc failed to load the OS that I had inserted into "phoenix.raw.zip". In fact, each time, the calc just reboots once without any problems (i.e.: there is no crash, everything is normal), but the OS is still the original non-CAS CX 3.1.0.392 one.

Do you know please how the code of OSlauncher could be changed to add support for the CX hardware and NDLESS 3.1?

Please note that I am a novice programmer (I have sometimes difficulty understanding the meaning of the comments in the ".c" files).

Thank you very much.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: OSLauncher, LUA to TNS converter and TI document player
« Reply #118 on: January 29, 2012, 02:54:12 am »
Quote
My goal is to be able to launch any arbitrary 3.xxxxx OS on a non-CAS TI nSpire CX 3.1.0.392 handheld (loaded with NDLESS 3.1).
If TI keeps changing the internal files the way they did on older OS versions, the only OS you might be able to run from 3.1.0.392 CX non-CAS is 3.1.0.392 CX CAS. Other OS versions suitable for the CX probably won't work, and OS versions suitable for the Clickpad & Touchpad definitely won't work.

Quote
To that end, I built a "phoenix.raw.zip" file on my computer and sent it along with OSlauncher onto the calc. But after the launch of OSlauncher on the calc, the calc failed to load the OS that I had inserted into "phoenix.raw.zip". In fact, each time, the calc just reboots once without any problems (i.e.: there is no crash, everything is normal), but the OS is still the original non-CAS CX 3.1.0.392 one.
It's perfectly natural: OS for CX and CM calculators are encrypted a different way than OS for Clickpad & Touchpad calculators are. CX & CM OS have obviously been decrypted (otherwise Ndless 3.1 wouldn't work on the CX), and it's pretty easy to add support for a new OS version to the automated decryptor - but said decryptor remains private for now. Published software is powerless against CX and CM OS, but can decrypt Lab Cradle OS.

Quote
Do you know please how the code of OSlauncher could be changed to add support for the CX hardware and NDLESS 3.1?
One easy change is known, but others may be necessary.

Quote
Please note that I am a novice programmer (I have sometimes difficulty understanding the meaning of the comments in the ".c" files).
The scarcity in comments of the OSLauncher code base is intentional.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.