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 ... 22 23 [24] 25 26 ... 55
346
Calculator C / Re: Nspire: Keypad Input
« on: September 16, 2011, 03:48:34 am »
I remember Goplat posted once an OS function definition to directly read key events (and key codes). I can't find it back, I don't think it has been integrated to Ndless.

347
Calculator C / Re: How do I write directly to the flash memory on an Nspire?
« on: September 15, 2011, 10:22:03 am »
I have two programs that work on the emulator but not on hardware Boot2Writer
and DiagsWriter.

This was the behavior I had with my own experiments, I never could figure out why.

348
Calculator C / Re: How do I write directly to the flash memory on an Nspire?
« on: September 15, 2011, 07:06:26 am »
boot2 is a software module which loads the operating system. It is itself loaded by boot1.

349
News / Re: The TI-Nspire ViewScreen is a true Nspire too!
« on: September 15, 2011, 03:48:49 am »
How about nDOOM on the ViewScreen ? :) But maybe 2 buttons aren't enough.

350
Calculator C / Re: Nspire: Keypad Input
« on: September 15, 2011, 03:41:49 am »
No, you need to get through your if-list.
Anyway if such a function returned the key code, wouldn't you also need to use all these if? Also several key can be pressed at a time, so this couldn't really be done.

351
TI-Nspire / Re: [TI-Nspire] Make3D - TI-Basic to Lua
« on: September 14, 2011, 03:59:00 am »
Nice idea :)
Also I can try to provide any information needed to port the converters to OS 3.0.2 and above.

352
Calculator C / Re: Nspire: Keypad Input
« on: September 13, 2011, 12:42:10 pm »
Ndless's wait_no_key_pressed() and any_key_pressed() may also help you: http://hackspire.unsads.com/wiki/index.php/Libndls#Keyboard
You can have a look at the keypad testing program in arm/tests of Ndless source code.

353
First of all, thanks for your help.
Currently I'm not at home, but how do I have to call nl_relocdata() with a structure?
What is the first argument (nl_relocdata_data on Hackspire)?

There was a typo in the sample on Hackspire, it's fixed: http://hackspire.unsads.com/wiki/index.php/Ndless_features_and_limitations#Global_variables
The first argument would be rshell in your case.

354
Lua / Re: Lua Q&A
« on: August 29, 2011, 10:22:37 am »
The TI-Nspire event-driven API makes sure the Lua programs work well in the multi-task environment of the TI-Nspire, so you won't see any blocking function such as sleep(). This may be a bit disturbing but you should soon get used to it. We can help you with this if you give more details on why you want your program to wait.

355
Lua / Re: Lua Classes and OOP Tutorial
« on: August 25, 2011, 10:57:17 am »
I see.

Maybe this introduction could be modify by:
- Removing inheritance here that doesn't really make sense
- Showing that this standard syntax can be used to define object-oriented singletons with a example similar to the existing one
- Explaining that a more advanced syntax is needed to define real usable classes: either Lua's metatable or the TI-Nspire's class() function

356
Lua / Re: Lua Classes and OOP Tutorial
« on: August 25, 2011, 10:41:47 am »
Nice adriweb, this should help beginners.

Just two remarks:
- I fear that the introduction and the "myTable.A.C.D.var" example may lose the reader, since this syntax will never be used, and is just a symbolic representation which doesn't really support inheritance anyway.
- Could you provide examples of inheritance with the TI-Nspire class API?

357
News / Re: Two new TI-Nspire card games
« on: August 25, 2011, 03:10:09 am »
Oh, of course.

358
News / Re: Pacman Lua released
« on: August 25, 2011, 02:29:56 am »
Looks great on nspire_emu, really nice :)

359
Do function pointers work properly in the Ndless toolchain? I remember they didn't at some point. What are the GCC options in your makefile?

Wait, you're right, I forgot that one: http://hackspire.unsads.com/wiki/index.php/Ndless_features_and_limitations#Global_variables
You should use nl_relocdata() on your functions array.

360
News / Re: Two new TI-Nspire card games
« on: August 25, 2011, 02:22:40 am »
We are now getting a new Lua program each day, it's madness :)

Pages: 1 ... 22 23 [24] 25 26 ... 55