I would like to use Visual Studio 2008 as much as possible, effectively compiling / linking / building / etc the code, as if all these build processes were performed using the tools provided by MASM 6.11. The exact version of MASM doesnโt matter if it is within the 6.x range, as this is what my college uses to train 16-bit builds.
I did some research on this and came to the conclusion that there are several options:
- Reconfigure VS to invoke MASM 6.11 executable files with the same flags, etc., since MASM 6.11 will do this on its own.
- Create intermediate batch files that VS will invoke to then invoke the appropriate commands for the MASM linker, etc.
- Reconfigure the built-in build tools / VS rules (collector, linker, etc.) to provide an environment identical to the environment used by MASM 6.11.
Option (2) was raised when I realized that the parameters available in the VS "External Tools" interface may not be sufficient for the MASM assembly tools to be called correctly, so a batch file can be useful for interpreting VS strict argument passing methods, as many my knowledge of how to get this working is related to my call to ML.exe, LINK.exe, etc. from the command line.
Below are a few links that may be helpful in answering my question. Please keep in mind that I have read them all, and none of them is a real solution. I can only hope that my MASM 6.11 pointer does not stop anyone from giving a more generalized answer.
A similar method used for Option (2), but users in the stream do not connect:
http://www.codeguru.com/forum/archive/index.php/t-284051.html
(I also have doubts about the need for an intermediate batch file)
Outdated explanation to my question:
http://www.cs.fiu.edu/~downeyt/cop3402/masmaul.html
Probably the closest that I came to the final solution, but relates to a toolbox from something other than MASM, also uses a batch file:
http://www.kipirvine.com/asm/gettingStarted/index.htm#16-bit
I apologize if my terminology for the tools used at each stage of the code โ exe process is disabled, but since I try to reproduce all the steps between completing the writing of the code and creating the executable, I donโt think it matters much.
assembly masm compilation visual-studio-2008 visual-studio
Kreychek
source share