On Sat, Jun 26, 2004 at 12:42:14PM +0400, Arkady V.Belousov wrote:
> Hi!
>
>      I found the difference between FD-DEBUG and MS-DEBUG:

Thank you very much for the additional information.  However, there's one
bit of information missing.  I assume that your analysis was all done doing
things such as:

        C:\> debug
        -a
        1234:100 int 20
        1234:102
        -g

as opposed to

        C:\> debug program.com
        -g

or

        C:\> debug
        -n program.com
        -l
        -g

(these latter two amount to the same thing).

Basically, when you run debug without loading a program (as in the first
snippet), you're asking the O/S to do something that doesn't make sense,
since you're asking it to terminate a program when DEBUG isn't debugging
any program.  So MS-DEBUG's behavior makes sense, but it may leave DOS
in an unstable state.

The correct way to run a program several times within one DEBUG session
is:

        C:\> debug program.com
        -g
        ...
        Program terminated normally
        -l
        -g
        ..., etc.

-- 
Paul Vojta, [EMAIL PROTECTED]


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to