Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
24 May, 2013, 04:47:07 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  home news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

  Show Posts
Pages: 1 ... 74 75 [76] 77 78 ... 124
1126  Calculator Community / Lua Language / Re: MoonScript for Nspire on: 15 August, 2011, 08:07:48
Yeah, that's a complicated installation procedure indeed.

Quote
(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 Wink

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 Smiley
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.
1127  Calculator Community / Calculator C Language / Re: Tutorial - Setting up C Development Environment for the TI-Nspire on: 14 August, 2011, 20:38:53
Ah, OK Smiley
Interesting, because this is the script that worked for me and that I contributed to Hackspire, with these exact versions.
1128  Omnimaga / Ndless / Re: Ndless suggestions thread on: 14 August, 2011, 19:36:35
Quote
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 Smiley

Quote
Also, how about functions for accessing the timers?
Yeah, it's a good idea to expand the HAL of Ndless.
1129  Calculator Community / Calculator C Language / Re: Tutorial - Setting up C Development Environment for the TI-Nspire on: 14 August, 2011, 19:23:11
Quote
1. Yes, I have installed gcc-4.5-arm-linux-gnueabi and all of its dependencies correctly.
AFAICT, we usually compile the toolchain ourselves and use "none-eabi" instead of "linux-gnueabi" Wink
1130  Calculator Community / Calculator C Language / Re: Tutorial - Setting up C Development Environment for the TI-Nspire on: 14 August, 2011, 18:29:10
1) Did the install script for the underlying ARM toolchain run to completion successfully ?
2) Does nspire-gcc have +x (executable) permissions ?
1131  Calculator Community / Other Calculator Discussion and News / Re: Official RS232 adaptator photo and much more! on: 14 August, 2011, 07:30:16
Some HP graphing calcs have a SD card slot as well.
1132  Calculator Community / General Calculator Help / Re: Help damaged tns files‏ on: 13 August, 2011, 07:42:22
Quote
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 Smiley

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 Wink

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
Quote
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 Smiley

Quote
And just to be clear, are all Linux programs supposed to be run with a "./" in the front?
No Smiley
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.
1137  Omnimaga / News / Re: "Luna" is here and converts your .lua files into 3.0.2-compatible .tns files on: 10 August, 2011, 19:43:43
You don't need to use sudo, and you probably want to use "./luna" instead of "luna", if you're launching from the directory where you compiled Luna.

Venom: make dist does not install Luna, in the sense that it won't copy luna to a directory in PATH, so uninstalling and reinstalling Luna wouldn't change anything Wink
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 Smiley
* 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.patch

There 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 Smiley


Excerpt from the updated README.win32:
Quote
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).
1139  General Discussion / Math and Science / Re: Sorting Algorithms on: 08 August, 2011, 17:59:34
When implementing a quicksort, the comparison function needs to be inlined, otherwise performance can be reduced significantly. IOW, don't use qsort from stdlib.h.
For several dozens of items, shell sort usually has good performance and pretty simple code: http://embeddedgurus.com/stack-overflow/2009/03/sorting-in-embedded-systems/
The library in TIGCC has been using Shell sort for qsort() from the beginning; but the implementation used the original, stupid sequence of gaps, so I improved it for GCC4TI.
1140  Calculator Community / TI-Nspire Projects / Re: TI-Nspire emulator on: 08 August, 2011, 06:06:48
Quote
Quote
How do you do a boot1 dump?
Through the dock connector.
Or somewhere else maybe.
Pages: 1 ... 74 75 [76] 77 78 ... 124
Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.308 seconds with 28 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.