-
Notifications
You must be signed in to change notification settings - Fork 60
/
make16_vs2012.bat
38 lines (30 loc) · 1.14 KB
/
make16_vs2012.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
REM make16_vs2012.bat
REM Updated 2/24/2013, for Visual Studio 2012
REM By: Kip R. Irvine
REM Assembles and links the current 16-bit ASM program.
REM Assumes you have installed Microsoft Visual Studio 2012
REM or Visual Studio 2012 Express.
REM
REM Command-line options (unless otherwise noted, they are case-sensitive):
REM
REM -Cp Enforce case-sensitivity for all identifiers
REM -Zi Include source code line information for debugging
REM -Fl Generate a listing file
REM /CODEVIEW Generate CodeView debugging information (linker)
REM %1.asm The name of the source file, passed on the command line
REM ************* The following lines can be customized:
SET MASM="C:\Program Files\Microsoft Visual Studio 11.0\VC\bin\"
SET INCLUDE=C:\Irvine
SET LIB=C:\Irvine
REM **************************** End of customized lines
REM Invoke ML.EXE (the assembler):
%MASM%ML /nologo -c -omf -Fl -Zi %1.asm
if errorlevel 1 goto terminate
REM Run the 16-bit linker, modified for Visual Studio.Net:
c:\Irvine\LINK16 %1,,NUL,Irvine16 /CODEVIEW;
if errorlevel 1 goto terminate
REM Display all files related to this program:
DIR %1.*
:terminate
pause