脚本宝典收集整理的这篇文章主要介绍了html5教程-Bochs镜像文件配置,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
1. cylinder
2. heads
3. spt
只知道下载的文件大小为528482304B,鼓捣了一阵子,发现其实计算很简单
528482304=512*cylinder*heads*spt
而通常我发现heads都是16,spt都是63,那么cylinder就可以计算出来了。
最后晒一下我的bxrc吧
[html]
###############################################################
# bochsrc.txt file for redhat 6.0 Linux disk image.
###############################################################
# how much memory the emulated machine will have
megs: 1024
# filename of ROM images
romimage: file=$BXSHARE/BIOS-bochs-latest
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
cpu: model=core2_penryn_t9600, count=1, ips=50000000, reset_on_triple_fault=1, ignore_bad_msrs=1, msrs="msrs.def"
cpu: cpuid_limit_winnt=0
memory: guest=1024, host=1024
# what disk images will be used
#floppya: 1_44=floppya.img, status=inserted
#floppyb: 1_44=floppyb.img, status=inserted
# hard disk
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0-master: type=disk, path="redhat6-512mb.img", cylinders=1024, heads=16, spt=63
# choose the boot disk.
boot: disk
# default config interface is textconfig.
#config_interface: textconfig
#config_interface: wx
#display_library: x
# other choices: win32 sdl wx carbon amigaos beos macintosh nogui rfb term svga
# where do we send log messages?
log: bochsout.txt
# disable the mouse, since is text only
mouse: enabled=0
# enable key mapping, using US layout as default.
#
# NOTE: In Bochs 1.4, keyboard mapping is only 100% implemented on X windows.
# However, the key mapping tables are used in the paste function, so
# I'm enabling keyboard mapping so that paste
# will work. Cut&Paste is currently implemented on win32 and X windows only.
#keyboard: keymap=$BXSHARE/keymaps/x11-pc-us.map
#keyboard: keymap=$BXSHARE/keymaps/x11-pc-fr.map
#keyboard: keymap=$BXSHARE/keymaps/x11-pc-de.map
keyboard: keymap=$BXSHARE/keymaps/x11-pc-es.map
1. cylinder
2. heads
3. spt
只知道下载的文件大小为528482304B,鼓捣了一阵子,发现其实计算很简单
528482304=512*cylinder*heads*spt
而通常我发现heads都是16,spt都是63,那么cylinder就可以计算出来了。
最后晒一下我的bxrc吧
[html]
###############################################################
# bochsrc.txt file for redhat 6.0 Linux disk image.
###############################################################
# how much memory the emulated machine will have
megs: 1024
# filename of ROM images
romimage: file=$BXSHARE/BIOS-bochs-latest
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
cpu: model=core2_penryn_t9600, count=1, ips=50000000, reset_on_triple_fault=1, ignore_bad_msrs=1, msrs="msrs.def"
cpu: cpuid_limit_winnt=0
memory: guest=1024, host=1024
# what disk images will be used
#floppya: 1_44=floppya.img, status=inserted
#floppyb: 1_44=floppyb.img, status=inserted
# hard disk
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0-master: type=disk, path="redhat6-512mb.img", cylinders=1024, heads=16, spt=63
# choose the boot disk.
boot: disk
# default config interface is textconfig.
#config_interface: textconfig
#config_interface: wx
#display_library: x
# other choices: win32 sdl wx carbon amigaos beos macintosh nogui rfb term svga
# where do we send log messages?
log: bochsout.txt
# disable the mouse, since is text only
mouse: enabled=0
# enable key mapping, using US layout as default.
#
# NOTE: In Bochs 1.4, keyboard mapping is only 100% implemented on X windows.
# However, the key mapping tables are used in the paste function, so
# I'm enabling keyboard mapping so that paste
# will work. Cut&Paste is currently implemented on win32 and X windows only.
#keyboard: keymap=$BXSHARE/keymaps/x11-pc-us.map
#keyboard: keymap=$BXSHARE/keymaps/x11-pc-fr.map
#keyboard: keymap=$BXSHARE/keymaps/x11-pc-de.map
keyboard: keymap=$BXSHARE/keymaps/x11-pc-es.map
觉得可用,就经常来吧! 脚本宝典 欢迎评论哦! html5教程,巧夺天工,精雕玉琢。小宝典献丑了!
以上是脚本宝典为你收集整理的html5教程-Bochs镜像文件配置全部内容,希望文章能够帮你解决html5教程-Bochs镜像文件配置所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。