home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l224 / 1.img / MANUAL.ZIP / TLINK.DOC < prev    next >
Encoding:
Text File  |  1990-10-29  |  3.7 KB  |  88 lines

  1.  
  2.                          TLINK: TURBO LINK
  3.                          -----------------
  4.  
  5.  
  6.   Turbo Link (TLINK) is an extremely fast and compact linker; it's invoked
  7.   as a separate program and can also be used as a standalone linker. For 
  8.   instructions on using TLINK as a standalone linker, look in Appendix D
  9.   of the Turbo Assembler Reference Guide. This file contains extra information
  10.   that is not in Appendix D.
  11.  
  12.   /s switch
  13.   ---------
  14.   When a detailed map is requested through use of the /s switch, the list of 
  15.   public symbols (if it appears) has public symbols flagged with "idle" if 
  16.   there are no references to that symbol. For example, this fragment from the 
  17.   public symbol section of a map file indicates that symbols Symbol1 and 
  18.   Symbol3 are not referenced by the image being linked:
  19.  
  20.     0C7F:031E    idle    Symbol1
  21.     0000:3EA2            Symbol2
  22.     0C7F:0320    idle    Symbol3
  23.  
  24.  
  25.   /o switch (overlays)
  26.   --------------------
  27.   The /o option causes the code in all modules or libraries specified after 
  28.   the option to be overlaid. It remains in effect until the next comma 
  29.   (explicit or implicit) or /o- in the command stream. /o- turns off 
  30.   overlaying.
  31.  
  32.   The /o option can be optionally followed by a segment class name; this 
  33.   will cause all segments of that class to be overlaid. When no such name 
  34.   is specified, all segments of classes ending with CODE will be overlaid. 
  35.   Multiple /o options can be given, thus overlaying segments of several 
  36.   classes; all /o options remain in effect until the next comma or /o- 
  37.   is encountered.
  38.  
  39.   The syntax /o#xx, where xx is a two-digit hexadecimal number, overrides 
  40.   the overlay interrupt number, which by default is 3FH.
  41.  
  42.   Here are some examples of /o options:
  43.  
  44.     /o             Overlay all code segments until next comma or /o-.
  45.  
  46.     /o-            Stop overlaying.
  47.  
  48.     /oOVY          Overlay segments of class OVY until the next comma
  49.                    or /o-.
  50.  
  51.     /oCODE /oOVLY  Overlay segments of class CODE or class OVLY until next
  52.                    comma or /o-.
  53.  
  54.     /o#F0          Use interrupt vector 0F0H for overlays.
  55.  
  56.   You can use the /o option in response files. If you use the /o option in a 
  57.   response file, it will be turned off automatically before the libraries are 
  58.   processed. If you want to overlay a library, you must use another /o right 
  59.   before all the libraries or right before the library you want to overlay.
  60.  
  61.  
  62.   /y (expanded or extended memory)
  63.   --------------------------------
  64.   This switch controls TLINK's use of expanded or extended memory for I/O 
  65.   buffering. If, while reading object files or while writing the executable
  66.   file, TLINK needs more memory for active data structures, it will either 
  67.   purge buffers or swap them to expanded or extended memory.
  68.  
  69.   In the case of input file buffering, purging simply means throwing away the
  70.   input buffer so that its space can be used for other data structures. In 
  71.   the case of output file buffering, purging means writing the buffer to its 
  72.   correct place in the executable file. In either case, you can substantially 
  73.   increase the speed of a link by allowing these buffers to be swapped to 
  74.   expanded or extended memory.
  75.  
  76.   TLINK's capacity is not increased by swapping; only its performance is 
  77.   improved. By default, swapping to expanded memory is enabled, while 
  78.   swapping to extended memory is disabled. If swapping is enabled and no 
  79.   appropriate memory exists in which to swap, then swapping does not occur.
  80.  
  81.   This switch has several forms, shown below
  82.  
  83.     /ye   enable expanded memory swapping (default)
  84.     /ye   disable expanded memory swapping
  85.     /yx   enable extended memory swapping
  86.     /yx-  disable extended memory swapping (default)
  87.  
  88.