Author Topic: Any C-likely compiler on NSpire or 89?  (Read 4785 times)

0 Members and 1 Guest are viewing this topic.

Offline northern_snow

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 132
  • Rating: +17/-1
    • View Profile
Any C-likely compiler on NSpire or 89?
« on: September 20, 2011, 09:32:04 am »
I want to practice C very often so are there any programs can compile C?

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Any C-likely compiler on NSpire or 89?
« Reply #1 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.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline northern_snow

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 132
  • Rating: +17/-1
    • View Profile
Re: Any C-likely compiler on NSpire or 89?
« Reply #2 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!

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Any C-likely compiler on NSpire or 89?
« Reply #3 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.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline northern_snow

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 132
  • Rating: +17/-1
    • View Profile
Re: Any C-likely compiler on NSpire or 89?
« Reply #4 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?

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Any C-likely compiler on NSpire or 89?
« Reply #5 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.
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.