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>/c create com file</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
/c                      Create COM file
---------------------------------------------------------------------------------

 Syntax:

 WARPLINK /c 

 Description:

 Most linkers /c command option generate only .EXE files. WarpLink
 generates .EXE files by default.  However, assemblers  and  some
 compilers, let you create .COM files as well. Using the /c option
 directs WarpLink to create a .COM file directly.

 Technical notes:

 You can't just  create a .COM file at will. The compiler or  assembler
 that generated the .OBJ file determines whether it will be a .COM  or
 .EXE file. When in doubt, assume .EXE.

 stack segment On the other hand, if you omit the /c option on a file
 that should have been linked as a .COM file, you'll get  this warning:

 Problem:

 No stack segment was found for the EXE file.

 Solution:

 This is possibly an error in your program. A  .EXE file, unlike a .COM
 file, must internally set up its own stack if it  has no stack segment
 To create a .COM file, use the /c option of WarpLink.


 You can't use overlays in a .COM file.

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

 Create the file SHOWVOL.COM from the .OBJ file SHOWVOLC.OBJ

 warplink  /c  showvolc,showvol


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