[LANGUAGE english; PAGE 6] [C;6;B] The special hunk names [J;1;N] To enable lk to link properly any kind of program, \ special hunk names may be used. You have to be careful \ when you use those name, while they are specific to lk. [INDENT 2] BSS This is the default name for a hunk of type BSS. \ You should use this name, except if you want specific \ hunks of BSS (Hunks to be loaded in CHIP memory for \ instance.) DATA This is the default name for a hunk of type DATA. \ You should use this name, except if you want specific \ hunks of data (Hunks to be loaded in CHIP memory for \ instance.) BSS hunks should not be called DATA, while they \ can not be linked with DATA hunks. ENTRYHUNK or NTRYHUNK or _ENTRYHUNK This name is useful to define the very first hunk \ of a program (The second name is implemented to accept \ Blink/Slink special hunk.) This hunk must be of type \ code and have to be a valid startup. With this hunk, you should not use the instruction \ STARTUP. Anyway the STARTUP label override this hunk. MERGE or MERGED _MERGE or _MERGED __MERGE or __MERGED Only DATA and BSS hunks can receive that name and \ all of them will automatically be linked together, even \ ONEDATA is unused. Note that the option XDATA is still \ needed and recommended. Hunks of DATA or BSS with one of \ those names which are present into an overlay hunk will \ automatically be extracted from the overlay hunk. Do not \ forget that when a FRAG??? instruction has been used, no \ merge is effective for the specified types. This name is used by Blink and Slink to force relative \ hunks to be linked together. lk does not need that extra \ information and is intelligent enough to know when that \ kind of hunks have to be linked together. The number of underscore defines a new set of merged \ block. Note: A hunk of code with that name will generate \ a warning, and will not be linked with data hunks by any \ means. NOMERGE or NOMERGED or _NOMERGE or _NOMERGED Any hunk may have this name. This way it can not \ be merged with another hunk. This is useful to create \ a hunk that has to be freed or when a linked list is \ necessary. This is used for the background task \ startup code. OVERLAYENTRY This defines the overlay handler. This hunk must \ be of type code and be a valid overlay startup, thus \ have the overlay magic long word $0000ABCD and the \ following null pointers (4) for the overlay table, \ file stream and more. This hunk will call one of the following function. \ The order is important is that it's check into that \ given order: 1. '_ovl_root' (May not exist) 2. function defined with STARTUP instruction 3. first function of ENTRYHUNK hunk 4. the first hunk of CODE RDATA This is the default name for a hunk of type DATA \ used with read only operation. This might be used to \ automatically protect the program when loaded with the \ special MMU loader of lk. Note: this loader is not actually available. TEXT This is the default name for a hunk of type CODE. \ When the first given hunk is not of type CODE, lk will \ search the first hunk named TEXT and moved it at start. [INDENT] See also: [L;3][LINK frag] FRAGBSS [LINK frag] FRAGCODE [LINK frag] FRAGDATA [LINK onedata] ONEDATA [LINK overlay] OVERLAY [LINK startup] STARTUP [5; LINK about; GOTO address] Become Registred [LANGUAGE français] [C;6;B] Les noms de hunks spéciaux [J;1;N] Pour permettre à lk de lier proprement tous les types \ de programmes, des noms spéciaux de hunks peuvent être \ utilisés. Vous devez néanmoins faire attention quand à \ leur utilisation, car ils se trouvent être spécific à \ lk. [INDENT 2] BSS Ceci est le nom par défaut pour un hunk de type BSS. \ Vous devriez utiliser ce nom, sauf quand vous désirez \ créer un hunk de data spécifique (Hunk devant être chargé \ en mémoire CHIP par exemple). DATA Ceci est le nom par défaut pour un hunk de type DATA. \ Vous devriez utiliser ce nom, sauf quand vous désirez \ créer un hunk de data spécifique (Hunk devant être chargé \ en mémoire CHIP par exemple). Les hunks de BSS ne devraient jamais s'appeler DATA, \ du fait qu'ils ne peuvent pas être liées avec les hunks \ de type DATA. ENTRYHUNK ou NTRYHUNK Ce nom est particulierement utile pour définir le tout \ premier hunk d'un programme (Le deuxième nom est implémenté \ pour accepter ce hunk spécial de Blink/Slink). Ce hunk doit \ être de type code est doit nécessairement être un démarrage \ valide. Si ce hunk existe, vous ne devriez pas utiliser \ l'instruction STARTUP. De toute façon l'étiquette STARTUP \ est utilisée par défault. MERGE ou MERGED _MERGE ou _MERGED __MERGE ou __MERGED Seuls les hunks de type DATA et BSS peuvent recevoir \ ce nom et tous seront automatiquement liés entre eux, même \ lorsque ONEDATA est inutilisé. Notez que l'option XDATA \ n'est pas nécessaire mais recommendée. Les hunks étant dans \ des hunks d'overlay en seront automatiquement extractés. \ N'oubliez pas que lorsqu'une des instructions FRAG??? est \ utilisée, aucun lien n'est généré pour le(s) type(s) donné(s). Ce nom est utilisé par Blink et Slink pour forcer les \ hunks relatifs à être liés ensemble. lk n'a absolument pas \ besoin de cet artifice pour lier ce genre de hunks emsemble. Le nombre de signe '_' définis un nouveau group de \ block liés ensemble. Note: Un hunk de code nommé avec l'un de ces noms \ générera un warning et ne sera en aucun cas lié avec les \ hunks de données. OVERLAYENTRY Ceci définis le hanlder d'overlay. Ce hunk doit \ être de type code et doit être un début de programme \ d'overlay valide, c'est à dire avoir le long mot \ magic $0000ABCD et être suivis des quatre pointers \ null utilent pour la table des overlay, du pointer de \ fichier et autre... Ce hunk appelera une des fonctions suivantes: \ (L'ordre est particulièrement important). 1. '_ovl_root' (Peut ne pas exister) 2. fonction définie avec l'instruction STARTUP 3. première fonction du hunk ENTRYHUNK 4. le premier hunk de type code RDATA Nom par défaut des hunks de type DATA devant être \ protègés contre l'écriture. Ceci pourra être utilisé \ par automatiquement protèger le programme quand il est \ chargé avec le chargeur spécial MMU de lk. Note: ce charge n'est pas encore disponible. TEXT Ceci est le nom par défaut des hunks de type CODE. \ Quand le premier hunk donné n'est pas de type code, \ un hunk nommé TEXT est recherché et déplacé au début. [INDENT] Voir: [L;3][LINK frag] FRAGBSS [LINK frag] FRAGCODE [LINK frag] FRAGDATA [LINK onedata] ONEDATA [LINK overlay] OVERLAY [LINK startup] STARTUP [5; LINK about; GOTO address] Être Enregistré