1

voicy une joly source quy ne compyle pas : error exported label is not valid
sy qqun peut m'aider, ça serait simpawink


_library        xdef    _library
_ti92plus       xdef    _ti92plus
_flag_3         xdef    _flag_3         ; Ou _readonly  xdef    _readonly
_version01      xdef    _version01      ; Version 01
EXPORT  MACRO
seikenou@1 xdef seikenou@1
 ENDM

 EXPORT 0008
 incbin "hawkb0.bin"
 EXPORT 0009
 incbin "hawkb1.bin"
 EXPORT 000A
 incbin "hawkb2.bin"
 EXPORT 000B
 incbin "hawkb3.bin"
 EXPORT 000F
 incbin "hawkh0.bin"
 EXPORT 0010
 incbin "hawkh1.bin"
 EXPORT  0011
 incbin "hawkh2.bin"
 EXPORT  0012
 incbin "hawkh3.bin"
 EXPORT  0016
 incbin "hawkg0.bin"
 EXPORT  0017
 incbin "hawkg1.bin"
 EXPORT  0018
 incbin "hawkg2.bin"
 EXPORT  0019
 incbin "hawkg3.bin"
 EXPORT  001A
 incbin "hawkg4.bin"
 EXPORT  001B
 incbin "hawkg5.bin"
 EXPORT  001C
 incbin "hawkg6.bin"
 EXPORT  001E
 incbin "hawkwd1.bin"
 EXPORT  001F
 incbin "hawkwg2.bin"
 EXPORT  0028
 incbin "duranb0.bin"
 EXPORT  0029
 incbin "duranb1.bin"
 EXPORT  002A
 incbin "duranb2.bin"
 EXPORT  002B
 incbin "duranb3.bin"
 EXPORT  002F
 incbin "duranh0.bin"
 EXPORT  0030
 incbin "duranh1.bin"
 EXPORT  0031
 incbin "duranh2.bin"
 EXPORT  0032
 incbin "duranh3.bin"
 EXPORT  0036
 incbin "durang0.bin"
 EXPORT  0037
 incbin "durang1.bin"
 EXPORT  0038
 incbin "durang2.bin"
 EXPORT  0039
 incbin "durang3.bin"
 EXPORT  003A
 incbin "durang4.bin"
 EXPORT  003B
 incbin "durang5.bin"
 EXPORT  003C
 incbin "durang6.bin"
 EXPORT  003D
 incbin "lised0.bin"
 EXPORT  003E
 incbin "lised1.bin"
 EXPORT  003F
 incbin "lised2.bin"
 EXPORT  0040
 incbin "lised3.bin"
 EXPORT  0041
 incbin "lised4.bin"
 EXPORT  0042
 incbin "lised5.bin"
 EXPORT  0043
 incbin "lised6.bin"
 EXPORT  0044
 incbin "liseb0.bin"
 EXPORT  0045
 incbin "liseb1.bin"
 EXPORT  0046
 incbin "liseb2.bin"
 EXPORT  0047
 incbin "liseb3.bin"
 EXPORT  004B
 incbin "liseh0.bin"
 EXPORT 004C
 incbin "liseh1.bin"
 EXPORT  004D
 incbin "liseh2.bin"
 EXPORT  004E
 incbin "liseh3.bin"
 EXPORT  0059
 incbin "lisewg1.bin"
 EXPORT  005B
 incbin "lisewg2.bin"
 EXPORT  005D
 incbin "statue.bin"
end
avatar
納 豆パワー!
I becamed a natto!!!1!one!

2

Pourquoi tu commences a exporter a partir de 0008 et pas de 0000 ?

3

EXPORT  MACRO
seikenou@\1 xdef seikenou@\1
 ENDM

4

si tu me dis qu'il faut commencer par 0000, c'est décidé : j'me barre !(private joke)

bon, c bien gentil mais moi je vais encore passer 1 heure à renommer toutes mes exportations de spritessick

ceci dit merci, je vais vraiment apprendre l'asm sérieusement car là je suis vraiment un bouletembarrassed
avatar
納 豆パワー!
I becamed a natto!!!1!one!

5

oui il faut mettre 2 \ pour n'en voir qu'un \ sinon ça marche pas :
avatar
納 豆パワー!
I becamed a natto!!!1!one!

6

Et tu peux aussi eviter de commencer par zero si tu le souhaites.

7

Pour cela, ajoute
 EXPORT 0000
 EXPORT 0001
 EXPORT 0002
 EXPORT 0003
 EXPORT 0004
 EXPORT 0005
 EXPORT 0006
 EXPORT 0007
 

8

youpie ! merci !
avatar
納 豆パワー!
I becamed a natto!!!1!one!

9

Ca y'est
J'ai change read_only pour compiler avec makeprgm (qui file quand meme des messages d'erreur plus explicites).
Et remplacer les bins par graphlib.9xz histoire de compiler:
_library        xdef    _library
_ti92plus       xdef    _ti92plus
;_flag_3         xdef    _flag_3         ; Ou
_readonly  xdef    _readonly
_version01      xdef    _version01      ; Version 01
EXPORT  MACRO
seikenou@\1 xdef seikenou@\1
 ENDM
 EXPORT 0000
 EXPORT 0001
 EXPORT 0002
 EXPORT 0003
 EXPORT 0004
 EXPORT 0005
 EXPORT 0006
 EXPORT 0007
 
 EXPORT 0008
 incbin "graphlib.9xz"
 EXPORT 0009
 incbin "graphlib.9xz"
 EXPORT 000A
 incbin "graphlib.9xz"
 EXPORT 000B
 incbin "graphlib.9xz"

 EXPORT 000C
 EXPORT 000D
 EXPORT 000E

 EXPORT 000F
 incbin "graphlib.9xz"
 EXPORT 0010
 incbin "graphlib.9xz"
 EXPORT  0011
 incbin "graphlib.9xz"
 EXPORT  0012
 incbin "graphlib.9xz"

 EXPORT 0013
 EXPORT 0014
 EXPORT 0015
 
 EXPORT  0016
 incbin "graphlib.9xz"
 EXPORT  0017
 incbin "graphlib.9xz"
 EXPORT  0018
 incbin "graphlib.9xz"
 EXPORT  0019
 incbin "graphlib.9xz"
 EXPORT  001A
 incbin "graphlib.9xz"
 EXPORT  001B
 incbin "graphlib.9xz"
 EXPORT  001C
 incbin "graphlib.9xz"

 EXPORT 001D

 EXPORT  001E
 incbin "graphlib.9xz"
 EXPORT  001F
 incbin "graphlib.9xz"

 EXPORT 0020
 EXPORT 0021
 EXPORT 0022
 EXPORT 0023
 EXPORT 0024
 EXPORT 0025
 EXPORT 0026
 EXPORT 0027
 
 EXPORT  0028
 incbin "graphlib.9xz"
 EXPORT  0029
 incbin "graphlib.9xz"
 EXPORT  002A
 incbin "graphlib.9xz"
 EXPORT  002B
 incbin "graphlib.9xz"
 
 EXPORT 002C
 EXPORT 002D
 EXPORT 002E
 
 EXPORT  002F
 incbin "graphlib.9xz"
 EXPORT  0030
 incbin "graphlib.9xz"
 EXPORT  0031
 incbin "graphlib.9xz"
 EXPORT  0032
 incbin "graphlib.9xz"
 
 EXPORT 0033
 EXPORT 0034
 EXPORT 0035
 
 EXPORT  0036
 incbin "graphlib.9xz"
 EXPORT  0037
 incbin "graphlib.9xz"
 EXPORT  0038
 incbin "graphlib.9xz"
 EXPORT  0039
 incbin "graphlib.9xz"
 EXPORT  003A
 incbin "graphlib.9xz"
 EXPORT  003B
 incbin "graphlib.9xz"
 EXPORT  003C
 incbin "graphlib.9xz"
 EXPORT  003D
 incbin "graphlib.9xz"
 EXPORT  003E
 incbin "graphlib.9xz"
 EXPORT  003F
 incbin "graphlib.9xz"
 EXPORT  0040
 incbin "graphlib.9xz"
 EXPORT  0041
 incbin "graphlib.9xz"
 EXPORT  0042
 incbin "graphlib.9xz"
 EXPORT  0043
 incbin "graphlib.9xz"
 EXPORT  0044
 incbin "graphlib.9xz"
 EXPORT  0045
 incbin "graphlib.9xz"
 EXPORT  0046
 incbin "graphlib.9xz"
 EXPORT  0047
 incbin "graphlib.9xz"
 
 EXPORT 0048
 EXPORT 0049
 EXPORT 004A
 
 EXPORT  004B
 incbin "graphlib.9xz"
 EXPORT 004C
 incbin "graphlib.9xz"
 EXPORT  004D
 incbin "graphlib.9xz"
 EXPORT  004E
 incbin "graphlib.9xz"

 EXPORT 004F
 EXPORT 0050
 EXPORT 0051
 EXPORT 0052
 EXPORT 0053
 EXPORT 0054
 EXPORT 0055
 EXPORT 0056
 EXPORT 0057
 EXPORT 0058
 
 EXPORT  0059
 incbin "graphlib.9xz"

 EXPORT 005A
 
 EXPORT  005B
 incbin "graphlib.9xz"

 EXPORT 005C
 
 EXPORT  005D
 incbin "graphlib.9xz"
 end


10

T'es vraiment lourd. Tu aurais pas pu faire ca a la suite ?

11

rotfl fallait le dire !! j'ai sur moi une source où ttes les definitions sont deja faites grin
avatar
納 豆パワー!
I becamed a natto!!!1!one!

12

smile

13

ça ete rapide pour moi : juste enlever les ";" des lignes en commentaires tonguetongue
avatar
納 豆パワー!
I becamed a natto!!!1!one!

14

mad

15

Pauvre PpHd sad

16

sick

17

mais tu ecris vite, je suis impressionnégrin
avatar
納 豆パワー!
I becamed a natto!!!1!one!

18

Bof je n'ecris pas si vite que ca.

19

excuse moi, tu copies/colles vite alors gringringrin
avatar
納 豆パワー!
I becamed a natto!!!1!one!

20

Pas tant que ca non plus.

21

Ne linkez pas vos librairies dynamiques avec MakePrgm! Si on essaye de lancer une libraire comme si c'était un programme, si la librairie a été linkée avec MakePrgm, il y a juste "Done", tandis que si elle a été linkée avec Obj2ti, il y a un message d'erreur clair: "Libraries are not executable." Donc ça me fait rire de lire "J'ai change read_only pour compiler avec makeprgm (qui file quand meme des messages d'erreur plus explicites)." C'est très explicite comme message d'erreur: "Done." rotfl
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

22

wink
avatar
Un site complet sur lequel vous trouverez des programmes et des jeux pour votre calculatrice TI 89 / Titanium / 92+ / Voyage 200 : www.ti-fr.com.
Quelques idées personnelles ici.

23

kevin> roll, c'est en effet TRES important que ce message d'erreur apparaisse en effet !
avatar
納 豆パワー!
I becamed a natto!!!1!one!

24

Kevin>pas d'accord... une lib peut très bien être exécutable...
il suffit de rajouter en plus de xdef _libraby un xdef _main, et tu pe l'exécuter... makeprgm est mieux, c nul de donner ce message d'erreur...
In many respects the Yoshi is like a beautiful woman. A man can come so enamoured that he bestows on her all his time, his energy and his fortune.
- Fred whipple, 1960

*** Ne sous-estimez pas la puissance de la Marmotte ***
© Marmotte Team : LaMarmotte, sBibi, Vark & Sabrina

25

Non, on ne peut pas mettre xdef _library et xdef _main dans le même programme avec un linker qui fonctionne correctement. _library veut justement dire qu'il n'y a pas de _main! Ce qu'on peut faire, c'est de ne mettre que _main (et pas _library) et d'exporter des trucs. (Oui, un programme en mode kernel peut aussi exporter des fonctions et/ou des variables.)
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

26

oups dsl g pas écris ce ke je voulais dire...

xdef _main
xdef machin@0000
xdef machin@0001
etc...

dsl grin
bah de tte façons ça apporte rien d'afficher "libraries are not executable"...
In many respects the Yoshi is like a beautiful woman. A man can come so enamoured that he bestows on her all his time, his energy and his fortune.
- Fred whipple, 1960

*** Ne sous-estimez pas la puissance de la Marmotte ***
© Marmotte Team : LaMarmotte, sBibi, Vark & Sabrina

27

Si, ça apporte que l'utilisateur comprend pourquoi le programme ne marche pas.

Même chose pour le message d'erreur "Kernel needed." si on essaye d'exécuter un programme pour kernel sans kernel. Là aussi, MakePrgm marque juste "Done.", et c'est la faute de MakePrgm et des anciens linkers qui faisaient de même qu'on a toutes ces questions des newbies "Pourquoi le programme ne marche-t-il pas? Il me met juste 'Done'." Obj2ti met un message d'erreur clair: "Kernel needed."
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

28

Je parlais des messages d'erreur que done makeprgm lorsqu'il rencontre une erreur dans le fichier objet.
Il donne de vrai renseignements suceptibles d'aider a resoudre le probleme.