Hi!
I tried to make a program which runs under DOS (its a console program), but in DOS it says "This Program cannot be run under DOS", although it is a console version.
I compiled that way:
ml /c /coff /Cp test.asm
link /subsystem:console test.obj
So where is my fault?
I tried to make a program which runs under DOS (its a console program), but in DOS it says "This Program cannot be run under DOS", although it is a console version.
I compiled that way:
ml /c /coff /Cp test.asm
link /subsystem:console test.obj
So where is my fault?
So where is my fault?
Your fault is that you didnt search :P
http://www.asmcommunity.net/board/index.php?topic=8387&highlight=masm+dos
http://www.asmcommunity.net/board/index.php?topic=7126&highlight=masm+dos
http://www.asmcommunity.net/board/index.php?topic=3772&highlight=masm+dos
ChigpA,
You have to use a 16-bit linker to make real-mode DOS programs.
From Iczelion's homepage:
http://spiff.tripnet.se/~iczelion/files/Lnk563.exe
Regards,
Vortex
You have to use a 16-bit linker to make real-mode DOS programs.
From Iczelion's homepage:
http://spiff.tripnet.se/~iczelion/files/Lnk563.exe
Regards,
Vortex