Hi!

This topic was moved from http://tifreakware.ath.cx/index.php?showtopic=1474



Code:
.nolist  ;defines, includes, and equates
#DEFINE equ .equ
#DEFINE EQU .equ
#DEFINE end .end
#include "TI83ASM.INC";ROM call definitions
#include "TOKENS.INC";token interpretation
.list
.org 9327h                ;start address of program


;call _CLRLCDFULL
   ld hl,$170A
   ld (PENCOL),hl; choose the col an row
   ld hl,info1; copy label into hl
   call _VPUTS; this call is ok
   ret

info1: .db "hello world",$00


.end
END


It _really_ seems good but I've systematically a ERROR : SYNTAX.

I use spasm and bin2var and TilEm.


Thank you for your help.

contra-sh
In fact, this code was given by KermMartian (thank you for that).


But witchever the code (I 've tested many versions) , I've allways the same error.


I reach to compil and run another hello world for ti83plus.

I use :
spasm helloti83.z80
bin2var hello83.bin hello83.83p

launch tilem , right click, load file.
Send(9Pgrmhello83

And ...
ERROR : SYNTAX
QUIT
GOTO


I have tested on VTI with WINE and on another PC...

I really doesn't understand why it doesn't work !??
Sad
You're missing the Asm program identifier bytes. Assuming they're the same on the 83 as the 83+ (I've never done 83 assembly) and I remember the names of the symbolic constants correctly (I usually just use the actual values), you'd do this:

Code:
...
#include "TOKENS.INC"
.list
.org 9327h
.db t2ByteTok,tAsmPrgm
...
[program code here]
The Tari wrote:
You're missing the Asm program identifier bytes. Assuming they're the same on the 83 as the 83+ (I've never done 83 assembly) and I remember the names of the symbolic constants correctly (I usually just use the actual values), you'd do this:

Code:
...
#include "TOKENS.INC"
.list
.org 9327h
.db t2ByteTok,tAsmPrgm
...
[program code here]
It's not actually the same, Tari. The TI-83 has no such header on ASM programs. Smile

@Contra-sh: Are you sure that bin2var is the linker to use here? I'll test it with Brass + DevPac83 and see if it works.
>Are you sure that bin2var is the linker to use here? I'll test it with Brass + DevPac83 and see if it works.

I will test with bin2var2 instead bin2var...

Thank you for your help.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement