⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dot-bochsrc

📁 类unix x86平台的简单操作系统
💻
📖 第 1 页 / 共 3 页
字号:
#   vga_update_interval: 250000#=======================================================================vga_update_interval: 300000# using for Winstone '98 tests#vga_update_interval:  100000#=======================================================================# KEYBOARD_SERIAL_DELAY:# Approximate time in microseconds that it takes one character to# be transfered from the keyboard to controller over the serial path.# Examples:#   keyboard_serial_delay: 200#=======================================================================keyboard_serial_delay: 250#=======================================================================# KEYBOARD_PASTE_DELAY:# Approximate time in microseconds between attempts to paste# characters to the keyboard controller. This leaves time for the# guest os to deal with the flow of characters.  The ideal setting# depends on how your operating system processes characters.  The# default of 100000 usec (.1 seconds) was chosen because it works # consistently in Windows.## If your OS is losing characters during a paste, increase the paste# delay until it stops losing characters.## Examples:#   keyboard_paste_delay: 100000#=======================================================================keyboard_paste_delay: 100000#=======================================================================# MOUSE: # This option prevents Bochs from creating mouse "events" unless a mouse# is  enabled. The hardware emulation itself is not disabled by this.# You can turn the mouse on by setting enabled to 1, or turn it off by# setting enabled to 0. Unless you have a particular reason for enabling# the mouse by default, it is recommended that you leave it off.# You can also toggle the mouse usage at runtime (control key + middle# mouse button on X11, SDL, wxWidgets and Win32).# With the mouse type option you can select the type of mouse to emulate.# The default value is 'ps2'. The other choices are 'imps2' (wheel mouse# on PS/2), 'serial', 'serial_wheel' (one com port requires setting# 'mode=mouse') and 'usb' (3-button mouse - one of the USB ports must be# connected with the 'mouse' device - requires PCI and USB support).## Examples:#   mouse: enabled=1#   mouse: enabled=1, type=imps2#   mouse: enabled=1, type=serial#   mouse: enabled=0#=======================================================================mouse: enabled=0#=======================================================================# private_colormap: Request that the GUI create and use it's own#                   non-shared colormap.  This colormap will be used#                   when in the bochs window.  If not enabled, a#                   shared colormap scheme may be used.  Not implemented#                   on all GUI's.## Examples:#   private_colormap: enabled=1#   private_colormap: enabled=0#=======================================================================private_colormap: enabled=0#=======================================================================# fullscreen: ONLY IMPLEMENTED ON AMIGA#             Request that Bochs occupy the entire screen instead of a #             window.## Examples:#   fullscreen: enabled=0#   fullscreen: enabled=1#=======================================================================#fullscreen: enabled=0#screenmode: name="sample"#=======================================================================# ne2k: NE2000 compatible ethernet adapter## Examples:# ne2k: ioaddr=IOADDR, irq=IRQ, mac=MACADDR, ethmod=MODULE, ethdev=DEVICE, script=SCRIPT## ioaddr, irq: You probably won't need to change ioaddr and irq, unless there# are IRQ conflicts.## mac: The MAC address MUST NOT match the address of any machine on the net.# Also, the first byte must be an even number (bit 0 set means a multicast# address), and you cannot use ff:ff:ff:ff:ff:ff because that's the broadcast# address.  For the ethertap module, you must use fe:fd:00:00:00:01.  There may# be other restrictions too.  To be safe, just use the b0:c4... address.## ethdev: The ethdev value is the name of the network interface on your host# platform.  On UNIX machines, you can get the name by running ifconfig.  On# Windows machines, you must run niclist to get the name of the ethdev.# Niclist source code is in misc/niclist.c and it is included in Windows # binary releases.## script: The script value is optional, and is the name of a script that # is executed after bochs initialize the network interface. You can use # this script to configure this network interface, or enable masquerading.# This is mainly useful for the tun/tap devices that only exist during# Bochs execution. The network interface name is supplied to the script# as first parameter## If you don't want to make connections to any physical networks,# you can use the following 'ethmod's to simulate a virtual network.#   null: All packets are discarded, but logged to a few files.#   arpback: ARP is simulated. Disabled by default.#   vde:  Virtual Distributed Ethernet#   vnet: ARP, ICMP-echo(ping), DHCP and read/write TFTP are simulated.#         The virtual host uses 192.168.10.1.#         DHCP assigns 192.168.10.2 to the guest.#         TFTP uses the ethdev value for the root directory and doesn't#         overwrite files.##=======================================================================# ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=fbsd, ethdev=en0 #macosx# ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:00, ethmod=fbsd, ethdev=xl0# ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:00, ethmod=linux, ethdev=eth0# ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=win32, ethdev=MYCARD# ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=tap, ethdev=tap0# ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=/dev/net/tun0, script=./tunconfig# ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=null, ethdev=eth0# ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=vde, ethdev="/tmp/vde.ctl"# ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=vnet, ethdev="c:/temp"#=======================================================================# KEYBOARD_MAPPING:# This enables a remap of a physical localized keyboard to a # virtualized us keyboard, as the PC architecture expects.# If enabled, the keymap file must be specified.# # Examples:#   keyboard_mapping: enabled=1, map=gui/keymaps/x11-pc-de.map#=======================================================================keyboard_mapping: enabled=0, map=#=======================================================================# KEYBOARD_TYPE:# Type of keyboard return by a "identify keyboard" command to the# keyboard controler. It must be one of "xt", "at" or "mf".# Defaults to "mf". It should be ok for almost everybody. A known# exception is french macs, that do have a "at"-like keyboard.## Examples:#   keyboard_type: mf#=======================================================================#keyboard_type: mf#=======================================================================# USER_SHORTCUT:# This defines the keyboard shortcut to be sent when you press the "user"# button in the headerbar. The shortcut string is a combination of maximum# 3 key names (listed below) separated with a '-' character. The old-style# syntax (without the '-') still works for the key combinations supported# in Bochs 2.2.1.# Valid key names:# "alt", "bksl", "bksp", "ctrl", "del", "down", "end", "enter", "esc",# "f1", ... "f12", "home", "ins", "left", "menu", "minus", "pgdwn", "pgup",# "plus", "right", "shift", "space", "tab", "up", and "win".## Example:#   user_shortcut: keys=ctrl-alt-del#=======================================================================#user_shortcut: keys=ctrl-alt-del#=======================================================================# I440FXSUPPORT:# This option controls the presence of the i440FX PCI chipset. You can# also specify the devices connected to PCI slots. Up to 5 slots are# available now. These devices are currently supported: ne2k, pcivga,# pcidev and pcipnic. If Bochs is compiled with Cirrus SVGA support# you'll have the additional choice 'cirrus'.## Example:#   i440fxsupport: enabled=1, slot1=pcivga, slot2=ne2k#=======================================================================#i440fxsupport: enabled=1#=======================================================================# USB1:# This option controls the presence of the USB root hub which is a part# of the i440FX PCI chipset. With the portX option you can connect devices# to the hub (currently supported: 'mouse' and 'keypad'). If you connect# the mouse to one of the ports and use the mouse option 'type=usb' you'll# have a 3-button USB mouse.## Example:#   usb1: enabled=1, port1=mouse, port2=keypad#=======================================================================#usb1: enabled=1#=======================================================================# CMOSIMAGE:# This defines image file that can be loaded into the CMOS RAM at startup.# The rtc_init parameter controls whether initialize the RTC with values stored# in the image. By default the time0 argument given to the clock option is used.# With 'rtc_init=image' the image is the source for the initial time.## Example:#   cmosimage: file=cmos.img, rtc_init=image#=======================================================================#cmosimage: file=cmos.img, rtc_init=time0#=======================================================================# other stuff#=======================================================================#magic_break: enabled=1#load32bitOSImage: os=nullkernel, path=../kernel.img, iolog=../vga_io.log#load32bitOSImage: os=linux, path=../linux.img, iolog=../vga_io.log, initrd=../initrd.img#text_snapshot_check: enable#-------------------------# PCI host device mapping#-------------------------#pcidev: vendor=0x1234, device=0x5678#=======================================================================# GDBSTUB:# Enable GDB stub. See user documentation for details.# Default value is enabled=0.#=======================================================================#gdbstub: enabled=0, port=1234, text_base=0, data_base=0, bss_base=0#=======================================================================# IPS:# The IPS directive is DEPRECATED. Use the parameter IPS of the CPU# directive instead.#=======================================================================#ips: 10000000#=======================================================================# for Macintosh, use the style of pathnames in the following# examples.## vgaromimage: :bios:VGABIOS-elpin-2.40# romimage: file=:bios:BIOS-bochs-latest, address=0xf0000# floppya: 1_44=[fd:], status=inserted#=======================================================================

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -