Omnimaga

Calculator Community => TI Calculators => General Calculator Help => Topic started by: northern_snow on September 20, 2011, 09:32:04 am

Title: Any C-likely compiler on NSpire or 89?
Post by: northern_snow on September 20, 2011, 09:32:04 am
I want to practice C very often so are there any programs can compile C?
Title: Re: Any C-likely compiler on NSpire or 89?
Post by: Lionel Debroux on September 20, 2011, 12:04:36 pm
The TI-68k series has http://gtc.ti-fr.com , which is quite capable. I'm not sure it's rock-stable, but it's better than the earlier cc/as.
But there's nothing on the Nspire series.
Title: Re: Any C-likely compiler on NSpire or 89?
Post by: northern_snow on September 23, 2011, 05:25:57 am
Thanks! But the Flash App seems not work on my ti-89 titanium... Are there some ways to make the *.89k file fit the 89ti? Thanks again!
Title: Re: Any C-likely compiler on NSpire or 89?
Post by: Lionel Debroux on September 23, 2011, 03:19:52 pm
The latest build of GTC might be an unsigned FlashApp. You have three solutions, sorted from easiest to hardest:
* execute Flashappy on your 89T, which will permanently disable the FlashApplication signature check;
* resign the FlashApp using RabbitSign and the 0103 (or 0109) key;
* use the binary diffs distributed alongside tiosmod+amspatch (which contains 14 changes besides Flashappy) to patch AMS 3.10 for 89T, backup your calculator, and transfer the patched AMS to your calculator.
Title: Re: Any C-likely compiler on NSpire or 89?
Post by: northern_snow on September 24, 2011, 05:54:41 am
Thank you Lionel Debroux, I got it.
And,
* use the binary diffs distributed alongside tiosmod+amspatch (which contains 14 changes besides Flashappy) to patch AMS 3.10 for 89T, backup your calculator, and transfer the patched AMS to your calculator.

Can I solve the "Illegal Address" problem with some AMS programs by this way?
Title: Re: Any C-likely compiler on NSpire or 89?
Post by: Lionel Debroux on September 24, 2011, 06:10:54 am
No, tiosmod+amspatch does not attempt to patch a better crash protection into AMS. Use KerNO or PreOS for that purpose :)

In the above, "less bad" would be more accurate than "better": the TI-68k platform doesn't have a MMU, and therefore, there's no way to make an even half-decent crash protection.