简体   繁体   English

我如何从 Windows 64x 运行调试命令

[英]how can i run the debug command from windows 64x

I need to use the debug command in Windows 64x for learning purposes.我需要在 Windows 64x 中使用debug命令进行学习。 When I type the command debug in the cmd, I get the following message:当我在 cmd 中键入命令 debug 时,我收到以下消息:

'debug' is not recognized as an internal or external command, 
 operable program or batch file.

As I understand from some previous posts that debug does not work in 64x systems.正如我从之前的一些帖子中了解到的,调试在 64x 系统中不起作用。 Is there any work around for this issue?这个问题有什么解决办法吗?

EDIT: I am trying to write assembly code for learning.编辑:我正在尝试编写用于学习的汇编代码。 I am not allowed to use any other option for writing assembly code.我不允许使用任何其他选项来编写汇编代码。 I have to use DEBUG.我必须使用调试。

debug.exe is not available in any of the 64 bit windows versions. debug.exe 在任何 64 位 Windows 版本中均不可用。 What are you trying to accomplish?你想达到什么目的? One option for you may be gnu debug - http://www.sourceware.org/gdb/您的一种选择可能是 gnu 调试 - http://www.sourceware.org/gdb/

I know this is an ancient thread, but others might have the same question.我知道这是一个古老的线程,但其他人可能有同样的问题。

In general to use legacy software, the CLEANEST way to do it is to use the build in Hyper-V.一般来说,要使用遗留软件,最干净的方法是使用 Hyper-V 中的构建。 And then have PC-DOS 3.30 (or any suitable 16 or 32 bit OS) on that.然后在其上安装 PC-DOS 3.30(或任何合适的 16 位或 32 位操作系统)。

Make sure to use a DYNAMIC disk (vhdx).确保使用动态磁盘 (vhdx)。 This allows the disk to be mounted in Windows simply by clicking the vhdx (when not in use by Hyper-V - no sharing), so this allows for simple transfers, without complex net-setup.这允许只需单击 vhdx(当 Hyper-V 未使用时 - 无共享)即可在 Windows 中安装磁盘,因此这允许简单的传输,无需复杂的网络设置。

There are other alternatives such as DOSBOX, though to my experience their emulation have some bugs (eg on the ancient FCB-system - older than file-handles)还有其他替代方案,例如 DOSBOX,但根据我的经验,他们的模拟存在一些错误(例如,在古老的 FCB 系统上 - 比文件句柄更旧)

I know it's a very long answer, but I just saw your post now.我知道这是一个很长的答案,但我现在才看到你的帖子。 Use the vDosPlus ( http://www.vdosplus.org/ ) or vDos ( https://www.vdos.info/ ) software to run 16-bit (MS-DOS) programs on Windows 64-bit.使用 vDosPlus ( http://www.vdosplus.org/ ) 或 vDos ( https://www.vdos.info/ ) 软件在 Windows 64 位上运行 16 位 (MS-DOS) 程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM