hi
can anyone tell me what parameters i need to pass to compile a 16-bit dos app (using link16)
is it something like this ?

c:\masm32\bin\ml /AT /c /coff grr.asm
c:\masm32\bin\link16 grr.obj grr.com

i can't work out which parameters i need to pass to compile a basic small .com file

any help is greatly appreciated
thanks
Posted on 2005-03-23 06:58:50 by someone
Its been about 10 years since I ran a 16 bit link line but you don't have enough arguments. Run LINK /? for the syntax and try it again.
Posted on 2005-03-23 07:13:58 by hutch--
:)
http://217.160.247.193/index.php?topic=15069.msg117135#msg117135
Posted on 2005-03-23 09:33:11 by lingo12
The first thing I would do is replace /coff with /omf because the COFF generated by MASM doesn't support 16-bit. Also, I don't believe the 16-bit linker supports COFF.
Posted on 2005-03-23 17:06:24 by tenkey
ok, thanks everyone, i got it working :)
this is what i used (for those interested)

c:\masm32\bin\ml /AT /c /nologo /Zm grr.asm
c:\masm32\bin\link16 /TINY /nologo grr.obj,grr.com,,,,
pause

thanks again
Posted on 2005-03-24 04:44:50 by someone