46
Site Feedback and Questions / Re: TI-Nspire Downgrade Problems
« on: September 21, 2015, 05:09:37 pm »
http://ndless.me is the official homepage.
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. 46
Site Feedback and Questions / Re: TI-Nspire Downgrade Problems« on: September 21, 2015, 05:09:37 pm »
http://ndless.me is the official homepage.
47
TI Calculators / Re: Ndless SDK Help« on: September 15, 2015, 11:43:21 am »Quote Edit: When i tried to install boost-program-options in brew it couldn't be found. Does anyone know of another way to install itTry "brew install boost", it should work. It would be great if you could update the tutorial in the wiki when you have a working setup! 48
Calculator C / Re: OS cleaning up things after program is off?« on: September 14, 2015, 05:21:42 am »Thank you so so so much for your help!You can just use C++ exceptions, it's cleaner than abort() anyway. Quote It should work just fine, can you show us your code?How would I go about, say, logging things to a file perhaps? I've tried using the C IO functions, but I found myself unable to write things? It created the file and everything, but failed when I tried to write to it. 49
TI Calculators / Re: Ndless SDK Help« on: September 14, 2015, 05:19:33 am »
I'd guess that you don't have a "/ndless" directory, so you need to change the paths correctly.
Anyway, the old SDK that you're trying to use is horribly outdated and is not only not supported, but it won't be able to compile most programs. You need to setup cygwin on your windows VM or just use OS X: http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction 50
TI-Nspire / Re: Calling all Linux Kernel developers!« on: September 14, 2015, 05:11:07 am »
Enabled in kernel config, currently building on tiplanet.org.
Edit: Build finished: https://tiplanet.org/nspire-linux-builds/devicetree/zImage_expanded_20150914_1111.tns 51
General Calculator Help / Re: Installing CAS on TI-Nspire CX Non-CAS« on: September 13, 2015, 12:49:39 pm »
Currently, you can't.
52
TI-Nspire / Re: New TI-Nspire emulator: Firebird Emu« on: September 13, 2015, 12:49:02 pm »
Does the flash work on the PC?
Did you press the "bomb" button in the firebird app? 53
Calculator C / Re: OS cleaning up things after program is off?« on: September 09, 2015, 03:19:56 pm »Quote It's gonna feel weird having to take actual measures to get out of a crash.Well, if your program crashes, it's not possible to recover and the calc resets. abort and std::terminate (C++) are caught and it tries to recover from it, but that's not possible sometimes. Quote 1- Is there any risk stemming from pointer shenanigans? Like, say I forget to assign a pointer and write to it. Is there any chance of me permanently messing up my calculator?Unless you touch the nand write functions, you're safe. I heard that under some weird circumstances it's possible to corrupt the OS in such a way that it uninstalls itself, but that's not a major issue anyway. Quote 2- This one should be more evident but I trust that malloc'd memory is freed upon calculator reset?Yes. Only the data written to NAND is persistent. Quote EDIT: Bonus third (sorry for so many!), is there any way to track allocated memory so that I may be able to find out if my program has a memory leak?There is no valgrind for ndless, but you can try to modify libsyscalls in the Ndless-SDK a bit to print something on each malloc and free and track it manually over the serial port or have an internal counter: https://github.com/ndless-nspire/Ndless/blob/master/ndless-sdk/libsyscalls/stdlib.cpp#L104 54
TI-Nspire / Re: New TI-Nspire emulator: Firebird Emu« on: September 08, 2015, 06:51:40 am »Quote Windowns 7, i redownload today i think the firebird is the last one, DirectX11, Intel HD graphics.Thanks, I'll have a look at that. The issue is that I don't have a bare-metal Win7 system and it doesn't work in VMs as it requires hardware-accelerated OpenGL. Quote When i creat a flash i did not put file in Manuf. and Diags.That's ok, those aren't necessary. 55
Calculator C / Re: OS cleaning up things after program is off?« on: September 08, 2015, 06:49:02 am »Quote So I recently got into TI-Nspire CX programming, and I've had this looming worry... Does the OS deal with cleanup after program exit? i.e. say I malloc some memory and exit without freeing it. Does the OS recognize that it should be freed?No, the TI-Nspire system is based on an RTOS, which isn't like linux in such cases. The way that ndless implements program loading is incompatible with other tasks as well (the ploader_hook runs in the docbrowser task with preemption disabled), so every program has to clean up. It is possible to implement such functionality in ndless itself, but it may break other things, like background tasks, hooks, etc. Quote Furthermore, say I open a file and then shut down the program without closing it. Would there be any problems stemming from that?YES. While the file is still open, you can not write to or read from it. For example, if you execute this program: Code: [Select] void main(int argc, char **argv) { fopen(argv[0], "rb"); } , you can not delete it until you reboot.
56
TI-Nspire / Re: New TI-Nspire emulator: Firebird Emu« on: September 07, 2015, 08:43:08 am »Quote But the keyboard is not show in keypad. The tab is blank.Can you post some information about your environment? OS? Firebird version? OpenGL, DirectX, graphics driver? 57
TI-Nspire / Re: Calling all Linux Kernel developers!« on: September 07, 2015, 08:41:59 am »
Hm. I haven't tried X11 in a long time, I'm not sure whether it's even supposed to be working with the DT kernel. Similiar issue with the touchpad, it's only partially implemented mainline and not active by default.
The screenshot has a fairly interesting error: "Address family not supported by protocol". My guess is that that is the ultimate reason why it doesn't work, combined with the "unable to open socket". I can't tell you which kernel option to activate, but I'll try to get it working (latest devicetree and buildroot) when I've got some free time on my hands :-) You should try to boot an older, non-devicetree kernel with an older, xconfig image. I can't tell you which versions to try (tiplanet.org is down for me, currently...). 58
TI-Nspire / Re: New TI-Nspire emulator: Firebird Emu« on: September 06, 2015, 06:41:54 am »
You need boot1, boot2 and a OS file to set up firebird.
Just select the boot1 in the settings pane, under "Nspire". Then, open the flash window by clicking on "Flash->Create Flash", select the appropriate calc model, boot2 and OS. Hit "save" and save the generated flash image. In the settings pane, under "Nspire" again, select the newly created flash image and it should boot successfully. 59
TI-Nspire / Re: SDL ports for Nspire« on: September 03, 2015, 02:59:38 pm »Quote (Note: It strangely doesn't work on any Ti Nspire emu i tried. It DOES work on my own TI Nspire CX though, i checked twice)Tried Super Mario World, works just fine: 60
General Calculator Help / Re: Installing CAS on TI-Nspire CX Non-CAS« on: September 01, 2015, 04:27:56 pm »
You could install Ndless 3.9 and flash NLaunch(y), there are instructions available for that.
I suggest you to try khicas first, it's free to use, open source and has some more features compared to the Nspire's CAS. |
|