Miscellaneous > 16 bit DOS Programming

Debugger?

(1/3) > >>

FORTRANS:
   Okay, problem statement:  I am trying to debug a DOS program
that has 32-bit opcodes (or instructions).  MS-DOS DEBUG.EXE does
not support 32-bit opcodes.

   I googled to find a DOS compatible debugger that does support
them.  I found several hits that looked similar, called DEBUGX.
However the one that I chose does not work for me.

   From README.TXT.

= = =
 5. Copyright

    This program is copyrighted, but feel free to use it as you wish.
    For full copyright conditions, see the file debug.asm.

    Paul Vojta (1995-2003)
    Andreas Grech (2006-2011)
    Vernon Brooks (2013-2016)
= = =

   From HISTORY.TXT.

= = =
1.32b [14 May 2016]
= = =

   From DEBUG.TXT.

= = =
DEBUG scripts
-------------
Because DEBUG uses the standard input and output devices, and because
these devices can be redirected, DEBUG can be made to input from
and/or output to a text file. This makes it possible to place DEBUG
commands and statements in a text file, a so-called DEBUG script, and
submit the file to DEBUG for processing.
= = =

   However it does not supply the redirected input to the program
being debugged.  So I cannot debug a program that gets its input from
the standard input.

   An example of what I tried in in PROBLEM0.TXT.  The files used and
created are PUZZLE1A.TXT, OUT1A.TXT, PUZZLE2A.TXT, and OUT2A.TXT.

   Any help or suggestions from any of you?

Regards,

Steve N.

Shintaro:
Mate,
Have you tried CodeView?

MSC 7.0 has CV (CodeView) 4.01 HERE.

MSVC++ 1.52 has CV 4.10 HERE. I *think* this is the version you need, it can compile 386 code. I'm sorry I can't confirm, I have an assignment due.

Just so you know, apologies if you already know.
MSVC++ 1.52 was the last version to be able to compile 16 bit code. MSVC 4.0 included MSVC 1.52, then MSVC 4.2 dropped 16bit compiles.Currently, I am leaning towards compiling 16bit code on Windows NT (3.51/4.0), it seems a bit more stable. I need to do a lot more testing though.

Hope this helps.

_japheth:

--- Quote from: FORTRANS on October 20, 2022, 01:51:33 AM ---    Paul Vojta (1995-2003)
    Andreas Grech (2006-2011)
    Vernon Brooks (2013-2016)

--- End quote ---

I once was happy that Vernon Brooks took over maintenance, but he changed the license so his version cannot be distributed with FreeDos anymore.
So I'm again the maintainer...


--- Quote ---An example of what I tried in in PROBLEM0.TXT.  The files used and
created are PUZZLE1A.TXT, OUT1A.TXT, PUZZLE2A.TXT, and OUT2A.TXT.

--- End quote ---

The problem might be easy to fix. However, you should provide a full test case. In your zip file, soduko.com is missing.

FORTRANS:
Hi,


--- Quote from: _japheth on October 20, 2022, 06:40:43 PM ---
--- Quote from: FORTRANS on October 20, 2022, 01:51:33 AM ---    Paul Vojta (1995-2003)
    Andreas Grech (2006-2011)
    Vernon Brooks (2013-2016)

--- End quote ---

I once was happy that Vernon Brooks took over maintenance, but he changed the license so his version cannot be distributed with FreeDos anymore.
So I'm again the maintainer...


--- End quote ---
   Good to know.  I thought you might be involved.
--- Quote ---

--- Quote ---An example of what I tried in in PROBLEM0.TXT.  The files used and
created are PUZZLE1A.TXT, OUT1A.TXT, PUZZLE2A.TXT, and OUT2A.TXT.

--- End quote ---

The problem might be easy to fix. However, you should provide a full test case. In your zip file, soduko.com is missing.

--- End quote ---

   Attached.  After communicating with zedd151, this is my attempt to convert
to MASM a Sudoku solver posted on usenet, sudo.com, that was partially
disassembled.  So it is a non-working version of that program.

   Thank you for responding.

Regards,

Steve N.

FORTRANS:
Hi,


--- Quote from: Shintaro on October 20, 2022, 10:52:25 AM ---Mate,
Have you tried CodeView?
--- End quote ---

   No.  I did remember that it might solve my problem.  I made a cursory
search for an old version, but did not find anything useful.  So thank you
for the following links. 


--- Quote ---MSC 7.0 has CV (CodeView) 4.01 HERE.

MSVC++ 1.52 has CV 4.10 HERE. I *think* this is the version you need, it can compile 386 code. I'm sorry I can't confirm, I have an assignment due.

Just so you know, apologies if you already know.
MSVC++ 1.52 was the last version to be able to compile 16 bit code. MSVC 4.0 included MSVC 1.52, then MSVC 4.2 dropped 16bit compiles.Currently, I am leaning towards compiling 16bit code on Windows NT (3.51/4.0), it seems a bit more stable. I need to do a lot more testing though.

Hope this helps.
--- End quote ---

   It might.  When CodeView first came out I could not use it.  I do
not remember why.  As I do not use C, it might not have been easily
available.  I think they charged for it when it was first introduced?
Or I might have disliked using it.  Or it could have been something
completely different.  At any rate I will have a look at it now.

Regards,

Steve N.

Navigation

[0] Message Index

[#] Next page

Go to full version