1 # You may now use double quotes around pathnames, in case
2 # your pathname includes spaces.
4 #=======================================================================
7 # The configuration interface is a series of menus or dialog boxes that
8 # allows you to change all the settings that control Bochs's behavior.
9 # There are two choices of configuration interface: a text mode version
10 # called "textconfig" and a graphical version called "wx". The text
11 # mode version uses stdin/stdout and is always compiled in. The graphical
12 # version is only available when you use "--with-wx" on the configure
13 # command. If you do not write a config_interface line, Bochs will
14 # choose a default for you.
16 # NOTE: if you use the "wx" configuration interface, you must also use
17 # the "wx" display library.
18 #=======================================================================
19 #config_interface: textconfig
22 #=======================================================================
25 # The display library is the code that displays the Bochs VGA screen. Bochs
26 # has a selection of about 10 different display library implementations for
27 # different platforms. If you run configure with multiple --with-* options,
28 # the display_library command lets you choose which one you want to run with.
29 # If you do not write a display_library line, Bochs will choose a default for
33 # x use X windows interface, cross platform
34 # win32 use native win32 libraries
35 # carbon use Carbon library (for MacOS X)
36 # beos use native BeOS libraries
37 # macintosh use MacOS pre-10
38 # amigaos use native AmigaOS libraries
39 # sdl use SDL library, cross platform
40 # svga use SVGALIB library for Linux, allows graphics without X11
41 # term text only, uses curses/ncurses library, cross platform
42 # rfb provides an interface to AT&T's VNC viewer, cross platform
43 # wx use wxWidgets library, cross platform
44 # nogui no display at all
46 # NOTE: if you use the "wx" configuration interface, you must also use
47 # the "wx" display library.
50 # Some display libraries now support specific option to control their
51 # behaviour. See the examples below for currently supported options.
52 #=======================================================================
53 #display_library: amigaos
54 #display_library: beos
55 #display_library: carbon
56 #display_library: macintosh
57 #display_library: nogui
58 #display_library: rfb, options="timeout=60" # time to wait for client
59 #display_library: sdl, options="fullscreen" # startup in fullscreen mode
60 #display_library: term
61 #display_library: win32, options="legacyF12" # use F12 to toggle mouse
62 #display_library: win32, options="windebug" # use experimental debugger gui
64 #display_library: x, options="hideIPS" # disable IPS output in status bar
66 #=======================================================================
68 # The ROM BIOS controls what the PC does when it first powers on.
69 # Normally, you can use a precompiled BIOS in the source or binary
70 # distribution called BIOS-bochs-latest. The ROM BIOS is usually loaded
71 # starting at address 0xf0000, and it is exactly 64k long. Another option
72 # is 128k BIOS which is loaded at address 0xe0000.
73 # You can also use the environment variable $BXSHARE to specify the
74 # location of the BIOS.
75 # The usage of external large BIOS images (up to 512k) at memory top is
76 # now supported, but we still recommend to use the BIOS distributed with
77 # Bochs. The start address optional, since it can be calculated from image size.
78 #=======================================================================
79 romimage: file=$BXSHARE/BIOS-bochs-latest
80 #romimage: file=mybios.bin, address=0xfff80000 # 512k at memory top
82 #=======================================================================
84 # This defines cpu-related parameters inside Bochs:
87 # Set the number of processors:cores per processor:threads per core
88 # when Bochs is compiled for SMP emulation.
89 # Bochs currently supports up to 8 threads running simultaniosly.
90 # If Bochs is compiled without SMP support, it won't accept values
94 # Maximum amount of instructions allowed to execute by processor before
95 # returning control to another cpu. This option exists only in Bochs
96 # binary compiled with SMP support.
98 # RESET_ON_TRIPLE_FAULT:
99 # Reset the CPU when triple fault occur (highly recommended) rather than
100 # PANIC. Remember that if you trying to continue after triple fault the
101 # simulation will be completely bogus !
104 # Set the CPUID vendor string returned by CPUID(0x0). This should be a
105 # twelve-character ASCII string.
108 # Set the CPUID vendor string returned by CPUID(0x80000002 .. 0x80000004).
109 # This should be at most a forty-eight-character ASCII string.
112 # Emulated Instructions Per Second. This is the number of IPS that bochs
113 # is capable of running on your machine. You can recompile Bochs with
114 # --enable-show-ips option enabled, to find your host's capability.
115 # Measured IPS value will then be logged into your log file or shown
116 # in the status bar (if supported by the gui).
118 # IPS is used to calibrate many time-dependent events within the bochs
119 # simulation. For example, changing IPS affects the frequency of VGA
120 # updates, the duration of time before a key starts to autorepeat, and
121 # the measurement of BogoMips and other benchmarks.
125 # Bochs Machine/Compiler Mips
126 # ____________________________________________________________________
127 # 2.3.7 3.2Ghz Intel Core 2 Q9770 with WinXP/g++ 3.4 50 to 55 Mips
128 # 2.3.7 2.6Ghz Intel Core 2 Duo with WinXP/g++ 3.4 38 to 43 Mips
129 # 2.2.6 2.6Ghz Intel Core 2 Duo with WinXP/g++ 3.4 21 to 25 Mips
130 # 2.2.6 2.1Ghz Athlon XP with Linux 2.6/g++ 3.4 12 to 15 Mips
131 # 2.0.1 1.6Ghz Intel P4 with Win2000/g++ 3.3 5 to 7 Mips
132 #=======================================================================
133 cpu: count=1, ips=10000000, reset_on_triple_fault=1
135 #=======================================================================
137 # Set the number of Megabytes of physical memory you want to emulate.
138 # The default is 32MB, most OS's won't need more than that.
139 # The maximum amount of memory supported is 2048Mb.
140 #=======================================================================
148 #=======================================================================
150 # You may now load up to 4 optional ROM images. Be sure to use a
151 # read-only area, typically between C8000 and EFFFF. These optional
152 # ROM images should not overwrite the rombios (located at
153 # F0000-FFFFF) and the videobios (located at C0000-C7FFF).
154 # Those ROM images will be initialized by the bios if they contain
155 # the right signature (0x55AA) and a valid checksum.
156 # It can also be a convenient way to upload some arbitrary code/data
157 # in the simulation, that can be retrieved by the boot loader
158 #=======================================================================
159 #optromimage1: file=optionalrom.bin, address=0xd0000
160 #optromimage2: file=optionalrom.bin, address=0xd1000
161 #optromimage3: file=optionalrom.bin, address=0xd2000
162 #optromimage4: file=optionalrom.bin, address=0xd3000
164 #optramimage1: file=/path/file1.img, address=0x0010000
165 #optramimage2: file=/path/file2.img, address=0x0020000
166 #optramimage3: file=/path/file3.img, address=0x0030000
167 #optramimage4: file=/path/file4.img, address=0x0040000
169 #=======================================================================
171 # You now need to load a VGA ROM BIOS into C0000.
172 #=======================================================================
173 #vgaromimage: file=bios/VGABIOS-elpin-2.40
174 vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
175 #vgaromimage: file=bios/VGABIOS-lgpl-latest-cirrus
177 #=======================================================================
179 # Here you can specify the display extension to be used. With the value
180 # 'none' you can use standard VGA with no extension. Other supported
181 # values are 'vbe' for Bochs VBE and 'cirrus' for Cirrus SVGA support.
182 #=======================================================================
183 #vga: extension=cirrus
186 #=======================================================================
188 # Point this to pathname of floppy image file or device
189 # This should be of a bootable floppy(image/device) if you're
190 # booting from 'a' (or 'floppy').
192 # You can set the initial status of the media to 'ejected' or 'inserted'.
193 # floppya: 2_88=path, status=ejected (2.88M 3.5" floppy)
194 # floppya: 1_44=path, status=inserted (1.44M 3.5" floppy)
195 # floppya: 1_2=path, status=ejected (1.2M 5.25" floppy)
196 # floppya: 720k=path, status=inserted (720K 3.5" floppy)
197 # floppya: 360k=path, status=inserted (360K 5.25" floppy)
198 # floppya: 320k=path, status=inserted (320K 5.25" floppy)
199 # floppya: 180k=path, status=inserted (180K 5.25" floppy)
200 # floppya: 160k=path, status=inserted (160K 5.25" floppy)
201 # floppya: image=path, status=inserted (guess type from image size)
203 # The path should be the name of a disk image file. On Unix, you can use a raw
204 # device name such as /dev/fd0 on Linux. On win32 platforms, use drive letters
205 # such as a: or b: as the path. The parameter 'image' works with image files
206 # only. In that case the size must match one of the supported types.
207 #=======================================================================
208 floppya: 1_44=/dev/fd0, status=inserted
209 #floppya: image=../1.44, status=inserted
210 #floppya: 1_44=/dev/fd0H1440, status=inserted
211 #floppya: 1_2=../1_2, status=inserted
212 #floppya: 1_44=a:, status=inserted
213 #floppya: 1_44=a.img, status=inserted
214 #floppya: 1_44=/dev/rfd0a, status=inserted
216 #=======================================================================
218 # See FLOPPYA above for syntax
219 #=======================================================================
220 #floppyb: 1_44=b:, status=inserted
221 #floppyb: 1_44=b.img, status=inserted
223 #=======================================================================
224 # ATA0, ATA1, ATA2, ATA3
225 # ATA controller for hard disks and cdroms
227 # ata[0-3]: enabled=[0|1], ioaddr1=addr, ioaddr2=addr, irq=number
229 # These options enables up to 4 ata channels. For each channel
230 # the two base io addresses and the irq must be specified.
232 # ata0 and ata1 are enabled by default with the values shown below
235 # ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
236 # ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
237 # ata2: enabled=1, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11
238 # ata3: enabled=1, ioaddr1=0x168, ioaddr2=0x360, irq=9
239 #=======================================================================
240 ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
241 ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
242 ata2: enabled=0, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11
243 ata3: enabled=0, ioaddr1=0x168, ioaddr2=0x360, irq=9
245 #=======================================================================
246 # ATA[0-3]-MASTER, ATA[0-3]-SLAVE
248 # This defines the type and characteristics of all attached ata devices:
249 # type= type of attached device [disk|cdrom]
250 # mode= only valid for disks [flat|concat|external|dll|sparse|vmware3]
251 # mode= only valid for disks [undoable|growing|volatile]
252 # path= path of the image
253 # cylinders= only valid for disks
254 # heads= only valid for disks
255 # spt= only valid for disks
256 # status= only valid for cdroms [inserted|ejected]
257 # biosdetect= type of biosdetection [none|auto], only for disks on ata0 [cmos]
258 # translation=type of translation of the bios, only for disks [none|lba|large|rechs|auto]
259 # model= string returned by identify device command
260 # journal= optional filename of the redolog for undoable and volatile disks
262 # Point this at a hard disk image file, cdrom iso file, or physical cdrom
263 # device. To create a hard disk image, try running bximage. It will help you
264 # choose the size and then suggest a line that works with it.
266 # In UNIX it may be possible to use a raw device as a Bochs hard disk,
267 # but WE DON'T RECOMMEND IT. In Windows there is no easy way.
269 # In windows, the drive letter + colon notation should be used for cdroms.
270 # Depending on versions of windows and drivers, you may only be able to
271 # access the "first" cdrom in the system. On MacOSX, use path="drive"
272 # to access the physical drive.
274 # The path is always mandatory. Disk geometry autodetection works with images
275 # created by bximage if CHS is set to 0/0/0 (cylinders are calculated using
276 # heads=16 and spt=63). For other hard disk images and modes the cylinders,
277 # heads, and spt are mandatory.
279 # Default values are:
280 # mode=flat, biosdetect=auto, translation=auto, model="Generic 1234"
282 # The biosdetect option has currently no effect on the bios
285 # ata0-master: type=disk, mode=flat, path=10M.sample, cylinders=306, heads=4, spt=17
286 # ata0-slave: type=disk, mode=flat, path=20M.sample, cylinders=615, heads=4, spt=17
287 # ata1-master: type=disk, mode=flat, path=30M.sample, cylinders=615, heads=6, spt=17
288 # ata1-slave: type=disk, mode=flat, path=46M.sample, cylinders=940, heads=6, spt=17
289 # ata2-master: type=disk, mode=flat, path=62M.sample, cylinders=940, heads=8, spt=17
290 # ata2-slave: type=disk, mode=flat, path=112M.sample, cylinders=900, heads=15, spt=17
291 # ata3-master: type=disk, mode=flat, path=483M.sample, cylinders=1024, heads=15, spt=63
292 # ata3-slave: type=cdrom, path=iso.sample, status=inserted
293 #=======================================================================
294 ata0-master: type=disk, mode=flat, path="30M.sample"
295 #ata0-master: type=disk, mode=flat, path="30M.sample", cylinders=615, heads=6, spt=17
296 #ata0-master: type=disk, mode=flat, path="c.img", cylinders=0 # autodetect
297 #ata0-slave: type=cdrom, path=D:, status=inserted
298 #ata0-slave: type=cdrom, path=/dev/cdrom, status=inserted
299 #ata0-slave: type=cdrom, path="drive", status=inserted
300 #ata0-slave: type=cdrom, path=/dev/rcd0d, status=inserted
302 #=======================================================================
304 # This defines the boot sequence. Now you can specify up to 3 boot drives,
305 # which can be 'floppy', 'disk', 'cdrom' or 'network' (boot ROM).
306 # Legacy 'a' and 'c' are also supported.
310 # boot: network, disk
311 # boot: cdrom, floppy, disk
312 #=======================================================================
316 #=======================================================================
318 # This defines the parameters of the clock inside Bochs:
321 # TO BE COMPLETED (see Greg explanation in feature request #536329)
324 # Specifies the start (boot) time of the virtual machine. Use a time
325 # value as returned by the time(2) system call. If no time0 value is
326 # set or if time0 equal to 1 (special case) or if time0 equal 'local',
327 # the simulation will be started at the current local host time.
328 # If time0 equal to 2 (special case) or if time0 equal 'utc',
329 # the simulation will be started at the current utc time.
332 # clock: sync=[none|slowdown|realtime|both], time0=[timeValue|local|utc]
335 # clock: sync=none, time0=local # Now (localtime)
336 # clock: sync=slowdown, time0=315529200 # Tue Jan 1 00:00:00 1980
337 # clock: sync=none, time0=631148400 # Mon Jan 1 00:00:00 1990
338 # clock: sync=realtime, time0=938581955 # Wed Sep 29 07:12:35 1999
339 # clock: sync=realtime, time0=946681200 # Sat Jan 1 00:00:00 2000
340 # clock: sync=none, time0=1 # Now (localtime)
341 # clock: sync=none, time0=utc # Now (utc/gmt)
343 # Default value are sync=none, time0=local
344 #=======================================================================
345 #clock: sync=none, time0=local
348 #=======================================================================
349 # FLOPPY_BOOTSIG_CHECK: disabled=[0|1]
350 # Enables or disables the 0xaa55 signature check on boot floppies
351 # Defaults to disabled=0
353 # floppy_bootsig_check: disabled=0
354 # floppy_bootsig_check: disabled=1
355 #=======================================================================
356 floppy_bootsig_check: disabled=0
358 #=======================================================================
360 # Give the path of the log file you'd like Bochs debug and misc. verbiage
361 # to be written to. If you don't use this option or set the filename to
362 # '-' the output is written to the console. If you really don't want it,
363 # make it "/dev/null" (Unix) or "nul" (win32). :^(
368 #=======================================================================
372 #=======================================================================
374 # This handles the format of the string prepended to each log line.
375 # You may use those special tokens :
376 # %t : 11 decimal digits timer tick
377 # %i : 8 hexadecimal digits of cpu current eip (ignored in SMP configuration)
378 # %e : 1 character event type ('i'nfo, 'd'ebug, 'p'anic, 'e'rror)
379 # %d : 5 characters string of the device, between brackets
383 # logprefix: %t-%e-@%i-%d
385 #=======================================================================
388 #=======================================================================
391 # Bochs now has four severity levels for event logging.
392 # panic: cannot proceed. If you choose to continue after a panic,
393 # don't be surprised if you get strange behavior or crashes.
394 # error: something went wrong, but it is probably safe to continue the
396 # info: interesting or useful messages.
397 # debug: messages useful only when debugging the code. This may
398 # spit out thousands per second.
400 # For events of each level, you can choose to crash, report, or ignore.
401 # TODO: allow choice based on the facility: e.g. crash on panics from
402 # everything except the cdrom, and only report those.
404 # If you are experiencing many panics, it can be helpful to change
405 # the panic action to report instead of fatal. However, be aware
406 # that anything executed after a panic is uncharted territory and can
407 # cause bochs to become unstable. The panic is a "graceful exit," so
408 # if you disable it you may get a spectacular disaster instead.
409 #=======================================================================
416 #=======================================================================
418 # Give the path of the log file you'd like Bochs to log debugger output.
419 # If you really don't want it, make it /dev/null or '-'. :^(
422 # debugger_log: ./debugger.out
423 #=======================================================================
424 #debugger_log: /dev/null
425 #debugger_log: debugger.out
428 #=======================================================================
429 # COM1, COM2, COM3, COM4:
430 # This defines a serial port (UART type 16550A). In the 'term' you can specify
431 # a device to use as com1. This can be a real serial line, or a pty. To use
432 # a pty (under X/Unix), create two windows (xterms, usually). One of them will
433 # run bochs, and the other will act as com1. Find out the tty the com1
434 # window using the `tty' command, and use that as the `dev' parameter.
435 # Then do `sleep 1000000' in the com1 window to keep the shell from
436 # messing with things, and run bochs in the other window. Serial I/O to
437 # com1 (port 0x3f8) will all go to the other window.
438 # In socket* and pipe* (win32 only) modes Bochs becomes either socket/named pipe
439 # client or server. In client mode it connects to an already running server (if
440 # connection fails Bochs treats com port as not connected). In server mode it
441 # opens socket/named pipe and waits until a client application connects to it
442 # before starting simulation. This mode is useful for remote debugging (e.g.
443 # with gdb's "target remote host:port" command or windbg's command line option
444 # -k com:pipe,port=\\.\pipe\pipename). Note: 'socket' is a shorthand for
445 # 'socket-client' and 'pipe' for 'pipe-client'. Socket modes use simple TCP
446 # communication, pipe modes use duplex byte mode pipes.
447 # Other serial modes are 'null' (no input/output), 'file' (output to a file
448 # specified as the 'dev' parameter), 'raw' (use the real serial port - under
449 # construction for win32), 'mouse' (standard serial mouse - requires
450 # mouse option setting 'type=serial', 'type=serial_wheel' or 'type=serial_msys').
453 # com1: enabled=1, mode=null
454 # com1: enabled=1, mode=mouse
455 # com2: enabled=1, mode=file, dev=serial.out
456 # com3: enabled=1, mode=raw, dev=com1
457 # com3: enabled=1, mode=socket-client, dev=localhost:8888
458 # com3: enabled=1, mode=socket-server, dev=localhost:8888
459 # com4: enabled=1, mode=pipe-client, dev=\\.\pipe\mypipe
460 # com4: enabled=1, mode=pipe-server, dev=\\.\pipe\mypipe
461 #=======================================================================
462 #com1: enabled=1, mode=term, dev=/dev/ttyp9
465 #=======================================================================
466 # PARPORT1, PARPORT2:
467 # This defines a parallel (printer) port. When turned on and an output file is
468 # defined the emulated printer port sends characters printed by the guest OS
469 # into the output file. On some platforms a device filename can be used to
470 # send the data to the real parallel port (e.g. "/dev/lp0" on Linux, "lpt1" on
474 # parport1: enabled=1, file="parport.out"
475 # parport2: enabled=1, file="/dev/lp0"
476 # parport1: enabled=0
477 #=======================================================================
478 parport1: enabled=1, file="parport.out"
480 #=======================================================================
482 # This defines the SB16 sound emulation. It can have several of the
483 # following properties.
484 # All properties are in the format sb16: property=value
485 # midi: The filename is where the midi data is sent. This can be a
486 # device or just a file if you want to record the midi data.
489 # 1=output to device (system dependent. midi denotes the device driver)
490 # 2=SMF file output, including headers
491 # 3=output the midi data stream to the file (no midi headers and no
492 # delta times, just command and data bytes)
493 # wave: This is the device/file where wave output is stored
496 # 1=output to device (system dependent. wave denotes the device driver)
497 # 2=VOC file output, incl. headers
498 # 3=output the raw wave stream to the file
499 # log: The file to write the sb16 emulator messages to.
502 # 1=resource changes, midi program and bank changes
505 # 4=all errors plus all port accesses
506 # 5=all errors and port accesses plus a lot of extra info
508 # microseconds per second for a DMA cycle. Make it smaller to fix
509 # non-continuous sound. 750000 is usually a good value. This needs a
510 # reasonably correct setting for the IPS parameter of the CPU option.
512 # Examples for output devices:
513 # sb16: midimode=1, midi="", wavemode=1, wave="" # win32
514 # sb16: midimode=1, midi=alsa:128:0, wavemode=1, wave=alsa # Linux with ALSA
515 #=======================================================================
516 #sb16: midimode=1, midi=/dev/midi00, wavemode=1, wave=/dev/dsp, loglevel=2, log=sb16.log, dmatimer=600000
518 #=======================================================================
519 # VGA_UPDATE_INTERVAL:
520 # Video memory is scanned for updates and screen updated every so many
521 # virtual seconds. The default is 40000, about 25Hz. Keep in mind that
522 # you must tweak the 'cpu: ips=N' directive to be as close to the number
523 # of emulated instructions-per-second your workstation can do, for this
527 # vga_update_interval: 250000
528 #=======================================================================
529 vga_update_interval: 300000
531 # using for Winstone '98 tests
532 #vga_update_interval: 100000
534 #=======================================================================
535 # KEYBOARD_SERIAL_DELAY:
536 # Approximate time in microseconds that it takes one character to
537 # be transfered from the keyboard to controller over the serial path.
539 # keyboard_serial_delay: 200
540 #=======================================================================
541 keyboard_serial_delay: 250
543 #=======================================================================
544 # KEYBOARD_PASTE_DELAY:
545 # Approximate time in microseconds between attempts to paste
546 # characters to the keyboard controller. This leaves time for the
547 # guest os to deal with the flow of characters. The ideal setting
548 # depends on how your operating system processes characters. The
549 # default of 100000 usec (.1 seconds) was chosen because it works
550 # consistently in Windows.
552 # If your OS is losing characters during a paste, increase the paste
553 # delay until it stops losing characters.
556 # keyboard_paste_delay: 100000
557 #=======================================================================
558 keyboard_paste_delay: 100000
560 #=======================================================================
562 # This option prevents Bochs from creating mouse "events" unless a mouse
563 # is enabled. The hardware emulation itself is not disabled by this.
564 # You can turn the mouse on by setting enabled to 1, or turn it off by
565 # setting enabled to 0. Unless you have a particular reason for enabling
566 # the mouse by default, it is recommended that you leave it off.
567 # You can also toggle the mouse usage at runtime (control key + middle
568 # mouse button on X11, SDL, wxWidgets and Win32).
569 # With the mouse type option you can select the type of mouse to emulate.
570 # The default value is 'ps2'. The other choices are 'imps2' (wheel mouse
571 # on PS/2), 'serial', 'serial_wheel' and 'serial_msys' (one com port requires
572 # setting 'mode=mouse'). To connect a mouse to an USB port, see the 'usb1'
573 # option (requires PCI and USB support).
577 # mouse: enabled=1, type=imps2
578 # mouse: enabled=1, type=serial
580 #=======================================================================
583 #=======================================================================
584 # private_colormap: Request that the GUI create and use it's own
585 # non-shared colormap. This colormap will be used
586 # when in the bochs window. If not enabled, a
587 # shared colormap scheme may be used. Not implemented
591 # private_colormap: enabled=1
592 # private_colormap: enabled=0
593 #=======================================================================
594 private_colormap: enabled=0
596 #=======================================================================
597 # fullscreen: ONLY IMPLEMENTED ON AMIGA
598 # Request that Bochs occupy the entire screen instead of a
602 # fullscreen: enabled=0
603 # fullscreen: enabled=1
604 #=======================================================================
605 #fullscreen: enabled=0
606 #screenmode: name="sample"
608 #=======================================================================
609 # ne2k: NE2000 compatible ethernet adapter
612 # ne2k: ioaddr=IOADDR, irq=IRQ, mac=MACADDR, ethmod=MODULE, ethdev=DEVICE, script=SCRIPT
614 # ioaddr, irq: You probably won't need to change ioaddr and irq, unless there
617 # mac: The MAC address MUST NOT match the address of any machine on the net.
618 # Also, the first byte must be an even number (bit 0 set means a multicast
619 # address), and you cannot use ff:ff:ff:ff:ff:ff because that's the broadcast
620 # address. For the ethertap module, you must use fe:fd:00:00:00:01. There may
621 # be other restrictions too. To be safe, just use the b0:c4... address.
623 # ethdev: The ethdev value is the name of the network interface on your host
624 # platform. On UNIX machines, you can get the name by running ifconfig. On
625 # Windows machines, you must run niclist to get the name of the ethdev.
626 # Niclist source code is in misc/niclist.c and it is included in Windows
629 # script: The script value is optional, and is the name of a script that
630 # is executed after bochs initialize the network interface. You can use
631 # this script to configure this network interface, or enable masquerading.
632 # This is mainly useful for the tun/tap devices that only exist during
633 # Bochs execution. The network interface name is supplied to the script
636 # If you don't want to make connections to any physical networks,
637 # you can use the following 'ethmod's to simulate a virtual network.
638 # null: All packets are discarded, but logged to a few files.
639 # arpback: ARP is simulated. Disabled by default.
640 # vde: Virtual Distributed Ethernet
641 # vnet: ARP, ICMP-echo(ping), DHCP and read/write TFTP are simulated.
642 # The virtual host uses 192.168.10.1.
643 # DHCP assigns 192.168.10.2 to the guest.
644 # TFTP uses the ethdev value for the root directory and doesn't
647 #=======================================================================
648 # ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01, ethmod=fbsd, ethdev=en0 #macosx
649 # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:00, ethmod=fbsd, ethdev=xl0
650 # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:00, ethmod=linux, ethdev=eth0
651 # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=win32, ethdev=MYCARD
652 # ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01, ethmod=tap, ethdev=tap0
653 # ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=/dev/net/tun0, script=./tunconfig
654 # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=null, ethdev=eth0
655 # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=vde, ethdev="/tmp/vde.ctl"
656 # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=vnet, ethdev="c:/temp"
658 #=======================================================================
660 # This enables a remap of a physical localized keyboard to a
661 # virtualized us keyboard, as the PC architecture expects.
662 # If enabled, the keymap file must be specified.
665 # keyboard_mapping: enabled=1, map=gui/keymaps/x11-pc-de.map
666 #=======================================================================
667 keyboard_mapping: enabled=0, map=
669 #=======================================================================
671 # Type of keyboard return by a "identify keyboard" command to the
672 # keyboard controler. It must be one of "xt", "at" or "mf".
673 # Defaults to "mf". It should be ok for almost everybody. A known
674 # exception is french macs, that do have a "at"-like keyboard.
678 #=======================================================================
681 #=======================================================================
683 # This defines the keyboard shortcut to be sent when you press the "user"
684 # button in the headerbar. The shortcut string is a combination of maximum
685 # 3 key names (listed below) separated with a '-' character.
687 # "alt", "bksl", "bksp", "ctrl", "del", "down", "end", "enter", "esc",
688 # "f1", ... "f12", "home", "ins", "left", "menu", "minus", "pgdwn", "pgup",
689 # "plus", "right", "shift", "space", "tab", "up", "win", "print" and "power".
692 # user_shortcut: keys=ctrl-alt-del
693 #=======================================================================
694 #user_shortcut: keys=ctrl-alt-del
696 #=======================================================================
698 # This option controls the presence of the i440FX PCI chipset. You can
699 # also specify the devices connected to PCI slots. Up to 5 slots are
700 # available now. These devices are currently supported: ne2k, pcivga,
701 # pcidev and pcipnic. If Bochs is compiled with Cirrus SVGA support
702 # you'll have the additional choice 'cirrus'.
705 # i440fxsupport: enabled=1, slot1=pcivga, slot2=ne2k
706 #=======================================================================
707 i440fxsupport: enabled=1
709 #=======================================================================
711 # This option controls the presence of the USB root hub which is a part
712 # of the i440FX PCI chipset. With the portX option you can connect devices
713 # to the hub (currently supported: 'mouse', 'tablet', 'keypad' and 'disk').
714 # If you connect the mouse or tablet to one of the ports, Bochs forwards the
715 # mouse movement data to the USB device instead of the selected mouse type.
716 # When connecting the keypad to one of the ports, Bochs forwards the input of
717 # the numeric keypad to the USB device instead of the PS/2 keyboard.
718 # To connect a flat image as an USB hardisk you can use the 'disk' device with
719 # the path to the image separated with a colon (see below).
720 #=======================================================================
722 #usb1: enabled=1, port1=mouse, port2=disk:usbdisk.img
724 #=======================================================================
726 # This defines image file that can be loaded into the CMOS RAM at startup.
727 # The rtc_init parameter controls whether initialize the RTC with values stored
728 # in the image. By default the time0 argument given to the clock option is used.
729 # With 'rtc_init=image' the image is the source for the initial time.
732 # cmosimage: file=cmos.img, rtc_init=image
733 #=======================================================================
734 #cmosimage: file=cmos.img, rtc_init=time0
736 #=======================================================================
738 # This enables the "magic breakpoint" feature when using the debugger.
739 # The useless cpu instruction XCHG BX, BX causes Bochs to enter the
740 # debugger mode. This might be useful for software development.
743 # magic_break: enabled=1
744 #=======================================================================
745 #magic_break: enabled=1
747 #=======================================================================
749 # This loads symbols from the specified file for use in Bochs' internal
750 # debugger. Symbols are loaded into global context. This is equivalent to
751 # issuing ldsym debugger command at start up.
754 # debug_symbols: file="kernel.sym"
755 # debug_symbols: file="kernel.sym", offset=0x80000000
756 #=======================================================================
757 #debug_symbols: file="kernel.sym"
759 #=======================================================================
761 #=======================================================================
762 #load32bitOSImage: os=nullkernel, path=../kernel.img, iolog=../vga_io.log
763 #load32bitOSImage: os=linux, path=../linux.img, iolog=../vga_io.log, initrd=../initrd.img
764 #text_snapshot_check: enabled=1
765 #print_timestamps: enabled=1
767 #-------------------------
768 # PCI host device mapping
769 #-------------------------
770 #pcidev: vendor=0x1234, device=0x5678
772 #=======================================================================
774 # Enable GDB stub. See user documentation for details.
775 # Default value is enabled=0.
776 #=======================================================================
777 #gdbstub: enabled=0, port=1234, text_base=0, data_base=0, bss_base=0
779 #=======================================================================
780 # for Macintosh, use the style of pathnames in the following
783 # vgaromimage: :bios:VGABIOS-elpin-2.40
784 # romimage: file=:bios:BIOS-bochs-latest, address=0xf0000
785 # floppya: 1_44=[fd:], status=inserted
786 #=======================================================================