体育竞技
dosbox0.74(dosbox模拟器)
5小时前类别:体育竞技
- 发布日期:2025-07-11 17:15:44
- 所属类别:体育竞技
- 下载人数:4610
- 版本:
- 大小:
扫二维码手机浏览
dosbox0.74(dosbox模拟器)介绍
dosbox0.74安装教程
在64位环境下,使用debug确实不行,那只有借助DOSBOX让它变成现实了。前
几次在搜索中看到了dosbox的教程,但是写的简单,有的问题没有涉及到,这里我补充一下。
首先下载dosbox0.74,另外下载masm.exe debug.exe link.exe edit.exe四个文件,以下是云连接:若是失效请自行哦:
工具/材料
dosbox0.74
masm.exe edit.exe link.exe debug.exe
64位机器,32位请忽略此教程==
操作方法
首先安装dosbox0.74
02运行dosbox,事先在X(我的事I盘)盘建立一个文件夹,把masm.exe edit.exe link.exe debug.exe放入其中.
03在dosbox虚拟环境下把你的文件夹设置为虚拟C盘
04截至目前可以使用汇编了,键入debug进入调试界面,edit编辑几面
dosbox 0.74为什么突然就没有声音了呢
配置文件变化了吗?尝试卸载后重新安装。
可以检查配置文件默认的配置文件是: dosbox安装目录下的 dosbox.conf
用文本编辑器打开调整如下的地方
[mixer]
# nosound-- Enable silent mode, sound is still emulated though.
# rate-- Mixer sample rate, setting any devices higher than this will
# probably lower their sound quality.
# blocksize-- Mixer block size, larger blocks might help sound stuttering
# but sound will also be more lagged.
# prebuffer-- How many milliseconds of data to keep on top of the blocksize.
nosound=false
rate=22050
blocksize=2048
prebuffer=10
[midi]
# mpu401-- Type of MPU-401 to emulate: none, uart or intelligent.
# device-- Device that will receive the MIDI data from MPU-401.
# This can be default,alsa,oss,win32,coreaudio,none.
# config-- Special configuration options for the device. In Windows put
# the id of the device you want to use. See README for details.
mpu401=intelligent
device=default
config=
[sblaster]
# sbtype-- Type of sblaster to emulate:none,sb1,sb2,sbpro1,sbpro2,sb16.
# sbbase,irq,dma,hdma-- The IO/IRQ/DMA/High DMA address of the soundblaster.
# mixer-- Allow the soundblaster mixer to modify the DOSBox mixer.
# oplmode-- Type of OPL emulation: auto,cms,opl2,dualopl2,opl3.
# On auto the mode is determined by sblaster type.
# All OPL modes are'Adlib', except for CMS.
# oplrate-- Sample rate of OPL music emulation.
sbtype=sb16
sbbase=220
irq=7
dma=1
hdma=5
mixer=true
oplmode=auto
oplrate=22050
最后这几行, 220 7 1这些在 dos游戏的配置页面里应该有选项,要和这里的配置对应
如果dosbox和媒体播放器都没声音,那么就别找dosbox的毛病,检查一下自己的声卡音响等等设备。
如何在win10环境下搭载Dosbox-0.74以及debug运行调试
在WIN10环境下搭载DOS-BOX0.74并进行调试的方法如下:
首先,从链接pan.baidu.com/s/1WumH68...下载DOSBox 0.74,并将文件默认安装在C盘中。在安装目录找到名为“DOSBox 0.74 Options.bat”的批处理文件并双击打开。系统会自动用记事本打开dosbox-0.74.conf配置文件,在文件结尾处添加两行代码:将D:\ASM目录挂载为DOSBOX下的C盘,同时将D:\ASM添加至系统环境变量PATH中。感谢CSDN大神Wuchangl的指导。
接着,在D盘创建一个名为ASM的新文件夹。从链接pan.baidu.com/s/1Xeit7p...下载MASM,并将其放入刚创建的ASM文件夹中。将编写好的汇编程序(使用记事本编写,并将文件扩展名更改为.asm)放入ASM文件夹中,确保之后的程序均按照此步骤操作。
启动安装好的DOSBox。输入命令c:进入C盘,接着输入masm ceshi,并持续按回车键,直到程序加载完成。然后输入link ceshi,回车执行链接命令。接着输入debug ceshi.exe,回车进入调试模式。最后输入g,若显示program terminated normally!则表明调试成功,程序运行无误。
版权说明:如非注明,本站文章均为皮努努下载原创,转载请注明出处和附带本文链接;
相关推荐
- 排行榜