|
1126
|
Calculator Community / Lua Language / Re: MoonScript for Nspire
|
on: 15 August, 2011, 08:07:48
|
Yeah, that's a complicated installation procedure indeed. (totally off-topic -- are you making progress on Ndless 3.0?) Such questions are fairly likely to be answered by simple "yes" or "no" - assuming they even receive an answer  History shows that communities aiming at open development on platforms that the manufacturer wants to keep closed (and is taking measures to that aim) are better off when not telling too much information publicly  In the Nspire community, not going public too early resulted in glowing hot success last summer, when TI released OS 2.1.0.631 with an anti-downgrade protection. A then-private arbitrary code execution flaw enabled the making and release of Nleash in about two weeks, in the middle of the summer.
|
|
|
|
|
1128
|
Omnimaga / Ndless / Re: Ndless suggestions thread
|
on: 14 August, 2011, 19:36:35
|
I suppose we could have a single function oc_cpu(bool), where true overclocks, while saving the original speed in a static variable, and false resets the cpu to its original state. Well, there's more than one overclocking clock frequency, so "bool" wouldn't do  Also, how about functions for accessing the timers? Yeah, it's a good idea to expand the HAL of Ndless.
|
|
|
|
|
1132
|
Calculator Community / General Calculator Help / Re: Help damaged tns files
|
on: 13 August, 2011, 07:42:22
|
There's no way to get documents out of nspire_emu I know that you know it, but for other readers: it can be done the harder way  One can use a Ndless program that outputs the contents of a file to the serial port under raw or text form, such as: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| #include <os.h>
int main(void) { FILE * f; volatile int c;
TCT_Local_Control_Interrupts(0xFFFFFFFF); f = fopen("/documents/ndless/test.tns","rb"); if (f) { printf("=====\n"); while ((c = fgetc(f)) != EOF) { printf("%02x ", c); } printf("=====\n");
fclose(f); }
return 0; } |
within the emulator, and on the host computer, copy&paste the output to whatever piece of code / program that can turn those bytes into a binary. Such as the following trivial code, which I've been using to check the effect of patching well-chosen locations in the document saving code, in order to defeat TI's layers of obfuscation without having to use any decryption code, or having to implement the decompression part of TI's patented XML compression algorithm, on the computer side: 1 2 3 4 5 6 7 8 9 10 11 12
| #include <stdio.h>
unsigned char data[] = { // Paste the output of the program (between the markers) here. };
int main(void) { FILE *f = fopen("test.tns","wb"); fwrite(data, 1, sizeof(data), f); fclose(f); return 0; } |
|
|
|
|
|
1133
|
Calculator Community / General Calculator Help / Re: Help damaged tns files
|
on: 12 August, 2011, 22:13:22
|
Double-posting is bad  You can use a hex editor, such as XVI32, WinHEX, KHexEdit, etc. At the very beginning of the file, you'll see the "TIMLP0500" text. Replace it by "TIMLP0300". And you can find OS 1.7.2741 for example on TI-Bank, which redirects to TI's servers.
|
|
|
|
|
1134
|
Calculator Community / General Calculator Help / Re: Nspire Emulator for Linux
|
on: 10 August, 2011, 21:56:37
|
|
Xspire is hopelessly outdated, and it doesn't run OS 3.0 (the screenshot is showing 2.0.1188, 2.0.1.60 or 2.1.0.631). Only the very latest version of the mainline emulator (which runs well in Wine, BTW), which you can find somewhere on this forum (I don't have the link handy) can run OS 3.0.
|
|
|
|
|
1135
|
Omnimaga / News / Re: "Luna" is here and converts your .lua files into 3.0.2-compatible .tns files
|
on: 10 August, 2011, 20:14:51
|
When I run TILP though, not including the "./" in front is okay. Why is this? Because TILP is being installed to a folder that is listed in the PATH environment variable  And just to be clear, are all Linux programs supposed to be run with a "./" in the front? No  Either they are installed in a folder that is listed in the PATH environment variable, in which case you don't need to use "./" or "/home/<...>" or "../<...>", which are ways to tell the command interpreter where to find the program, or they aren't, and then you have to tell the command interpreter where to find the program. The general principle is the same on Windows, except that on Windows, PATH automatically contains ".".
|
|
|
|
|
1136
|
Omnimaga / News / Re: "Luna" is here and converts your .lua files into 3.0.2-compatible .tns files
|
on: 10 August, 2011, 19:56:24
|
|
When launching a program in a terminal, if it's not in the PATH environment variable, you need to give the full path to the program, e.g. /home/user/luna/luna. But if you're launching "luna" from the /home/user/luna folder, you still need to use "./luna" to indicate the path of the program (since, again, /home/user/luna is not in the PATH). On Windows, the current folder is automatically prepended to the PATH. Which is slightly more convenient, but is strongly frowned upon from a security POV, since executables in the local folder could shadow other executables from the path.
|
|
|
|
|
1138
|
Calculator Community / Other Calc-Related Projects And Ideas / Re: TILP: beta-testing...
|
on: 09 August, 2011, 16:02:06
|
And a new refresh of the installer  * binary: http://lpg.ticalc.org/prj_tilp/beta/setup.exe* patches: http://lpg.ticalc.org/prj_tilp/beta/0001-libticables-tilp-installer-upgrade-libusb-win32-and-.patch , http://lpg.ticalc.org/prj_tilp/beta/0002-tilp-installer-download-GTK-runtime-directly-from-th.patchThere have been four minor changes in the code since the previous build; the README.win32 has been modified to include information on installing the filter driver (reproduced below); and most of all, the GTK+ runtime download & install procedure has been completely revamped. It's now fully integrated into the installer, which has three consequences: * users have visual feedback on what's going on; * the procedure is much more reliable; * it reduces the installer's size, and increasing the compression level decreases the size even further: the installer is now only half as big as the previous build  Excerpt from the updated README.win32: 1°) It is possible to install TI-Connect(tm) / TI-Nspire Computer (Link) Software(tm) and TILP side by side, but this requires a manual configuration. The following steps assume that TI-Connect / TINC(L)S is already installed: * download the filter driver installer and install it, using the instructions given at http://sourceforge.net/apps/trac/libusb-win32/wiki , section "Filter Driver Installation"; * launch the filter wizard (accessible from the new entry in the Start menu) when the device (SilverLink, 84+, 89T, 84+SE, Nspire) you want to use with both TILP and TI-Connect / TILP and (TINCLS or TINCS) is plugged *in*; * install the filter driver for that particular device; * run the TILP installer. After that, the device ought to work in both TILP and TI-Connect / TILP and (TINCLS or TINCS).
|
|
|
|
|
|