Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ExtendeD

Pages: 1 ... 14 15 [16] 17 18 ... 55
226
nSDL / Re: SDL for the TI-Nspire
« on: February 11, 2012, 11:01:18 am »
According to tangrs the program size seems rather random, sometimes very big.
And this would require maintaining a much more complex program loader than the current one.

227
nSDL / Re: SDL for the TI-Nspire
« on: February 11, 2012, 10:38:07 am »
My .s is identical. Strangely using nspire-as on the .s file reproduces the error on my side.
I see:
.LC2:
   .word   .LC0
   .word   .LC1
Which is not good, GCC doesn't make it relocatable by Ndless.

I'm afraid you will have to use something like this:

Code: [Select]
int main(void) {
    type1_t test1 = {"foobar"};
    type2_t test2 = {"foo", "bar"};
    nl_relocdata((unsigned*)&test2.s1, 1);
    nl_relocdata((unsigned*)&test2.s2, 1);
    printf("test1.s: %s\n", test1.s); /* Prints "foobar" */
    printf("test2.s1: %s\n", test2.s1); /* Should print "foo"; doesn't */
    printf("test2.s2: %s\n", test2.s2); /* Should print "bar"; doesn't */
    return 0;
}

See http://hackspire.unsads.com/wiki/index.php/Ndless_features_and_limitations#Global_variables_and_initialization .

How much is this a problem in your case?
If it is too annoying I will then  have to integrate tangrs's ELF loader with its drawbacks.

228
nSDL / Re: SDL for the TI-Nspire
« on: February 11, 2012, 09:47:03 am »
Well on my side it outputs:

Code: [Select]
test1.s: foobar
test2.s1: foo
test2.s2: bar

Which version of GCC are you using? On which OS?
Can you also post the content of the .s file generated with nspire-gcc -S <your.c>?

229
Ndless / Re: Ndless suggestions thread
« on: February 10, 2012, 01:42:38 pm »
Hey ExtendeD, what about being able to open the Scratchpad while in a game/program? I'd love that :)

Integrating Ndless with the OS tasks management would be rather difficult.
But being able to suspend the current program execution and restore it would be possible. Maybe I could expose an API for this?

Also, would it be possible to speed up the game like in some computer emulators?

Programs must implement CPU speed tuning themselves for this, or you can use Nover.

230
General Calculator Help / Re: Calculator cannot open ".tns" extension
« on: February 10, 2012, 01:09:47 pm »
Directly opening .wad and .gb files is actually supported in the latest update (although in the case of .gb files you'll have to reselect it in gbc4nspire's menu as long as it's not updated).

231
News / Re: Ndless file association, Metroid 89 clone & online 83+ emulator
« on: February 09, 2012, 05:21:17 pm »
Well what's wrong with it? Did you send Ndless.cfg.tns along with ndless_resources.tns? What kind of file are you trying to open?

232
News / Re: Ndless v3.1 beta for OS v3.1 with TI-Nspire CX support released
« on: February 07, 2012, 02:40:19 pm »
Are you offering help as a tester or developer? As a tester please report any unexpected behavior.

233
News / Re: Ndless 3.1 adds support for file associations
« on: February 05, 2012, 03:22:04 pm »
Supporting the "cx,touch,click" syntax isn't much work for me anyway.

234
News / Re: Ndless 3.1 adds support for file associations
« on: February 05, 2012, 03:16:48 pm »
No but I could add it.

235
News / Re: Ndless 3.1 adds support for file associations
« on: February 05, 2012, 03:13:48 pm »
Excale suggests that the config file value contains {CX_program,[touchpad_program,[clickpad_program]]}.

236
News / Re: Ndless 3.1 adds support for file associations
« on: February 05, 2012, 02:50:46 pm »
I thought of this, but I'm not sure if it will be really intuitive for users to ask them to run at least one time the main program for the file extensions to work.

237
News / Re: Ndless 3.1 adds support for file associations
« on: February 05, 2012, 02:01:05 pm »
The file name is passed in argv[1]. I just haven't had the time to update the documentation (anyway this update is useless as long nespire/gbc4nspire/mViewer/nPlayer aren't updated too).

238
TI-Nspire / Re: nJava - Nspire JVM
« on: February 04, 2012, 11:51:30 am »
If anything can be done to improve the native SDK, I'm open to your suggestions.

239
Other Calculators / Re: History of the TI community
« on: February 03, 2012, 06:11:47 pm »
I remember some of these names :) I got my TI-86 in 1996 or 1997.

240
TI-Nspire / Re: NGL — TI-Nspire Graphics Library
« on: February 01, 2012, 02:32:22 pm »
As I wrote in a private message I don't have any problem sending this file to nspire_emu.

Pages: 1 ... 14 15 [16] 17 18 ... 55