Author Topic: Small C Compiler for TI-83+  (Read 16441 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranman

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Small C Compiler for TI-83+
« on: November 19, 2005, 05:33:00 pm »
Very interesting find on Ticalc... A Small C Compiler for the TI-83+ calcs. This is very cool B)cool.gif

http://www.ticalc.org/archives/files/fileinfo/380/38061.html

Has anyone tried this? If so, does it work well? We may need to think about starting a C programming tutorial topic. I could help.

I work at Lockheed Martin as an embedded software engineer. I program in C all day long (some C++ and ASM). C is a very good language to learn especially if you think you may want to get into embedded or driver programming. When time permits, I would encourage everyone to try this compiler out.
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
Small C Compiler for TI-83+
« Reply #1 on: November 20, 2005, 04:13:00 am »
wooohooo! I think I

dragon__lance

  • Guest
Small C Compiler for TI-83+
« Reply #2 on: November 20, 2005, 08:26:00 am »
sweet!! so a new era for the z80 calcs...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Small C Compiler for TI-83+
« Reply #3 on: November 20, 2005, 10:07:00 am »
wow sound nice, I hope this one produce better code thatn z88dk, I might add it in the archives. I am wonderin if it has tutorial and example to learn C?

MathStuf

  • Guest
Small C Compiler for TI-83+
« Reply #4 on: November 20, 2005, 11:19:00 am »
If you know BASIC, you can convert it to C without too much trouble. That's the wonderful thing about the 68k calcs, mock-up programs in BASIC are easy to convert to TIGCC (like I'm currently doing for parsing dialog strings).

Offline necro

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1295
  • Rating: +17/-2
  • +3 vaporal mustache
    • View Profile
Small C Compiler for TI-83+
« Reply #5 on: November 20, 2005, 11:30:00 am »
This sounds very cool...I guess I will have to try it some time
I'm like a woot burger with awesome fries


VB.Net, C#, C++, Java, Game Maker

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Small C Compiler for TI-83+
« Reply #6 on: November 20, 2005, 12:45:00 pm »
at least if it works out well that might open new doors to TI-z80 coding :)smile.gif

I dont have much time to learn a new prgming language, nor to program atm tho

dragon__lance

  • Guest
Small C Compiler for TI-83+
« Reply #7 on: November 28, 2005, 04:27:00 pm »
k, i've got everything needed to install it, but i don't really know how, anyone care to help?(ive decided to try to learn C, not just for calcs, but for comp prgming to, once i'm done with zelda)

Offline Ranman

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Small C Compiler for TI-83+
« Reply #8 on: November 28, 2005, 04:36:00 pm »
QuoteBegin-dragon__lance+28 November 2005, 22:27-->
QUOTE (dragon__lance @ 28 November 2005, 22:27)
k, i've got everything needed to install it, but i don't really know how, anyone care to help?(ive decided to try to learn C, not just for calcs, but for comp prgming to, once i'm done with zelda)  

 I have never installed it, so I could not help you with that. However, once you get it up and running, I would be able to give you some advice with the C language..
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Small C Compiler for TI-83+
« Reply #9 on: November 29, 2005, 03:06:00 am »
I am wondering if the syntax is the same than on the comp though, there might be some difference, I hope they arent too big. :(sad.gif

dragon__lance

  • Guest
Small C Compiler for TI-83+
« Reply #10 on: November 29, 2005, 10:33:00 am »
k, it saids that i need to:
- add C:\tisdcc to PATH
   Linux users may make a link in /usr/local/bin to
   /usr/local/share/tisdcc/tisdcc
 - TISDCCDIR=C:\tisdcc
 - TISDCC_CC=cl(Microsoft C Compiler) or gcc(GNU C Compiler and compatible)
ii don't really know how to do this?

Offline Ranman

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1354
  • Rating: +83/-0
    • View Profile
Small C Compiler for TI-83+
« Reply #11 on: November 29, 2005, 03:05:00 pm »
QuoteBegin-dragon__lance+29 November 2005, 16:33-->
QUOTE (dragon__lance @ 29 November 2005, 16:33)
k, it saids that i need to:
- add C:\tisdcc to PATH
   Linux users may make a link in /usr/local/bin to
   /usr/local/share/tisdcc/tisdcc
 - TISDCCDIR=C:\tisdcc
 - TISDCC_CC=cl(Microsoft C Compiler) or gcc(GNU C Compiler and compatible)
ii don't really know how to do this?  

 Are you installing in Win XP or Linux?
Ranman
Bringing Randy Glover's Jumpman to the TI-89 calculator. Download available at Ticalc.

dragon__lance

  • Guest
Small C Compiler for TI-83+
« Reply #12 on: November 29, 2005, 03:07:00 pm »
win xp, i just read on maxcoderz forums that lots of people don't think that C is a good languge for the z80 calcs and is "bloated" and that assembly is much better, cause while z80 uses a 8bit processor. on the 68K, its completely different cause apparently it has a 16bit processor that changes everythin. everyones input?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Small C Compiler for TI-83+
« Reply #13 on: November 29, 2005, 03:12:00 pm »
well if ppl who said that are ASM programmers themselves its obvious they would say that. A BASIC programmer or a asm newbie wouldnt say that. The best solution is to try it and if its really slow and product huge code then you avoid it

crzyrbl

  • Guest
Small C Compiler for TI-83+
« Reply #14 on: November 29, 2005, 03:14:00 pm »
it might run slower, but i think it should be attempted.  is there an old 8-bit C programming language?