Building COM files with TASM
Originally posted by wasily
I'm using tasm and I'm still writing dos code, so i'd like to use tlink.exe instead of tlink32.exe which is always used whenever I try to link my .obj ... how can I tell RADasm to use tlink.exe?
Answer from cakmak
for .com files...
if you dont care .txt file type, in your last project file (.rap)
1=4,O,$B\brcc32.exe -r -i"$I" -v,1
2=3,O,$B\tasm32.EXE /I"$I" $2
3=8,C,$B\tlink.exe /t $3 ; << notice "8" and without "," or "$"
8=aaa.com ; << here is yours
The same thing for .exe. Notice commandline parser. And i suggest you create a .pif file for tlink.exe, this is better.