Hard Light Productions Forums

Off-Topic Discussion => Programming => Topic started by: Tyrian on April 25, 2011, 08:59:22 pm

Title: TI-89 Titanium Programming
Post by: Tyrian on April 25, 2011, 08:59:22 pm
In my engineering courses, I keep coming across certain operations over and over again.  I've got a TI-89 Titanium calculator and I'd like to write some small programs that take care of the rote parts of it for me.  So I've started looking for an SDK that I can use to write programs for my 89.  Unfortunately, I can't find any that actually *work.*  The ones I've looked at are:

 -- The official SDK (http://education.ti.com/educationportal/sites/US/productDetail/us_sdk_89_92p.html), which depends on this oddball version of the Microsoft JVM, which isn't easily available anymore.  Plus, the SDK itself isn't kept up-to-date.
 -- TIGCC (http://tigcc.ticalc.org/), which just opens a command prompt window, then closes.
 -- GCC4TI (http://trac.godzil.net/gcc4ti/), which does the same thing as TIGCC.

I really don't want to type in my programs on the keypad; that's just too tedious.  I was hoping someone here might have an alternative...
Title: Re: TI-89 Titanium Programming
Post by: Kopachris on April 26, 2011, 09:13:16 pm
I used TI-BASIC for my TI-84+, but I knew someone who did pure assembly for his TI-89 Titanium.  (I messed around with ASM for the TI-84+, too.)  Or maybe you can find the programs already made?  (http://www.ticalc.org/)
Title: Re: TI-89 Titanium Programming
Post by: Nuke on April 27, 2011, 09:34:21 am
asm is probibly the only way to write performance code for the thing. but tibasic isnt that bad.
Title: Re: TI-89 Titanium Programming
Post by: Polpolion on April 29, 2011, 11:07:47 am
but tibasic isnt that bad.

If you have unlimited free time, maybe. The only thing tibasic was good for on my old ti-84 was just plug and chug insert-numbers-recieve-output-from-formulas type programs. Anything less trivial than that and it would just be so slow you could nearly do it quicker by hand. Also I'm convinced that the implementation of tibasic itself is leaky and just abysmal for those more complex things.

I've heard of TIGCC but haven't used it at all yet. My best guess would be that you need to read up on the C APIs for the 89; there's probably something that you've forgotten to do, unless the examples they've given don't even work. Then I have no clue what's up. But the fact that both TIGCC and GCC4TI have the same issue leads me to believe that the problem's on your end, unless they're both secretly the same project. :p
Title: Re: TI-89 Titanium Programming
Post by: Mobius on May 01, 2011, 12:27:43 pm
Nice thingie, the Ti-89. I didn't know people could actually modify it. What kind of things can you do with it, exactly?
Title: Re: TI-89 Titanium Programming
Post by: Tyrian on May 03, 2011, 07:25:53 pm
The Titanium contains a bunch of engineering reference data.  It can also do numerical differentiation and integration, one and two variable stats with multiple types of distributions, and *most importantly* solve matrix equations utilizing complex numbers.  Very useful when doing calculations in the Laplace domain.

I think I might take another look at the IDEs I linked in my first post.  Maybe I can get one of them working. 
Title: Re: TI-89 Titanium Programming
Post by: Mobius on May 04, 2011, 04:42:42 pm
I (fortunately) know what Ti-89 does, I found it useful. I wanted to know what it's possible to do with an SDK. :)
Title: Re: TI-89 Titanium Programming
Post by: Polpolion on May 06, 2011, 09:15:51 pm
I (fortunately) know what Ti-89 does, I found it useful. I wanted to know what it's possible to do with an SDK. :)

anything that you can do in a console with C and TI hardware. Plus you can write code on the computer and it's much more pleasant. Furthermore, with a C SDK you can use C and not assembly which is also pleasant.