How to Develop TI Voyage 200 Programs on Windows 7 64-Bit Using TIGCC

After having spent endless hours on trying to get TIGCC on Linux to work, I finally gave up and tried, as a last resort, to setup a working development environment on Windows 7. In this rather short tutorial I am going to explain how you can setup a working development environment on your machine, compiler your first program and finally execute it on your calculator. As mentioned above, I had some troubles getting a stable environment up and running on linux. Therefore, if you are aware of a working configuration I would be very glad to hear from you. Thank you very much. But for now, let’s get started.

Required Hardware

Of course you need a Texas Instruments TI Voyage 200 calculator [4]. For what we’re going to do here, the OS version doesn’t really matter, but just to let you know: I am using version 3.10. This is also the latest ever published version by Texas Instruments.

You also need a communications cable to connect your calculator to your PC. I use the Silver USB Cable for Windows/Mac [5]. This cable comes along with a CD and some drivers.

The software they ship is called “TI Connect”. The version I am using is Version 4.0.0.218. In case you have an older version, download the latest edition from their website. My computer is a Windows 7 64-Bit Professional Edition machine. That’s all you need in terms of hardware.

Setting up TI Connect

I think a good step to start is to get the connection between your calculator and your pc up and running. Therefore, we begin by installing the TI Connect software. This should be a straight-forward process. Just run the provided installer. You’ll notice that some drivers will be installed. Connect your calculator with your computer by using the cable. Fire up your TI Connect software (menu entry should be called “TI Connect” as well).

Try to make a first screenshot of your calculator by clicking on the “TI ScreenCapture” button. If this works, great. The basic connection seems to be working. That’s all we need to know by now. We come back to this software later. You can close it for now.

Setting up TIGCC

Next, we setup our development environment. The IDE of choice is TIGCC Version 0.95 which you can download from [1]. The installation on Windows is a simple process too and I had no issues getting this to work. Just download the zip file and run the installer.

Setup up the Emulator

In order to save battery life on your calculator, it makes much sense to install a software emulator on your computer. Here, I am using TiEmu 3.03 which is available from [2]. TiEmu requires the installation of the GTK runtime. I had some weird problems getting TiEmu to work using the latest GTK runtime (I think it was version 2.24). Use version 2.16.6-2010-05-12 instead (grab it from [3]). TiEmu comes along with some PedROM images which you can use.

Writing a “Hello World” Program for your TI

Fire up TIGCC and start a new project by creating a new source file. First make sure, the IDE is configured to generate a binary for your calculator. Click on “Project” -> “Options” -> Tab “Compilation” -> Click “Program Options…”, Tab “Calculator”. Make sure “V200” is selected at least. Now copy and paste the code below and click “Project” -> “Build” to compile the program.

#include <tigcclib.h>
 
void _main(void) {
  // clear the screen
  ClrScr();
 
  // print the string at the top left corner of the display
  DrawStr(0, 0, "Hello, World!", A_NORMAL);
 
  // wait for a key press before the program exits
  ngetchx();
}

If the build was successful, you should now find a .v2z file in the same folder as the source file is located. This is the compiled version of your program.

Transfer And Run Your Program to the Calculator

We now want to transfer this file to our calculator. Again, start up “TI Connect” and click on the “Send to TI Device” button. This allows you to transfer files to your calculator. I think this is pretty self-explanatory. Therefore, just go on and transfer the file. You can check if your file has been transferred successfully, if it appears in the “VAR-LINK” menu on your calculator (just press “2ND” -> “-“). It should be listed as ASM program. Remember the name (limited to 8 chars). Go back to the home screen and call the function as “hellowor()”. A blank screen displaying “Hello, World!” should appear such as shown in this picture:

What’s Next?

I have showed you the basic steps of developing simple C programs for your calculator. I hope, this tutorial shed some light into the jungle of TI Voyage 200 development. There are several good resources on the internet, which can help you gain knowledge in programming on the TI Voyage 200. Please check my links at the end of this article. For example, you could visit the ticalc.org FAQ page [6] or have a look at the official TIGCC documentation to see which commands are supported on the platform. If you have critics or suggestions regarding this tutorial, please let me know by writing a comment to this post. Thank you.

Links

[1] http://tigcc.ticalc.org/
[2] http://sourceforge.net/projects/gtktiemu/
[3] http://gtk-win.sourceforge.net/home/index.php/Main/Downloads
[4] http://education.ti.com/en/us/products/calculators/graphing-calculators/voyage-200/features/features-summary
[5] http://education.ti.com/en/us/products/computer_software/connectivity-software/silver-usb-cable-for-windows-mac/features/features-summary
[6] http://tigcc.ticalc.org/doc/faq.html

Leave a Reply

Your email address will not be published. Required fields are marked *

*