| The United-TI Forum is Read-Only. | |
| Goto page 1, 2, 3, 4, 5, 6, 7 Next |
| 01 Mar 2010 03:53:25 pm by ExtendeD | ||||||||||
------------------------------------------------------ I'll try to catch up the different questions from http://www.unitedti.org/forum/index.php?showtopic=8191:
This one may be caused the emulator installation program which is quite unstable for the moment. Any help to document the TI-Nspire filesystem raw format will be greatly appreciated.
What was exactly your initial OS version? Did Ndless hang for 10 minutes with its progress bar moving?
What was the problem for you Levak, the hang or the systematic downgrade?
I am afraid distributing Ndless as an Open Source work is the most we are willing to do. |
||||||||||
| 01 Mar 2010 03:54:06 pm by ExtendeD | ||||||||||||||||
We are currently symplifing the building steps of TI-Nspire programs. Meanwhile it would be great if anyone could create a wiki page on Hackspire to help other developers on this frequent question.
I suppose you are on Windows. - Install MSYS: http://www.mingw.org/wiki/msys - Install YAGARTO GNU ARM toolchain: - http://www.yagarto.de and add the tools to your PATH - Open an MSYS console in Ndless/src/arm/demo and 'make' it. What didn't work exactly for you?
This has been fixed for the next release.
Not for the moment. This is of course one of our priorities, but its unfortunately not so easy. |
||||||||||||||||
| 01 Mar 2010 05:46:55 pm by chipmunk884 | ||
| Here is what went wrong when I tried to compile. It gave me a bunch of errors including something like "couldn't find os.h" and "KEYS_NSPIRE_MULTIPLY not defined; used for first time in main()" or something along those lines. I followed your instructions exactly, and i still got a lot of errors about KEYS_NSPIRE_DIVIDE undefined and many other keys being undefined as well. | ||
| 01 Mar 2010 05:47:32 pm by JoeYoung | ||
| Not that it'd mean much at all, but as a community member I've got your back |
||
| 01 Mar 2010 06:04:14 pm by bwang | ||
| With the current version of Ndless, is it theoretically possible to run the CAS OS 1.1 on the non-CAS (sorry if I'm asking too many questions, I'm just curious).
Also, is it theoretically possible to fix the OS 1.1 power management bug using a patch or a utility or do we have to wait for a version of Ndless that runs on OS 1.2? |
||
| 01 Mar 2010 06:45:54 pm by calc84maniac | ||||
A very simple fix would be to make a program that will restart the OS when run, and you should select it before turning off. Then when you turn on, click. |
||||
| 01 Mar 2010 07:23:40 pm by bwang | ||||
Can someone post one of these? I don't know ARM assembly yet |
||||
| 02 Mar 2010 12:06:14 am by FloppusMaximus | ||
| A few observations from the non-Windows side of the world...
- Does anybody know how to compile a "stand-alone" cross compiler? GCC really wants there to be a standard C library and header files already installed (and even if I wanted to use one, I'm not sure how I'd be able to compile it without GCC.) After a lot of hacking and swearing and copying files where they shouldn't be, I was able to build an arm-elf-gcc compiler... except that for some reason, it tries to use 'as' as the assembler rather than 'arm-elf-as'. Any ideas? - Correct me if I'm wrong, but it looks like the purpose of MakeTNS is to search for the string "PRG\0" within a binary file, and arbitrarily cut off everything that comes before that string. This does not seem like a very good design to me. - In the source to the aforementioned MakeTNS, we appear to be (a) reading sizeof(unsigned long) bytes at a time into a buffer, (b) comparing sizeof(char*) of them with a constant string, and (c) using 4 of them in the output. Quite impressively non-portable. |
||
| 02 Mar 2010 12:26:06 am by kaarsten | ||
| I'm not sure if the ARM gcc is different, but I remember to create raw binaries for OS development, I needed to have library-less code, so the flags were "-nostdlib -nostartfiles -nodefaultlibs". Then again, ARM-gcc might be different.
In other news, we need to set about documenting the API (system calls, locations of important information like battery status, etc), not to mention porting some sort of CAS to the nSpire. |
||
| 02 Mar 2010 07:02:11 am by chipmunk884 | ||
| FloppusMaximus, I understand your pain, as I have struggled for many hours to get the demo project to compile, and I was finally successful last night. I found out that my problem was that I copied the demo folder to a new location so that I wouldn't mess up the original, but I then realized that the Makefile was referencing a few other folders, including Header and System, so when I compiled it in the original folder, it worked. Since I am posting now, I do have another question. I run a website called Lafacroft which has a a bunch of different documents and activities to explain how the nspire works, as well as a few tutorials. I wanted to know if it is okay for me to publish some tutorials on making and compiling Ndless programs. I know that a lot of the code is public domain, but I wasn't sure if it all was, so I wanted to know if it was okay not only to make the tutorials but also put the Ndless and Nspire_emu files for download on my site as well. I would clearly state who the original creators were to give everyone proper credit, but I know that just doing that isn't okay unless the creators themselves approve. | ||
| 02 Mar 2010 09:15:28 am by Lego | ||||||
No the progress bar stays at 100% after 30seks or one minute. A work around is to try to close the app before the 100% is reached and while it asks if we really want to close it just continues without hanging. How about an debug command/switch so that we can check where it hangs :) to the reinstall: First i started with 1.7, then it downgraded to 1.1 After a second try with 1.1 as initial OS it also ways that i have got 1.1.9170 and it has to downgrade to 1.1 so maybe there is just an wrong if or something like that in the code. Edit: currentOsVersion.getBuild() != 9253 but the CAS 1.1 is 9170 |
||||||
| 02 Mar 2010 06:55:58 pm by FloppusMaximus | ||||
Thanks, that should be useful. By the way, my problem with 'as' was that I had, for some reason, installed the arm-elf binutils in /usr and gcc in /usr/local. I would still have expected gcc to be smarter about it, though - it's a cross-compiler; surely /usr/bin/arm-elf-as is going to be more useful than /usr/bin/as. (And the gcc configure script did clearly indicate that it had detected /usr/bin/arm-elf-as as the cross-assembler.) |
||||
| 02 Mar 2010 08:19:49 pm by kaarsten | ||||||
Either memcpy is borked in the Ndless distribution, or I'm doing something wrong. When I compile my code that I've been tinkering with, this happens:
The code in question is as follows:
Any idea what's going on there? |
||||||
| 02 Mar 2010 08:28:31 pm by FloppusMaximus | ||
| Compile with -std=c99 or -std=gnu99.
Another question: Should we use hardware or software floating-point? |
||
| 02 Mar 2010 09:01:38 pm by kaarsten | ||
| It compiles with a ton of warnings, but now nspire_emu crashes upon swapping buffers more than once... :/
Even then, there are occasional artifacts... |
||
| 02 Mar 2010 09:07:47 pm by calc84maniac | ||||
ScrW * ScrH does take into account that there are two pixels per byte, right? |
||||
| 02 Mar 2010 11:43:05 pm by kaarsten | ||||||
Aye, it does. I even replaced it with SCREEN_BYTES_SIZE to ensure. It doesn't crash anymore, thankfully, but it doesn't do anything either. When I try to fix it, it just crashes again. Direct writes to the screen work, but double buffering doesn't. :/ |
||||||
| 03 Mar 2010 03:51:46 am by ExtendeD | ||||||||||||
True, we are working on a fully-fledged executable loader.
Thanks, this has been recently fixed.
Ndless is covered by the Mozilla Public License 1.1, you should refer to it to distribute Ndless or any part of it. Note that we are currently reworking on the build process and some part of your tutorial may become slightly out-of-date.
That is quite strange, the popups doesn't really interact with the USB connectivity steps. Is this one a random issue or are does it block each installation?
Thanks, we'll fix this. |
||||||||||||
| 03 Mar 2010 07:13:52 am by Lego | ||||||
in 9 of 10 trys it hangs, but only if the cas had installed the forced install of 1.1 But If it is the second try to install ndless the Handheld says the OS is Broken and reboots, then ndless just updates Everything and continues without hanging at this Point. Edit: BTW I use VMware, not an real Windows. |
||||||
| The United TI Forum is Read-Only. | |
| Goto page 1, 2, 3, 4, 5, 6, 7 Next | |
[Switch to Desktop view]
© Copyright 2000-2013 Cemetech & Kerm Martian :: Mobile Design by Alex "comicIDIOT" Glanville
Problems? Issues? Or Suggestions? There's a thread for that!
© Copyright 2000-2013 Cemetech & Kerm Martian :: Mobile Design by Alex "comicIDIOT" Glanville
Problems? Issues? Or Suggestions? There's a thread for that!
