85Fermer87
Kevin KoflerLe 24/07/2003 à 18:29
http://www.ticalc.org/archives/mail/assembly-92/1997_August/msg00052.html
Some machinecode instructions adress memory absolutely - like jumps
to a specific location.. If a fargo program is loaded to an adress,
say $12000 - and makes a jump to another position in the program at,
say $12100, it will only work as long as that program is not moved
to another location in memory. And since The TI92 OS does this to
its variables regurlarly, the Fargo core MUST recalculate these
adresses .. so if the TI92 OS moves our program to $11880, Fargo must change the jump instruction so it jumps to $11980 instead.


C'est toujours à peu près valable maintenant, sauf que AMS reloge les programmes _nostub lui-même s'ils utilisent le format de relogement AMS. L'utilisation de formats de relogement personnalisés (format style kernel, format compressé etc.) est possible en _nostub, mais à ce moment, le programme doit se reloger lui-même. Le linker de TIGCC 0.95 permettra d'utiliser le format standard ou les formats personnalisés au choix.