前几天做实验又看起了于渊的一个操作系统的实现第二版
在centos下搭载了环境
下载的是bochs-2.6.7
安装网上有教程 很顺利
在把配置文件bochsrc放入的是发现不好用
原来是他那个版本太低了
现将我这个好用的版本拿出来
# Configurate filefor Bochs
############################
# how much memorythe emulated machine will have
megs: 32
# filename of ROMimages
romimage:file=/usr/local/share/bochs/BIOS-bochs-latest
vgaromimage:file=/usr/local/share/bochs/VGABIOS-lgpl-latest
# what disk imageswill be used
floppya:1_44=a.img, status=inserted
# choose the bootdisk.
boot: floppy
# where do we sendlog messages?
log: bochsout.txt
# disable themouse
mouse: enabled=0
# enable keymapping, using Us layout as default
keyboard:keymap=/usr/local/share/bochs/keymaps/x11-pc-us.map
注意最后一行的改变
keyboard:keymap=/usr/local/share/bochs/keymaps/x11-pc-us.map