2 Star 5 Fork 4

稀风 / KOS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bochsrc.disk 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
稀风 提交于 2023-04-16 19:43 . 重新更换开发环境,微调
# how much memory the emulated machine will have
# 虚拟机内存大小
megs: 32
# filename of ROM images
# 不同的 linux 下 BIOS-bochs-latest 和 vgabios.bin 的路径可能不同。
# 可以使用 命令 “locate BIOS-bochs-latest” 和 “locate vgabios.bin” 查看路径
romimage: file=/usr/local/share/bochs/BIOS-bochs-latest
vgaromimage: file=/usr/share/vgabios/vgabios.bin
# what disk images will be used
# 设置 bochs 使用的磁盘:软盘使用关键字 floppya,硬盘使用 disk
# 注意 a.img 路径
# floppya: 1_44=a.img, status=inserted
# choose the boot disk.
# 设定启动磁盘
# 或者是 boot:disk
# boot: floppy
boot: disk
# where do we send log messages?
# log: bochsout.txt
# disable the mouse
# 鼠标是否可用
mouse: enabled=0
# enable key mapping, using US layout as default.
# 键盘快捷键是否可用,使用美国键盘布局(US layout)作为默认值
# 可以使用 “locate x11-pc-us.map” 获取 map 路径
# bochs 2.45 版本使用
# keyboard_mapping: enabled=1, map=/usr/local/share/bochs/keymaps/x11-pc-us.map
# bochs 2.7 版本使用
keyboard: keymap=/usr/local/share/bochs/keymaps/x11-pc-us.map
# 硬盘设置
ata0-master:type=disk, path="a.img", mode=flat
1
https://gitee.com/thin-wind/KOS.git
git@gitee.com:thin-wind/KOS.git
thin-wind
KOS
KOS
main

搜索帮助