Difficulties with XA during compilation
Posted: Tue Sep 05, 2017 5:58 am
Dear all,
I've some troubles to compile several source files to create a datafile. OSDK gives the feedback that i've some errors on labels
Here is the code which include some files :
It's the main file with some define.
and for example a part of the fr_dico.s file (it seems that the fist fr_data.s is fine) :
But i've some errors in the compilation.
With the error file (part of) :
and the sympbols table doesn't seems to be bad.
I think i've forget something ...
I've some troubles to compile several source files to create a datafile. OSDK gives the feedback that i've some errors on labels
Here is the code which include some files :
It's the main file with some define.
Code: Select all
;------------------------------------------------------------------------------
.word 0,tblGame ; 01 - 00 - les paramètres du jeu
.word 0,tblDirections ; 02 - 02 - les directions autorisées dans chacune des pièces
....
#include "fr_data.s"
#include "fr_dico.s"
...
Code: Select all
tblDictionnaire
.word tblD0
.word tblD1
.word tblD2
.word tblD3
.word tblD4
.word tblD5
...
tblDictionnaireEnd
tblD0
.asc 7,"bonjour"
; .asc 7,"Bonjour"
tblD1
.asc 7,"allumer"
.asc 6,"allume"
...
tblD2
.asc 5,"crier"
.asc 4,"crie"
tblD3
.asc 7,"armoire"
.asc 8,"penderie"
tblD4
.asc 7,"arreter"
.asc 6,"arrete"
tblD5
.asc 8,"attendre"
...
With the error file (part of) :
Code: Select all
Cross-Assembler 65xx V2.2.5 (13:39:57 / Apr 13 2017)
(c) 1989-98 by A.Fachat
65816 opcodes and modes coded by Jolse Maginnis
Oric C adaptation and debugging by Mickael Pointier
Clean Linux port by Jean-Yves Lamoureux
tblDictionnaire
fr_dico.s(23): 3365:Label defined error
tblDictionnaireEnd
fr_dico.s(125): 342f:Label defined error
tblD0
fr_dico.s(127): 342f:Label defined error
tblD1
fr_dico.s(130): 3437:Label defined error
tblD2
fr_dico.s(137): 346a:Label defined error
tblD3
fr_dico.s(142): 3487:Label defined error
tblD4
fr_dico.s(147): 34a7:Label defined error
tblD5
Code: Select all
0544 nbDICTIONNAIRE
0bed tblDictionnaireEnd
0bed tblD0
0bf5 tblD1
0c28 tblD2
0c45 tblD3
0c65 tblD4
0c86 tblD5