Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>10 can't reach target</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
10 Can't reach target


   A 16 bit address is being used while the target object is more than
   64K bytes away from the frame when referenced from the named module
   (or an 8 bit address is used with a distance greater than 256
   bytes).  The target, therefore, cannot be accessed as desired.  The
   address actually used will be "wrapped around" to fit into the
   required offset size.  If there is a group larger than 64K, it will
   have to be made smaller for this access to be made correctly.

   Solution: Check the ordering of the FILE, LIBS, and the overlay
   structure in the .LNK file.  Place the FILE command first, then the
   LIBRARY (or SEARCH) command, and THEN the overlay structure (BEGIN
   SECTION END commands).

   Note: Do not place LIBRARY or SEARCH after the first BEGIN
   command unless you want all the library code at that point in your
   overlay structure.

   Also when using assembler make sure that any externals are declared
   outside of the segment definitions.

   When using large model and mixing assembler, segment names should be
   unique.  PLINK86-Plus will check like named segments to be sure that
   they are within 64K of each other.  If they are not this warning is
   given.  If this is the reason for the warnings the code will run, but
   to eliminate the warnings just rename the segments so each is unique.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson