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 - Vogtinator

Pages: 1 ... 17 18 [19] 20 21 ... 83
271
TI-Nspire / Re: micropython - Python for Nspire calculators
« on: October 28, 2014, 03:54:18 pm »
Quote
Is there documentation for the nsp module?
here


I wouldn't exactly call that documentation...
I would. Is something crucial missing? Functions like setPx should be fairly simple to use.

272
TI-Nspire / Re: micropython - Python for Nspire calculators
« on: October 28, 2014, 01:34:12 pm »
Quote
Wow, this is cool! Will it work for grayscale models?
Yes, on all models! Mandelbrot doesn't look that pretty, though :)
All python programs are entirely platform independant, the nsp module handles everything.
(There may be some keys missing, I didn't look at the clickpad and touchpad keys)

273
TI-Nspire / Re: micropython - Python for Nspire calculators
« on: October 28, 2014, 12:57:47 pm »
Quote
Is there documentation for the nsp module?
here

Quote
(Also, how do you exit an infinate loop?)
You can't, it runs single-threaded. It should be possible however to register an IRQ handler for the On-button.

274
TI-Nspire / micropython - Python for Nspire calculators
« on: October 28, 2014, 06:48:08 am »
Yeah, it's been quite a while since the first release and I haven't posted here as it wasn't very stable at all, but now all bugs I could find are gone.
It's a port of micropython, specifically for microcontrollers and due to the working integration of newlib and a "real" nio_use_stdio with the help of libsyscalls it could be ported quite easily. I added a small set of 2d functions to test the performance with mandelbrot and now it seems to be quite useful, and it's actually used by students already!
You can use a text editor to write .py.tns files and execute them directly (due to the file association) or use micropython in interactive mode.
It's using a heavily modified version of nspire-io for line history and I also changed the input method to be more PC-like (hold shift for upper case, for example). tab inserts 4 spaces for easier intendation.




More in-depth information on ti-planet: http://tiplanet.org/forum/viewtopic.php?f=43&t=15140 and http://tiplanet.org/forum/viewtopic.php?f=43&t=15309

275
TI-Nspire / Re: pyWrite - python script editor
« on: October 24, 2014, 02:50:16 pm »
Quote
Are you going to add syntax highlighting?
It's definitely planned, if I'll be working on it again.

Quote
Your "Save&Run" feature is quite cool, it was a question some time ago if it was possible from an ndless program to open another ndless program...
There's a syscall for that: nl_exec :P

Anyway, I guess it would be great if you put it on a GitHub repo so that anyone willing ( / that has free time :P) could help you on it :)
Yeah, there are somee issues I would have to get rid of first. It's kind of onion code currently (If you open it, you start crying) :-/
Next week is no school, so I'll have some time to do this, actually :-)

BTW: How do you like the (mouse) cursor movement? I really dislike the OS cursor and with send_pad_event it should be possible to replace it.

276
General Calculator Help / Re: Ti Nspire Memory Capacity
« on: October 12, 2014, 01:58:31 pm »
The whole flash is 132MiB large, boot2, diags and OS account for the 17MB difference.
"Storage Available" is the free space on the filesystem partition, you're using 30MB somehow.

277
TI-Nspire / pyWrite - python script editor
« on: October 12, 2014, 07:38:59 am »
Well, I haven't got much time to develop this much further than this right now, so I'll publish the current state.
It was intended to be in between nTxt and Jens' script editor.

Features:
- Mouse cursor (DMZ theme, author unknown)
- "Save&Run": micropython must be at "/documents/ndless/micropython.tns" for it to work.
- Multiple fonts (but you can't switch :P)
- Saving isn't implemented (;D)

If there is enough interest, I may release the source code and develop it further when I have time again.


278
TI-Nspire / Re: Emulator with sound
« on: October 05, 2014, 12:58:18 pm »
I don't exactly understand why you would want the emulator to support one special app?
You can play sound just fine without an emulated hack...
But if you really want, to you can implement it yourself: https://github.com/antoniovazquezblanco/nspire_emu
You'll "just" have to measure the time between HIGH and LOW on GPIO4 and set the output value proportionally (the ratio is the amplification).

279
General Calculator Help / Re: Can I update my Calc ?
« on: October 04, 2014, 06:15:24 am »
AFAIK it's not possible right now to use 3.6 CAS on non-CAS HW.

280
TI-Nspire / Re: nspire Linux Questions
« on: September 30, 2014, 12:43:33 pm »
Quote
Question: I know it's not related to getting Linux to work, but is Linux on the Nspire a project that is still being developed by other people, seeing as Tangrs is no longer around? I was wondering because in such case it should probably get its own sub-forum.
I'm currently not doing any development on the kernel, but that's currently the case for everything except school and a minimum of fun things :-/

281
TI-Nspire / Re: nspire Linux Questions
« on: September 29, 2014, 04:31:23 pm »
The kernel with devicetree support doesn't support USB root yet.
The latest "old" kernel from tiplanet.org/nspire-linux-builds should work.

282
Calculator C / Re: Using the ndless-sdk on osx
« on: September 27, 2014, 06:21:03 pm »
I don't much about docker (I haven't used it at all, actually), but docker needs a VM on OSX:
http://docs.docker.com/installation/mac/

283
Calculator C / Re: nSDL showCursor
« on: September 27, 2014, 09:30:43 am »
I'm not too familiar with nSDL but I assume it doesn't have cursor support. Currently there is no way to use the native nucleus cursor in ndless apps, if you mean that.
But even if nSDL has its own touchpad mouse code, I'd assume you'd have to set a cursor bitmap first.

284
Calculator C / Re: Where can I get the SDK?
« on: September 27, 2014, 09:25:53 am »
From GitHub. It's the latest "bleeding edge" code, but it should work.

285
General Calculator Help / Re: Serious TI-Nspire issues
« on: September 22, 2014, 12:04:22 pm »
Theoretically everything is possible, but I can't imagine any software could switch the keypad layout forever.
There is likely related information in the bootdata area of the flash, but then boot2 would refuse to boot the installed OS as it wouldn't be compatible for the hardware model.

Pages: 1 ... 17 18 [19] 20 21 ... 83