Problem with displaying on DOS prompt

Started by sam, October 04, 2010, 07:01:41 AM

Previous topic - Next topic

sam

Dear All,

I'm facing a problem while displaying values on DOS prompt. I tried all sample programs made available with MASM. It assembles, links and executes fine but  doesn't display any message. I would also request for few sumple 80386 programs. Please help.

Regards,
SAM.

jj2007

Check my tips & tricks, "Console app trap". Reasons might be that you don't have an inkey at the end, or that you use subsystem Windows instead of subsystem console.

Magnum

Quote from: sam on October 04, 2010, 07:01:41 AM
Dear All,

I'm facing a problem while displaying values on DOS prompt. I tried all sample programs made available with MASM. It assembles, links and executes fine but  doesn't display any message. I would also request for few sumple 80386 programs. Please help.

Regards,
SAM.

Are you looking for 16-bit code examples?

Andy
Have a great day,
                         Andy

Antariy

Quote from: sam on October 04, 2010, 07:01:41 AM
Dear All,

I'm facing a problem while displaying values on DOS prompt. I tried all sample programs made available with MASM. It assembles, links and executes fine but  doesn't display any message. I would also request for few sumple 80386 programs. Please help.

Regards,
SAM.

Do you used console subsystem? I.e., when linking, need to use /SUBSYSTEM:CONSOLE in command line of LINK.EXE. Or in QEDITor - "Project->Console Assemble and Link".

This is if you wants to test console apps, but nothing is shown.

Edited: I see what this is sayed by Jochen already, but anyway.



Alex