一、下載安裝bochsios
下載MS-DOS http://files.cnblogs.com/allbymyself/DOS6.22.rarwindows
下載Masm5.0api
二、bochs配置app
1)安裝目錄下的bximage生成.img硬盤映像文件ui
2)配置文件:spa
# configuration file generated by Bochs plugin_ctrl: unmapped=1, biosdev=1, speaker=1, extfpuirq=1, parallel=1, serial=1, gameport=1 config_interface: win32config display_library: win32 memory: host=1024, guest=1024 romimage: file="d:\Program Files\Bochs-2.6.2/BIOS-bochs-latest" vgaromimage: file="d:\Program Files\Bochs-2.6.2/VGABIOS-lgpl-latest" boot: disk floppy_bootsig_check: disabled=0 floppya: type=2_88, 2_88="C:\Documents and Settings\admin\桌面\Masm5.img", status=inserted, write_protected=1 # no floppyb ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14 ata0-master: type=disk, path="D:\Program Files\Bochs-2.6.2\windows.img", mode=flat, cylinders=8322, heads=16, spt=63, model="Generic 1234", biosdetect=auto, translation=auto ata0-slave: type=cdrom, path="C:\Documents and Settings\admin\桌面\DOS6.22.iso", status=inserted, model="Generic 1234", biosdetect=auto ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15 ata1-master: type=none ata1-slave: type=none ata2: enabled=0 ata3: enabled=0 pci: enabled=1, chipset=i440fx vga: extension=vbe, update_freq=5 cpu: count=1, ips=4000000, model=bx_generic, reset_on_triple_fault=1, cpuid_limit_winnt=0, ignore_bad_msrs=1, mwait_is_nop=0 cpuid: level=6, stepping=3, model=3, family=6, vendor_string="GenuineIntel", brand_string=" Intel(R) Pentium(R) 4 CPU " cpuid: mmx=1, apic=xapic, sse=sse2, sse4a=0, misaligned_sse=0, sep=1, movbe=0, adx=0 cpuid: aes=0, xsave=0, xsaveopt=0, x86_64=1, 1g_pages=0, pcid=0, fsgsbase=0, smep=0 cpuid: smap=0, mwait=1, vmx=1 print_timestamps: enabled=0 port_e9_hack: enabled=0 private_colormap: enabled=0 clock: sync=none, time0=local, rtc_sync=0 # no cmosimage # no loader log: - logprefix: %t%e%d debug: action=ignore info: action=report error: action=report panic: action=ask keyboard: type=mf, serial_delay=250, paste_delay=100000, user_shortcut=none mouse: type=ps2, enabled=0, toggle=ctrl+mbutton parport1: enabled=1, file=none parport2: enabled=0 com1: enabled=1, mode=null, dev=none com2: enabled=0 com3: enabled=0 com4: enabled=0
(注:將光盤DOS.ISO裝載到CD-ROM啓動)debug
安裝步驟:code
Fdisk格式化硬盤,xcopy A:\*.* C:\ 再重啓動Bochsorm
從軟盤拷貝masm5.0到C:\masmblog