Unable to run a TI-83 Program

TI-82, TI-83 (plus, silver..), TI-84, TI-85 and TI-86
Post Reply
lovecpp
New member
Posts: 2
Joined: Thu Sep 20, 2007 5:11 pm

Unable to run a TI-83 Program

Post by lovecpp »

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.
stefano
Well known member
Posts: 2137
Joined: Mon Jul 16, 2007 7:39 pm

Post by stefano »

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
lovecpp
New member
Posts: 2
Joined: Thu Sep 20, 2007 5:11 pm

Post by lovecpp »

Ok, it works better with zasmload :) with smile
Thank you very much.
About the shell, how should i choose it ? Because i'll probably only write utilitary programs instead of game. ZASMLOAD is ok or must i use ion or other shell ?
stefano
Well known member
Posts: 2137
Joined: Mon Jul 16, 2007 7:39 pm

Post by stefano »

The most common, for what I could see, is ION.. it looks it is a sort of standard, even emulated by "Rigel" on the TI85 if I remember well.
Post Reply