Bochs/bochs/.bochsrc

292 lines
11 KiB
Plaintext
Raw Normal View History

#megs: 64
megs: 32
#megs: 16
#megs: 8
boot: c
vgaromimage: bios/VGABIOS-elpin-2.40
# You many now use double quotes around pathnames, in case
# your pathname includes spaces.
# For Macintosh, use the style of pathnames in the following
# examples. Leave only one of each directive uncommented,
# if any.
#vgaromimage: :bios:VGABIOS-elpin-2.20
#romimage: file=:bios:BIOS-bochs-981222a, address=0xf0000
#floppya: 1_44=[fd:], status=inserted
#diskc: file=big.img, cyl=900, heads=15, spt=17
#time0: 938581955
#diskc: file=../46M.win95, cyl=940, heads=6, spt=17
#diskc: file=../112M.bogus, cyl=900, heads=15, spt=17
#diskc: file=../112M.test, cyl=900, heads=15, spt=17
#diskc: file=../46M.idsoftware, cyl=940, heads=6, spt=17
#diskc: file=../30M.dos622, cyl=615, heads=6, spt=17
#diskc: file=../30M.minix2.0, cyl=615, heads=6, spt=17
#diskc: file=../30M.minix-1.7.4, cyl=615, heads=6, spt=17
#diskc: file=../62M, cyl=940, heads=8, spt=17
#diskc: file=../62M.new, cyl=940, heads=8, spt=17
#diskc: file=../585M, cyl=1162, heads=16, spt=63
#diskc: file=../528M, cyl=1024, heads=16, spt=63
#diskc: file=../62M.980115, cyl=940, heads=8, spt=17
diskc: file="../10M.vga", cyl=306, heads=4, spt=17
#diskc: file=../10M.dos622, cyl=306, heads=4, spt=17
#diskc: file=../30M.freebsd, cyl=615, heads=6, spt=17
#diskc: file=../126M.freeBSD_2.2.8, cyl=256, heads=16, spt=63
#diskc: file=../30M.validate, cyl=615, heads=6, spt=17
#diskc: file="../10M.fpu", cyl=306, heads=4, spt=17
#diskc: file=../472.ws, cyl=1000, heads=15, spt=63
#diskc: file=../504M.linux, cyl=1024, heads=16, spt=63
#diskc: file=../126M.linux, cyl=256, heads=16, spt=63
#diskc: file=../10M.win31, cyl=306, heads=4, spt=17
#diskc: file=../rrrr, cyl=1, heads=2, spt=18
#diskc: file=../483M.NT40, cyl=1024, heads=15, spt=63
#cdromd: dev=/dev/cdrom, status=inserted
#cdromd: dev=/dev/cdrom, status=ejected
#floppya: 1_44=/vol/dev/aliases/floppy0, status=inserted
#floppya: 1_44=../1.44, status=inserted
#floppya: 1_44=../1.44.freebsd, status=inserted
#floppya: 720k=../720k.dos33, status=inserted
floppya: 1_44=../1.44a, status=inserted
#floppyb: 1_44=../1.44b, status=inserted
#floppya: 1_44=/dev/fd0, status=inserted
#floppyb: 1_44=../1.44b, status=inserted
#floppyb: 1_44=../1.680
#floppya: 1_44=../1.44.yodlowsk
#floppya: 1_2=../1.2
#floppyb: 1_44=../1.680
romimage: file=bios/BIOS-bochs-990925a, address=0xf0000
#romimage: file=bios/rombios.bin, address=0xf0000
#romimage: file=../cbios961203
#romimage: file=../r980820.rom, address=0xe0000
#romimage: file=bios/BIOS-bochs-990907a, address=0xf0000
#romimage: file=/home/kpl/floating_point/bios/rombios.bin, address=0xf0000
#romimage: file=bios/BIOS-bochs-990218a, address=0xf0000
#romimage: file=../dttest.bin, address=0xf0000
#romimage: ../cbios961112
#vgaromimage: ../vgacbios961111
#romimage: ../cbios961203
#log: /dev/null
log: ./bochs.out
keyboard_serial_delay: 200
floppy_command_delay: 500
#ips: 1500000
#ips: 5000000
vga_update_interval: 300000
ips: 1000000
#ips: 750000
# using for Winstone '98 tests
#vga_update_interval: 100000
#ips: 40000000
mouse: enabled=0
private_colormap: enabled=0
i440fxsupport: enabled=0
newharddrivesupport: enabled=1
#cmosimage: pathname
#=======================================================================
# ROMIMAGE:
# You now need to load a ROM BIOS into F0000-FFFFF. I've wiped
# out most of the BIOS hooks, and replace them with real BIOS
# support. Normally, you can use a precompiled BIOS in the bios/
# directory, named BIOS-bochs-yymmdd. Use the latest one in there.
#=======================================================================
#romimage: bios/BIOS-bochs-970717a
#=======================================================================
# MEGS
# set this to the default number of Megabytes of memory you want
# to emulate. You may also pass the '-megs xyz' option to bochs
#=======================================================================
#megs: 8
#=======================================================================
# VGAROMIMAGE
# You now need to load a VGA ROM BIOS into C0000.
#=======================================================================
#vgaromimage: bios/VGABIOS-elpin-2.20
#=======================================================================
# 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)
#=======================================================================
#floppya: file=../144
#floppya: file=/dev/fd0
#floppya: 1_44=/dev/fd0H1440
#floppya: 1_2=../1_2
#=======================================================================
# FLOPPYB:
# See FLOPPYA above
#=======================================================================
#=======================================================================
# DISKC: file=, cyl=, heads=, spt=
# Point this at a 10M, 20M, or 30M hard disk image file.
# Read INSTALL to create one.
# Examples:
# diskc: file=10M.sample, cyl=306, heads=4, spt=17
# diskc: file=20M.sample, cyl=615, heads=4, spt=17
# diskc: file=30M.sample, cyl=615, heads=6, spt=17
# diskc: file=46M.sample, cyl=940, heads=6, spt=17
# diskc: file=62M.sample, cyl=940, heads=8, spt=17
# diskc: file=112M.sample, cyl=900, heads=15, spt=17
# diskc: file=483M.sample, cyl=1024, heads=15, spt=63
#=======================================================================
#=======================================================================
# BOOT:
# This defines your boot drive. You can either boot from 'a' or 'c'.
# Examples:
# boot: c
# boot: a
#=======================================================================
#=======================================================================
# LOG:
# Give the path of the log file you'd like Bochs debug and misc. verbage
# to be written to. If you really don't want it, make it /dev/null. :^(
#
# Examples:
# log: ./bochs.out
# log: /dev/tty
#=======================================================================
#=======================================================================
# SB16:
# This defines the SB16 sound emulation. It can have several of the
# following properties.
# All properties are in the format sb16: property=value
# midi: The filename is where the midi data is sent. This can be a
# device or just a file if you want to record the midi data.
# midimode:
# 0=no data
# 1=output to device (system dependent. midi denotes the device driver)
# 2=SMF file output, including headers
# 3=output the midi data stream to the file (no midi headers and no
# delta times, just command and data bytes)
# wave: This is the device/file where wave output is stored
# wavemode:
# 0=no data
# 1=output to device (system dependent. wave denotes the device driver)
# 2=VOC file output, incl. headers
# 3=output the raw wave stream to the file
# log: The file to write the sb16 emulator messages to.
# loglevel:
# 0=no log
# 1=only midi program and bank changes
# 2=severe errors
# 3=all errors
# 4=all errors plus all port accesses
# 5=all errors and port accesses plus a lot of extra info
# dmatimer:
# microseconds per second for a DMA cycle. Make it smaller to fix
# non-continous sound. 750000 is usually a good value. This needs a
# reasonably correct setting for IPS.
#
# For an example look at the next line:
#=======================================================================
#sb16: midimode=1, midi=/dev/midi00, wavemode=1, wave=/dev/dsp, loglevel=2, log=sb16.log, dmatimer=600000
#=======================================================================
# VGA_UPDATE_INTERVAL:
# Video memory is scanned for updates and screen updated every so many
# virtual seconds. The default is 300000, about 3Hz. This is generally
# plenty. Keep in mind that you must tweak the 'ips:' directive
# to be as close to the number of emulated instructions-per-second
# your workstation can do, for this to be accurate.
#
# Examples:
# vga_update_interval: 250000
#=======================================================================
#=======================================================================
# 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
#=======================================================================
#=======================================================================
# FLOPPY_COMMAND_DELAY:
# Time in microseconds to wait before completing some floppy commands
# such as read/write/seek/etc, which normally have a delay associated.
# I had this hardwired to 50,000 before.
#
# Examples:
# floppy_command_delay: 50000
#=======================================================================
#=======================================================================
# IPS:
# Emulated Instructions Per Second. This is the number of IPS that bochs
# is capable of running on your machine. Read the note in config.h
# on how to find this. Make sure to recompile after.
#
# Examples:
#
# machine Mips
# ________________________________________________________________
# 400Mhz Pentium II with Linux 2.0.36/egcs-1.0.3 1 to 1.8Mips
# 166Mhz 64bit Sparc with Solaris 2.x approx 0.75 Mips
# 200Mhz Pentium with Linux 2.x approx 0.5 Mips
#=======================================================================
#=======================================================================
# mouse: Not used in any of the GUI specific modules, but the option
# bx_options.mouse_enabled is set to this value. The idea,
# is that the GUI code should not generate mouse events when
# not enabled. The hardware emualation itself is not disabled
# by this. This is to facilitate deterministic runs of bochs.
#
# Examples:
# mouse: enabled=1
# 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
#=======================================================================
# magic_break
# ne2k
#load32bitOSImage: os=nullkernel, path=../kernel.img, iolog=../vga_io.log
#load32bitOSImage: os=linux, path=../linux.img, iolog=../vga_io.log, initrd=../initrd.img