Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Warplink version 2.6 - <b>/oc:[.]<name> overlay class name</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
/oc:[.]<name>           Overlay class name
---------------------------------------------------------------------------------

 Syntax:

 Name is the name of the code class to be overlaid.  Use a leading period
 . to specify an exact match of the name.

 Description:

 Most programming languages assign a class name to the program segments
 that they create.  Classes are useful because linkers use them to 
 determine segment order. All segments of a particular class are grouped
 together in a program.  Keeping all initialized data in one area of the
 program allows easier references to all the data and helps to keep .EXE
 file size and program memory use to a minimum.  Typical class names are
 CODE, DATA, BSS, and STACK.

 Usually, a language compiler or assembler generates class names 
 automatically, although some languages allow the user to select a
 different class name.

 By default, WarpLink uses the class name CODE for overlaid code.  You can
 use the /oc option to change the overlay class name should your program's 
 object and library modules use a different class name.  Follow the /oc: 
 with the name of the class that your program uses for code segments which
 you wish to overlay.  Any segment in an overlaid module which has a suffix
 of the name specified in the /oc option will be overlaid.  If you wish to
 force an exact match on the name, rather than just a suffix, place a
 period (.) immediately before the name.

 Do not use /oc without good reason and an understanding of the implications
 within your program. The default setting should be maintained in almost all
 cases.

----------------------------------[ Example ]------------------------------------

 You wish to overlay two or more code segments of classes MY_PROG and 
 YOUR_PROG in overlaid object or library modules.  Specify  /OC:PROG 
 on the WarpLink command line.

 You have two or more segments as described in the example above, but
 you wish to overlay code segments of class MY_PROG only.  Specify
 /OC:.MY_PROG on the WarpLink command line.

 Technical Note:

 Do not use multiple overlay class names.  The last overlay class name
 specified will be used by WarpLink.

 Clarion User Note:

 Do not use the /oc option with  Clarion programs.  Although Clarion programs
 use a code class name of CLARION rather than CODE, the /cla option instructs
 WarpLink to automatically handle this class name difference.


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