下载dosbox
DOSBox download | SourceForge.net
打开安装即可
下载汇编工具
(debug、edit、link、masm等等)
https://github.com/xDarkLemon/DOSBox_MASM/tree/master
下载完解压即可
新建dosbox工作目录
比如在自己的用户目录下新建dosbox
将解压出来的debug.exe, link.exe,masm.exe, exe2bin.exe 放到 dosbox目录下
配置自动挂载工作目录
找到dosbox的配置文件, 配置自动挂载目录 mac 应该是在这个目录下
sudo vim ~/Library/Preferences/DOSBox\ 0.74-3-3\ Preferences DosBox
在autoexec下添加mount, 挂载自己的dosbox目录
[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
mount c: ~/DosBox