Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions bold.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
ml /nologo /c /coff /Cp /Id:\masm32\include trpad.asm

link trpad.obj ^
/OUT:trpad.exe ^
/NODEFAULTLIB ^
/RELEASE ^
/FIXED ^
/DYNAMICBASE:NO ^
/MERGE:.rdata=.text ^
/SUBSYSTEM:WINDOWS ^
/ENTRY:MainEntry ^
/SAFESEH:NO ^
kernel32.lib user32.lib shell32.lib comdlg32.lib gdi32.lib shlwapi.lib

del trpad.obj
6 changes: 4 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ml /nologo /c /coff /Cp /IC:\masm32\include trpad.asm
ml /nologo /c /coff /Cp /Id:\masm32\include trpad.asm

crinkler trpad.obj ^
/OUT:trpad.exe ^
Expand All @@ -7,7 +7,9 @@ crinkler trpad.obj ^
/NOINITIALIZERS ^
/TINYIMPORT ^
/ORDERTRIES:2000 ^
/NODEFAULTLIB /UNALIGNCODE /TRANSFORM:CALLS ^
/UNSAFEIMPORT ^
/LIBPATH:"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.20348.0\um\x86" ^
kernel32.lib user32.lib shell32.lib comdlg32.lib gdi32.lib
kernel32.lib user32.lib shell32.lib comdlg32.lib gdi32.lib shlwapi.lib

del trpad.obj
Loading