Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> blinker executable alignment</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 BLINKER EXECUTABLE ALIGNMENT
------------------------------------------------------------------------------
 Purpose:
 Specify the alignment size for a Windows .EXE file

 Syntax:
 BLINKER EXECUTABLE ALIGNMENT <FileAlign>[,<SecAlign>]

 Default:
 16 bit executables   64 CA-Clipper.
 16 All other languages.
 32 bit executables   512, 4096.

 Description:
 This command specifies the alignment size, and therefore the maximum file
 size, for the new .EXE format files used for DOS extended and Windows
 programs.

 Segments and resources within 16 bit new .EXE files are referenced by 16 bit
 page numbers, which makes 65535 the maximum page number and 1 MB the default
 maximum .EXE size.

 Sections and resources within 32 bit portable .EXE files are aligned to the
 file alignment setting in the .EXE file and to the section alignment setting
 when they are loaded into memory.

 The alignments can be any valid power of 2, but the larger the alignment
 size the larger the possible wasted space between segments or sections.

 Alignment  Max 16 bit .EXE Size
     1           64 Kb
     2          128 Kb
     4          256 Kb
     8          512 Kb
    16            1 Mb
    32            2 Mb
    64            4 Mb
   128            8 Mb

 Example:
 # Change alignment to 8 bytes for small .EXE
 BLINKER EXECUTABLE ALIGNMENT 8

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