1 Star 0 Fork 0

hkliu1 / SimpleKernel

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
bochsrc.txt 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
MRNIU 提交于 2019-10-24 17:22 . working on x86_64 and c++ support
###############################################################
# bochsrc.txt file for SimpleKernel (https://github.com/MRNIU).
# This file is a part of MRNIU/SimpleKernel (https://github.com/MRNIU/SimpleKernel).
###############################################################
megs: 512
# Memory Detection in Emulators
# When you tell an emulator how much memory you want emulated, the concept is a little
# "fuzzy" because of the emulated missing bits of RAM below 1M. If you tell an emulator to
# emulate 32M, does that mean your address space definitely goes from 0 to 32M -1, with
# missing bits? Not necessarily. The emulator might assume that you mean 32M of contiguous
# memory above 1M, so it might end at 33M -1. Or it might assume that you mean 32M of
# total usable RAM, going from 0 to 32M + 384K -1. So don't be surprised if you see a
# "detected memory size" that does not exactly match your expectations.
romimage: file=/usr/local/share/bochs/BIOS-bochs-latest
vgaromimage: file=/usr/local/share/bochs/VGABIOS-lgpl-latest
# 这里需要根据实际路径进行修改
# Here needs to change as your real path.
ata0-master: type=disk, path="fs.img", mode=flat
ata1-master: type=cdrom, path="simplekernel.iso", status=inserted
boot: cdrom
#log: ./debug_info/bochsout.txt
#mouse: enabled=1
keyboard: keymap=/usr/local/share/bochs/keymaps/sdl2-pc-us.map
display_library: sdl2
clock: sync=realtime, time0=local
cpu: model=corei7_haswell_4770
1
https://gitee.com/hkliu/SimpleKernel.git
git@gitee.com:hkliu/SimpleKernel.git
hkliu
SimpleKernel
SimpleKernel
master

搜索帮助