Monday, October 04, 2010

Setting Up The Environment For Ti-83 Development

As everyone knows(because of the Introduction post), I’m a Windows 3.11 guy, then I will show you what you need to develop on it. You will need a compiler, the only one that people use is The Telemark Assembler(TASM), a table driven cross assembler for the MS-DOS and LINUX environments, to download it, you just need to go to TiCalc and download the tasm32.zip. The second thing that you will need is a linker, for this the best choice is Devpac8x, that is the update to Devpac83 which turned bin files to 83p. Devpac8x turns bin files into 8xp which can now be loaded into the flash simulator, you can get it on TiCalc(on the link before), and download the devpac8x.zip. The third thing that you need is the include file, the most used is ti83plus.inc, that you can get from TiCalc, also you can get more include files at TiCalc Archives. Time of Installation Make a directory TASM on C:\, then extract tasm32.zip, devpac8x.zip and ti83plus.zip to it. When all is completed, just create a batch file called z80.bat, on it put this:
echo off echo ==== Now assembling %1.z80 for the TI-83 Plus ==== tasm -80 -i -b %1.z80 %1.bin if errorlevel 1 goto ERRORS rem This is necessary because of a DevPac8x bug devpac8x %1 echo ==== Job finished. Program saved as %1.8xp ==== goto DONE :ERRORS echo ==== Errors!!! ==== :DONE del %1.lst > NUL del %1.bin > NUL echo ==== Done ====
Add the C:\TASM directory to the %PATH%, and now all is done now, when you want to compile something you just need to type:
C:\> z80 <filename>
Congratulations! You've successfully setup the environment to your development. :)

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home