The TI calculators port has been thought to get a common compatibility layer. The VT/ANSI library features the same text resolution for all the platforms, permitting the applications to be easily ported.
zcc +ti82 -lm -o adv_a -create-app adv_a.c
-or-
zcc +ti82ansi -lm -o adv_a -create-app adv_a.c
Every calculator has specific hardware and software requirement.
Some calculator is able to run machine code directly, some is not; however we suggest to use always a shell for your calculator. It is a sort of “operating system” making your calculator being capable to run machine code programs.
You can download a suitable shell at "ticalc.org".
To compile programs for this platform you need to specify the “+ti82” or the “+ti82ansi” parameter. The only supported shell is “CrASH“.
To compile programs for this platform you need to specify the “+ti83” or the “+ti83ansi” parameter. The default supported shell is “ION“, but you can change this behaviour by passing “-startup=X” parameter, where ‘X’ can be:
1 - Ion; Ti-Explorer (default) 2 - Venus; 3 - ZES; 4 - Anova; SOS 5 - Ti-Explorer, AShell; SOS, Anova (same as 6) 6 - AShell, Ti-Explorer; SOS, Anova (same as 5) 7 - SOS; Anova 8 - Venus Explorer; Venus 9 - Ion, Ti-Explorer; ZASMLOAD, plain TIOS 10 - Plain TIOS, ZASMLOAD
Assembly programming notes on WikiTI
To compile programs for this platform you need to specify the “+ti8x” or the “+ti8xansi” parameter. The default supported shell is “ION“, but you can change this behaviour by passing “-startup=X” parameter, where ‘X’ can be:
1 - Ion (default) 2 - MirageOS without quit key 3 - (reserved) 4 - TSE Kernel 10 - asm( executable
Assembly programming notes on WikiTI
To compile programs for this platform you need to specify the “+ti85” or the “+ti85ansi” parameter. The default supported shell is “Rigel“, but you can change this behaviour by passing “-startup=X” parameter, where ‘X’ can be:
1 - Rigel (default) 2 - Peak 3 - PhatOS (unstable)
Note that some TI85 shell is able to run some program in TI83 format, but the libraries for the TI83 calculator don’t take benefit of the wider screen of this platform.
To compile programs for this platform you need to specify the “+ti86” or the “+ti86ansi” parameter.
The default supported shell is “ION”, but you can change this behaviour by passing “-startup=X” parameter, where ‘X’ can be:
1 - LASM (default) 2 - ASE, Rascal, emanon, etc. 3 - zap2000 4 - emanon 5 - Embedded LargeLd - !!!EXPERIMENTAL!!! 10 - asm() executable
Depending on the Shell being used it might be possible to export further “special” informations, such as an icon or an application title. This can be done placing #pragma directives directly in the C source program.
To make the shell display a specific name:
#pragma string name <application name>
This will work on:
Some shell displays an Icon associated to the application, normally near its name; when required Z88DK shows a default picture, a small “C+” logo, but it can be replaced with a custom one.
Icons might be handled in slightly different ways depending on the Shell. Some of them require 8×8 icons, but sometimes the resolution is different.
To make the shell display the 8×8 smiley icon:
#pragma data icon 0x3C, 0x42, 0xA5, 0xA5, 0x81, 0xA5, 0x5A, 0x3C ;
This will work on:
On TI83 Plus, an icon for MirageOS can be defined as follows:
#pragma data mirage_icon <30 bytes: data for 15x15 pixels> ;