The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: amrac on December 28, 2009, 06:41:41 PM

Title: Debugging the program
Post by: amrac on December 28, 2009, 06:41:41 PM
Í'm debugging a program with Masm 5.1 and I know that there is a way to change from debugging mode to graphic mode while I am still debugging. How can I do that?
Title: Re: Debugging the program
Post by: dedndave on December 28, 2009, 07:55:35 PM
lordy - it has been years since i played with CodeView, but i think that is what you are talking about
for 16-bit code, i found that Symdeb was much easier to use
Title: Re: Debugging the program
Post by: dedndave on December 28, 2009, 08:27:55 PM
give this a try
http://web.sau.edu/lilliskevinm/csci240/masmdocs/
at the bottom of the page is a section named "Environment and Tools"
"Part 2" under that is on CodeView - it looks like 5 PDF files
these may be for the versions of CodeView that came with MASM v 6+, but much of it will apply
Title: Re: Debugging the program
Post by: FORTRANS on December 28, 2009, 11:25:52 PM
Quote from: amrac on December 28, 2009, 06:41:41 PM
Í'm debugging a program with Masm 5.1 and I know that there is a way to change from debugging mode to graphic mode while I am still debugging. How can I do that?

Hello,

   When I am debugging a graphics program, I use another
computer running a terminal program and attached to the
serial port.  On the computer that is going to debug the
program, use the MODE COM1 command to match the
baud rate of the terminal.  Then I use the CTTY
command to redirect the CON device to the COM port.

   Hm, Windows 2000 apparently forgot about CTTY?
Use redirection?

DEBUG Program.EXE <COM1 >COM1

   Another option is to choose a video mode and colors
that allow DEBUG to display its output in a readable
fashion.

Cheers,

Steve N.