132 lines
6.3 KiB
Plaintext
132 lines
6.3 KiB
Plaintext
#=======================================================================
|
|
# MEGS
|
|
# Set the number of Megabytes of physical memory you want to emulate.
|
|
# The default is 32MB, most OS's won't need more than that.
|
|
# The maximum amount of memory supported is 2048Mb.
|
|
# The 'MEGS' option is deprecated. Use 'MEMORY' option instead.
|
|
#=======================================================================
|
|
megs: 16
|
|
|
|
#=======================================================================
|
|
# DISPLAY_LIBRARY
|
|
#
|
|
# The display library is the code that displays the Bochs VGA screen. Bochs
|
|
# has a selection of about 10 different display library implementations for
|
|
# different platforms. If you run configure with multiple --with-* options,
|
|
# the display_library command lets you choose which one you want to run with.
|
|
# If you do not write a display_library line, Bochs will choose a default for
|
|
# you.
|
|
#=======================================================================
|
|
display_library: x, options="gui_debug" # use GTK debugger gui
|
|
|
|
#=======================================================================
|
|
# ROMIMAGE:
|
|
# The ROM BIOS controls what the PC does when it first powers on.
|
|
# Normally, you can use a precompiled BIOS in the source or binary
|
|
# distribution called BIOS-bochs-latest. The ROM BIOS is usually loaded
|
|
# starting at address 0xf0000, and it is exactly 64k long. Another option
|
|
# is 128k BIOS which is loaded at address 0xe0000.
|
|
# You can also use the environment variable $BXSHARE to specify the
|
|
# location of the BIOS.
|
|
# The usage of external large BIOS images (up to 512k) at memory top is
|
|
# now supported, but we still recommend to use the BIOS distributed with
|
|
# Bochs. The start address optional, since it can be calculated from image size.
|
|
#=======================================================================
|
|
romimage: file=/usr/local/share/bochs/BIOS-bochs-latest
|
|
|
|
#=======================================================================
|
|
# VGAROMIMAGE
|
|
# You now need to load a VGA ROM BIOS into C0000.
|
|
#=======================================================================
|
|
vgaromimage: file=/usr/local/share/bochs/VGABIOS-lgpl-latest
|
|
|
|
#=======================================================================
|
|
# FLOPPYA:
|
|
# Point this to pathname of floppy image file or device
|
|
# This should be of a bootable floppy(image/device) if you're
|
|
# booting from 'a'.
|
|
#
|
|
# You can set the initial status of the media to 'ejected' or 'inserted'.
|
|
# floppya: 2_88=path, status=ejected (2.88M 3.5" floppy)
|
|
# floppya: 1_44=path, status=inserted (1.44M 3.5" floppy)
|
|
# floppya: 1_2=path, status=ejected (1.2M 5.25" floppy)
|
|
# floppya: 720k=path, status=inserted (720K 3.5" floppy)
|
|
#
|
|
# The path should be the name of a disk image file. On unix, you can use
|
|
# a raw device name such as /dev/fd0 on Linux. On WinNT and Win2k, use
|
|
# drive letters such as a: or b: as the path. Raw floppy access is not
|
|
# supported on Windows 95 and 98.
|
|
#=======================================================================
|
|
floppya: 1_44="bootimage-0.11-hd", status=inserted
|
|
|
|
#=======================================================================
|
|
# FLOPPYB:
|
|
# See FLOPPYA above for syntax
|
|
#=======================================================================
|
|
floppyb: 1_44=diskb.img, status=inserted
|
|
|
|
#=======================================================================
|
|
# BOOT:
|
|
# This defines the boot sequence. Now you can specify up to 3 boot drives,
|
|
# which can be 'floppy', 'disk', 'cdrom' or 'network' (boot ROM).
|
|
# Legacy 'a' and 'c' are also supported.
|
|
#=======================================================================
|
|
#boot: floppy
|
|
boot: disk
|
|
|
|
#=======================================================================
|
|
# LOG:
|
|
# Give the path of the log file you'd like Bochs debug and misc. verbiage
|
|
# to be written to. If you don't use this option or set the filename to
|
|
# '-' the output is written to the console. If you really don't want it,
|
|
# make it "/dev/null" (Unix) or "nul" (win32). :^(
|
|
#=======================================================================
|
|
#log: /dev/null
|
|
log: bochsout.txt
|
|
|
|
#=======================================================================
|
|
# MOUSE:
|
|
# The Bochs gui creates mouse "events" unless the 'enabled' option is
|
|
# set to 0. The hardware emulation itself is not disabled by this.
|
|
# 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' and 'serial_msys' (one com port requires
|
|
# setting 'mode=mouse'). To connect a mouse to an USB port, see the 'usb_uhci'
|
|
# or 'usb_ohci' option (requires PCI and USB support).
|
|
#=======================================================================
|
|
mouse: enabled=0
|
|
|
|
#=======================================================================
|
|
# 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.
|
|
#=======================================================================
|
|
keyboard_mapping: enabled=1, map=/usr/local/share/bochs/keymaps/x11-pc-us.map
|
|
|
|
#=======================================================================
|
|
# ATA0, ATA1, ATA2, ATA3
|
|
# ATA controller for hard disks and cdroms
|
|
#
|
|
# ata[0-3]: enabled=[0|1], ioaddr1=addr, ioaddr2=addr, irq=number
|
|
#
|
|
# These options enables up to 4 ata channels. For each channel
|
|
# the two base io addresses and the irq must be specified.
|
|
#
|
|
# ata0 and ata1 are enabled by default with the values shown below
|
|
#=======================================================================
|
|
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
|
|
ata0-master: type=disk, path="hdc-0.11-new.img", mode=flat, cylinders=410, heads=16, spt=38
|
|
|
|
#=======================================================================
|
|
# DISKD:
|
|
# See DISKC above for syntax
|
|
#
|
|
# NOTE: diskd and cdromd must not be used together!
|
|
#=======================================================================
|
|
#diskd: file="diskd.img", cyl=615, heads=6, spt=17
|