Hello,
i tried to compile smile.c located in the TI examples programs.
I executed :
zcc +ti83 -lm -o smiletest -create-app smile.c
Then i got a smiletest.83 file. Using VTI, i tried to run it on the emulator. I get error "Syntax Error". I tried to compile with +ti83ansi option. It's the same.
Finally, i tried to use ZASMLOAD program because i saw it anywhere and i was desesperate. I use a TI-Basic program adaptator like this :
prgmSMILELD:
:"SMILETEST
:Send(9prgmZASMLOAD
But the emulator stop and don't react anymore.
So, my question is : HOW TO RUN THIS (******* = VERY NICE) PROGRAM on my Ti-83 ?
Regards,
thanks.
Unable to run a TI-83 Program
Try by adding "-startup=10" to your command line.. for 'smile' this should work:
zcc +ti83 -o smiletest -startup=10 -create-app smile.c
Anyway we suggest to use a shell for your calculator.. it is a sort of "operating system" making your calculator being capable to run machine code programs.
Have a look here: http://www.ticalc.org/pub/83/asm/shells/
The compiler generates programs suitable for ION-like shells, but almost all are supported by adding a "-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
I've fixed a bit the "wiki page" adding this information.
Sorry the documentation work is still in progress!
http://www.z88dk.org/wiki/doku.php/platform:ticalc
zcc +ti83 -o smiletest -startup=10 -create-app smile.c
Anyway we suggest to use a shell for your calculator.. it is a sort of "operating system" making your calculator being capable to run machine code programs.
Have a look here: http://www.ticalc.org/pub/83/asm/shells/
The compiler generates programs suitable for ION-like shells, but almost all are supported by adding a "-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
I've fixed a bit the "wiki page" adding this information.
Sorry the documentation work is still in progress!
http://www.z88dk.org/wiki/doku.php/platform:ticalc