Subversion Repositories HelenOS-historic

Rev

Rev 534 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
215 jermar 1
# You may now use double quotes around pathnames, in case
2
# your pathname includes spaces.
3
 
4
#=======================================================================
5
# CONFIG_INTERFACE
6
#
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.
15
#
16
# NOTE: if you use the "wx" configuration interface, you must also use
17
# the "wx" display library.
18
#=======================================================================
19
config_interface: textconfig
20
#config_interface: wx
21
 
22
#=======================================================================
23
# DISPLAY_LIBRARY
24
#
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
30
# you.
31
#
32
# The choices are: 
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 wxWindows library, cross platform
44
#   nogui          no display at all
45
#
46
# NOTE: if you use the "wx" configuration interface, you must also use
47
# the "wx" display library.
48
#=======================================================================
49
#display_library: amigaos
50
#display_library: beos
51
#display_library: carbon
52
#display_library: macintosh
53
#display_library: nogui
54
#display_library: rfb
55
#display_library: sdl
56
#display_library: term
57
#display_library: win32
58
#display_library: wx
59
display_library: x 
60
 
61
#=======================================================================
62
# ROMIMAGE:
63
# You now need to load a ROM BIOS into F0000-FFFFF. Normally, you can
64
# use a precompiled BIOS in the bios/ directory of the source tree,
65
# named BIOS-bochs-latest.
66
# You can also use the environment variable $BXSHARE to specify the
67
# location of the BIOS.
68
#=======================================================================
69
#romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000
70
#romimage: file=bios/BIOS-bochs-2-processors, address=0xf0000
71
romimage: file=$BXSHARE/BIOS-bochs-8-processors, address=0xf0000
72
#romimage: file=bios/rombios.bin, address=0xf0000
73
 
74
#=======================================================================
75
# MEGS
76
# set this to the default number of Megabytes of memory you want
77
# to emulate.  You may also pass the '-megs xyz' option to bochs
78
#
79
# The default is 32MB, most OS's won't need more than that. 
80
#=======================================================================
81
#megs: 256
82
#megs: 128
83
#megs: 64
84
megs: 32
85
#megs: 16
86
#megs: 8
87
 
88
#=======================================================================
89
# OPTROMIMAGE[1-4]:
90
# You may now load up to 4 optional ROM images. Be sure to use a 
91
# read-only area, typically between C8000 and EFFFF. These optional
92
# ROM images should not overwrite the rombios (located at
93
# F0000-FFFFF) and the videobios (located at C0000-C7FFF).
94
# Those ROM images will be initialized by the bios if they contain 
95
# the right signature (0x55AA).
96
# It can also be a convenient way to upload some arbitary code/data
97
# in the simulation, that can be retrieved by the boot loader
98
#=======================================================================
99
#optromimage1: file=optionalrom.bin, address=0xd0000
100
#optromimage2: file=optionalrom.bin, address=0xd1000
101
#optromimage3: file=optionalrom.bin, address=0xd2000
102
#optromimage4: file=optionalrom.bin, address=0xd3000
103
 
104
#=======================================================================
105
# VGAROMIMAGE
106
# You now need to load a VGA ROM BIOS into C0000.
107
#=======================================================================
108
vgaromimage: $BXSHARE/VGABIOS-lgpl-latest
109
#vgaromimage: bios/VGABIOS-elpin-2.40
110
#vgaromimage: $BXSHARE/VGABIOS-elpin-2.40
111
 
112
#=======================================================================
113
# FLOPPYA:
114
# Point this to pathname of floppy image file or device
115
# This should be of a bootable floppy(image/device) if you're 
116
# booting from 'a'.
117
#
118
# You can set the initial status of the media to 'ejected' or 'inserted'.
119
#   floppya: 2_88=path, status=ejected             (2.88M 3.5" floppy)
120
#   floppya: 1_44=path, status=inserted            (1.44M 3.5" floppy)
121
#   floppya: 1_2=path, status=ejected              (1.2M  5.25" floppy)
122
#   floppya: 720k=path, status=inserted            (720K  3.5" floppy)
123
#   floppya: 360k=path, status=inserted            (360K  5.25" floppy)
124
#   floppya: 320k=path, status=inserted            (320K  5.25" floppy)
125
#   floppya: 180k=path, status=inserted            (180K  5.25" floppy)
126
#   floppya: 160k=path, status=inserted            (160K  5.25" floppy)
127
#
128
# The path should be the name of a disk image file.  On unix, you can use
129
# a raw device name such as /dev/fd0 on Linux.  On WinNT and Win2k, use
130
# drive letters such as a: or b: as the path.  Raw floppy access is not
131
# supported on Windows 95 and 98.
132
#=======================================================================
718 decky 133
floppya: 1_44=image.boot, status=inserted
215 jermar 134
#floppya: 1_44=/dev/fd0, status=inserted
135
 
136
#=======================================================================
137
# FLOPPYB:
138
# See FLOPPYA above for syntax
139
#=======================================================================
140
#floppyb: 1_44=b:, status=inserted
141
#floppyb: 1_44=b.img, status=inserted
142
 
143
#=======================================================================
144
# ATA0, ATA1, ATA2, ATA3
145
# ATA controller for hard disks and cdroms
146
#
147
# ata[0-3]: enabled=[0|1], ioaddr1=addr, ioaddr2=addr, irq=number
148
# 
149
# These options enables up to 4 ata channels. For each channel
150
# the two base io addresses and the irq must be specified.
151
# 
152
# ata0 is enabled by default, with ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
153
#
154
# Examples:
155
#   ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
156
#   ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
157
#   ata2: enabled=1, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11
158
#   ata3: enabled=1, ioaddr1=0x168, ioaddr2=0x360, irq=9
159
#=======================================================================
160
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
161
ata1: enabled=0, ioaddr1=0x170, ioaddr2=0x370, irq=15
162
ata2: enabled=0, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11
163
ata3: enabled=0, ioaddr1=0x168, ioaddr2=0x360, irq=9
164
 
165
#=======================================================================
166
# ATA[0-3]-MASTER, ATA[0-3]-SLAVE
167
#
168
# This defines the type and characteristics of all attached ata devices:
169
#   type=       type of attached device [disk|cdrom] 
170
#   mode=       only valid for disks [flat|concat|external|dll|sparse|vmware3]
171
#   mode=       only valid for disks [undoable|growing|volatile]
172
#   path=       path of the image
173
#   cylinders=  only valid for disks
174
#   heads=      only valid for disks
175
#   spt=        only valid for disks
176
#   status=     only valid for cdroms [inserted|ejected]
177
#   biosdetect= type of biosdetection [none|auto], only for disks on ata0 [cmos]
178
#   translation=type of transation of the bios, only for disks [none|lba|large|rechs|auto]
179
#   model=      string returned by identify device command
180
#   journal=    optional filename of the redolog for undoable and volatile disks
181
#   
182
# Point this at a hard disk image file, cdrom iso file, or physical cdrom
183
# device.  To create a hard disk image, try running bximage.  It will help you
184
# choose the size and then suggest a line that works with it.
185
#
186
# In UNIX it may be possible to use a raw device as a Bochs hard disk, 
187
# but WE DON'T RECOMMEND IT.  In Windows there is no easy way.
188
#
189
# In windows, the drive letter + colon notation should be used for cdroms.
190
# Depending on versions of windows and drivers, you may only be able to 
191
# access the "first" cdrom in the system.  On MacOSX, use path="drive"
192
# to access the physical drive.
193
#
194
# The path, cylinders, heads, and spt are mandatory for type=disk
195
# The path is mandatory for type=cdrom
196
#
197
# Default values are:
198
#   mode=flat, biosdetect=auto, translation=auto, model="Generic 1234"
199
#
200
# The biosdetect option has currently no effect on the bios
201
#
202
# Examples:
203
#   ata0-master: type=disk, mode=flat, path=10M.sample, cylinders=306, heads=4, spt=17
204
#   ata0-slave:  type=disk, mode=flat, path=20M.sample, cylinders=615, heads=4, spt=17
205
#   ata1-master: type=disk, mode=flat, path=30M.sample, cylinders=615, heads=6, spt=17
206
#   ata1-slave:  type=disk, mode=flat, path=46M.sample, cylinders=940, heads=6, spt=17
207
#   ata2-master: type=disk, mode=flat, path=62M.sample, cylinders=940, heads=8, spt=17
208
#   ata2-slave:  type=disk, mode=flat, path=112M.sample, cylinders=900, heads=15, spt=17
209
#   ata3-master: type=disk, mode=flat, path=483M.sample, cylinders=1024, heads=15, spt=63
210
#   ata3-slave:  type=cdrom, path=iso.sample, status=inserted
211
#=======================================================================
212
#ata0-master: type=disk, mode=flat, path="30M.sample", cylinders=615, heads=6, spt=17
213
#ata0-slave: type=cdrom, path=D:, status=inserted
214
#ata0-slave: type=cdrom, path=/dev/cdrom, status=inserted
215
#ata0-slave: type=cdrom, path="drive", status=inserted
216
#ata0-slave: type=cdrom, path=/dev/rcd0d, status=inserted 
217
 
218
#=======================================================================
219
# BOOT:
220
# This defines your boot drive.  
221
# You can either boot from 'floppy', 'disk' or 'cdrom'
222
# legacy 'a' and 'c' are also supported
223
# Examples:
224
#   boot: floppy
225
#   boot: disk
226
#   boot: cdrom
227
#   boot: c
228
#   boot: a
229
#=======================================================================
230
boot: floppy
231
#boot: disk
232
 
233
#=======================================================================
234
# IPS:
235
# Emulated Instructions Per Second.  This is the number of IPS that bochs
236
# is capable of running on your machine.  Read the note in config.h
237
# on how to find this.  Make sure to recompile after.
238
#
239
# IPS is used to calibrate many time-dependent events within the bochs 
240
# simulation.  For example, changing IPS affects the frequency of VGA
241
# updates, the duration of time before a key starts to autorepeat, and 
242
# the measurement of BogoMips and other benchmarks.
243
#
244
# Examples:
245
# Machine                                         Mips
246
# ________________________________________________________________
247
# 650Mhz Athlon K-7 with Linux 2.4.4/egcs-2.91.66 2 to 2.5 Mips
248
# 400Mhz Pentium II with Linux 2.0.36/egcs-1.0.3  1 to 1.8 Mips
249
# 166Mhz 64bit Sparc with Solaris 2.x             approx 0.75 Mips
250
# 200Mhz Pentium with Linux 2.x                   approx 0.5 Mips
251
#
252
#=======================================================================
253
ips: 2500000
254
 
255
#=======================================================================
256
# CLOCK:
257
# This defines the parameters of the clock inside Bochs:
258
#
259
#  SYNC:
260
#  TO BE COMPLETED (see Greg explaination in bug #536329)
261
#
262
#  TIME0:
263
#  Specifies the start (boot) time of the virtual machine. Use a time 
264
#  value as returned by the time(2) system call. If no time0 value is 
265
#  set or if time0 equal to 1 (special case) or if time0 equal 'local', 
266
#  the simulation will be started at the current local host time.
267
#  If time0 equal to 2 (special case) or if time0 equal 'utc',
268
#  the simulation will be started at the current utc time.
269
#
270
# Syntax:
271
#  clock: sync=[none|slowdown|realtime], time0=[timeValue|local|utc]
272
#
273
# Example:
274
#   clock: sync=none,     time0=local       # Now (localtime)
275
#   clock: sync=slowdown, time0=315529200   # Tue Jan  1 00:00:00 1980
276
#   clock: sync=none,     time0=631148400   # Mon Jan  1 00:00:00 1990
277
#   clock: sync=realtime, time0=938581955   # Wed Sep 29 07:12:35 1999
278
#   clock: sync=realtime, time0=946681200   # Sat Jan  1 00:00:00 2000
279
#   clock: sync=none,     time0=1           # Now (localtime)
280
#   clock: sync=none,     time0=utc         # Now (utc/gmt)
281
# 
282
# Default value are sync=none, time0=local
283
#=======================================================================
284
clock: sync=none, time0=local
285
 
286
 
287
#=======================================================================
288
# FLOPPY_BOOTSIG_CHECK: disabled=[0|1]
289
# Enables or disables the 0xaa55 signature check on boot floppies
290
# Defaults to disabled=0
291
# Examples:
292
#   floppy_bootsig_check: disabled=0
293
#   floppy_bootsig_check: disabled=1
294
#=======================================================================
295
#floppy_bootsig_check: disabled=1
296
floppy_bootsig_check: disabled=1
297
 
298
#=======================================================================
299
# LOG:
300
# Give the path of the log file you'd like Bochs debug and misc. verbage
301
# to be written to.  If you really don't want it, make it /dev/null. :^(
302
#
303
# Examples:
304
#   log: ./bochs.out
305
#   log: /dev/tty
306
#=======================================================================
307
#log: /dev/null
308
log: bochsout.txt
309
 
310
#=======================================================================
311
# LOGPREFIX:
312
# This handles the format of the string prepended to each log line.
313
# You may use those special tokens :
314
#   %t : 11 decimal digits timer tick
315
#   %i : 8 hexadecimal digits of cpu0 current eip
316
#   %e : 1 character event type ('i'nfo, 'd'ebug, 'p'anic, 'e'rror)
317
#   %d : 5 characters string of the device, between brackets
318
# 
319
# Default : %t%e%d
320
# Examples:
321
#   logprefix: %t-%e-@%i-%d
322
#   logprefix: %i%e%d
323
#=======================================================================
324
#logprefix: %t%e%d
325
 
326
#=======================================================================
327
# LOG CONTROLS
328
#
329
# Bochs now has four severity levels for event logging.
330
#   panic: cannot proceed.  If you choose to continue after a panic, 
331
#          don't be surprised if you get strange behavior or crashes.
332
#   error: something went wrong, but it is probably safe to continue the
333
#          simulation.
334
#   info: interesting or useful messages.
335
#   debug: messages useful only when debugging the code.  This may
336
#          spit out thousands per second.
337
#
338
# For events of each level, you can choose to crash, report, or ignore.
339
# TODO: allow choice based on the facility: e.g. crash on panics from
340
#       everything except the cdrom, and only report those.
341
#
342
# If you are experiencing many panics, it can be helpful to change
343
# the panic action to report instead of fatal.  However, be aware
344
# that anything executed after a panic is uncharted territory and can 
345
# cause bochs to become unstable.  The panic is a "graceful exit," so
346
# if you disable it you may get a spectacular disaster instead.
347
#=======================================================================
348
panic: action=ask
349
error: action=report
350
info: action=report
351
debug: action=ignore
352
#pass: action=fatal
353
 
354
#=======================================================================
355
# DEBUGGER_LOG:
356
# Give the path of the log file you'd like Bochs to log debugger output.
357
# If you really don't want it, make it /dev/null or '-'. :^(
358
#
359
# Examples:
360
#   debugger_log: ./debugger.out
361
#=======================================================================
362
#debugger_log: /dev/null
363
#debugger_log: debugger.out
364
debugger_log: -
365
 
366
#=======================================================================
367
# COM1:
368
# This defines a serial port (UART type 16550A). You can specify a device
369
# to use as com1. This can be a real serial line, or a pty.  To use a pty
370
# (under X/Unix), create two windows (xterms, usually).  One of them will
371
# run bochs, and the other will act as com1. Find out the tty the com1
372
# window using the `tty' command, and use that as the `dev' parameter.
373
# Then do `sleep 1000000' in the com1 window to keep the shell from
374
# messing with things, and run bochs in the other window.  Serial I/O to
375
# com1 (port 0x3f8) will all go to the other window.
376
#=======================================================================
377
#com1: enabled=1, dev=/dev/ttyp9
378
 
379
 
380
#=======================================================================
381
# PARPORT1:
382
# This defines a parallel (printer) port. When turned on and an output file is
383
# defined the emulated printer port sends characters printed by the guest OS
384
# into the output file. On some platforms a device filename can be used to
385
# send the data to the real parallel port (e.g. "/dev/lp0" on Linux, "lpt1" on
386
# win32 platforms).
387
#
388
# Examples:
389
#   parport1: enabled=1, file="parport.out"
390
#   parport1: enabled=1, file="/dev/lp0"
391
#   parport1: enabled=0
392
#=======================================================================
393
parport1: enabled=1, file="parport.out"
394
 
395
#=======================================================================
396
# SB16:
397
# This defines the SB16 sound emulation. It can have several of the
398
# following properties.
399
# All properties are in the format sb16: property=value
400
# midi: The filename is where the midi data is sent. This can be a
401
#       device or just a file if you want to record the midi data.
402
# midimode:
403
#      0=no data
404
#      1=output to device (system dependent. midi denotes the device driver)
405
#      2=SMF file output, including headers
406
#      3=output the midi data stream to the file (no midi headers and no
407
#        delta times, just command and data bytes)
408
# wave: This is the device/file where wave output is stored
409
# wavemode:
410
#      0=no data
411
#      1=output to device (system dependent. wave denotes the device driver)
412
#      2=VOC file output, incl. headers
413
#      3=output the raw wave stream to the file
414
# log:  The file to write the sb16 emulator messages to.
415
# loglevel:
416
#      0=no log
417
#      1=only midi program and bank changes
418
#      2=severe errors
419
#      3=all errors
420
#      4=all errors plus all port accesses
421
#      5=all errors and port accesses plus a lot of extra info
422
# dmatimer:
423
#      microseconds per second for a DMA cycle.  Make it smaller to fix
424
#      non-continous sound.  750000 is usually a good value.  This needs a
425
#      reasonably correct setting for IPS.
426
#
427
# For an example look at the next line:
428
#=======================================================================
429
 
430
#sb16: midimode=1, midi=/dev/midi00, wavemode=1, wave=/dev/dsp, loglevel=2, log=sb16.log, dmatimer=600000
431
 
432
#=======================================================================
433
# VGA_UPDATE_INTERVAL:
434
# Video memory is scanned for updates and screen updated every so many
435
# virtual seconds.  The default is 300000, about 3Hz.  This is generally
436
# plenty.  Keep in mind that you must tweak the 'ips:' directive
437
# to be as close to the number of emulated instructions-per-second
438
# your workstation can do, for this to be accurate.
439
#
440
# Examples:
441
#   vga_update_interval: 250000
442
#=======================================================================
443
vga_update_interval: 300000
444
 
445
# using for Winstone '98 tests
446
#vga_update_interval:  100000
447
 
448
#=======================================================================
449
# KEYBOARD_SERIAL_DELAY:
450
# Approximate time in microseconds that it takes one character to
451
# be transfered from the keyboard to controller over the serial path.
452
# Examples:
453
#   keyboard_serial_delay: 200
454
#=======================================================================
455
keyboard_serial_delay: 250
456
 
457
#=======================================================================
458
# KEYBOARD_PASTE_DELAY:
459
# Approximate time in microseconds between attempts to paste
460
# characters to the keyboard controller. This leaves time for the
461
# guest os to deal with the flow of characters.  The ideal setting
462
# depends on how your operating system processes characters.  The
463
# default of 100000 usec (.1 seconds) was chosen because it works 
464
# consistently in Windows.
465
#
466
# If your OS is losing characters during a paste, increase the paste
467
# delay until it stops losing characters.
468
#
469
# Examples:
470
#   keyboard_paste_delay: 100000
471
#=======================================================================
472
keyboard_paste_delay: 100000
473
 
474
#=======================================================================
475
# FLOPPY_COMMAND_DELAY:
476
# Time in microseconds to wait before completing some floppy commands
477
# such as read/write/seek/etc, which normally have a delay associated.
478
# I had this hardwired to 50,000 before.
479
#
480
# Examples:
481
#   floppy_command_delay: 50000
482
#=======================================================================
483
floppy_command_delay: 500
484
 
485
#=======================================================================
486
# MOUSE: 
487
# This option prevents Bochs from creating mouse "events" unless a mouse
488
# is  enabled. The hardware emulation itself is not disabled by this.
489
# You can turn the mouse on by setting enabled to 1, or turn it off by
490
# setting enabled to 0. Unless you have a particular reason for enabling
491
# the mouse by default, it is recommended that you leave it off.
492
# You can also toggle the mouse usage at runtime (middle mouse button on
493
# X11 and SDL, F12 on Win32).
494
#
495
# Examples:
496
#   mouse: enabled=1
497
#   mouse: enabled=0
498
#=======================================================================
499
mouse: enabled=0
500
 
501
#=======================================================================
502
# private_colormap: Request that the GUI create and use it's own
503
#                   non-shared colormap.  This colormap will be used
504
#                   when in the bochs window.  If not enabled, a
505
#                   shared colormap scheme may be used.  Not implemented
506
#                   on all GUI's.
507
#
508
# Examples:
509
#   private_colormap: enabled=1
510
#   private_colormap: enabled=0
511
#=======================================================================
512
private_colormap: enabled=0
513
 
514
#=======================================================================
515
# fullscreen: ONLY IMPLEMENTED ON AMIGA
516
#             Request that Bochs occupy the entire screen instead of a 
517
#             window.
518
#
519
# Examples:
520
#   fullscreen: enabled=0
521
#   fullscreen: enabled=1
522
#=======================================================================
523
#fullscreen: enabled=0
524
#screenmode: name="sample"
525
 
526
#=======================================================================
527
# ne2k: NE2000 compatible ethernet adapter
528
#
529
# Examples:
530
# ne2k: ioaddr=IOADDR, irq=IRQ, mac=MACADDR, ethmod=MODULE, ethdev=DEVICE, script=SCRIPT
531
#
532
# ioaddr, irq: You probably won't need to change ioaddr and irq, unless there
533
# are IRQ conflicts.
534
#
535
# mac: The MAC address MUST NOT match the address of any machine on the net.
536
# Also, the first byte must be an even number (bit 0 set means a multicast
537
# address), and you cannot use ff:ff:ff:ff:ff:ff because that's the broadcast
538
# address.  For the ethertap module, you must use fe:fd:00:00:00:01.  There may
539
# be other restrictions too.  To be safe, just use the b0:c4... address.
540
#
541
# ethdev: The ethdev value is the name of the network interface on your host
542
# platform.  On UNIX machines, you can get the name by running ifconfig.  On
543
# Windows machines, you must run niclist to get the name of the ethdev.
544
# Niclist source code is in misc/niclist.c and it is included in Windows 
545
# binary releases.
546
#
547
# script: The script value is optionnal, and is the name of a script that 
548
# is executed after bochs initialize the network interface. You can use 
549
# this script to configure this network interface, or enable masquerading.
550
# This is mainly useful for the tun/tap devices that only exist during
551
# Bochs execution. The network interface name is supplied to the script
552
# as first parameter
553
#=======================================================================
554
# ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=fbsd, ethdev=en0 #macosx
555
# ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:00, ethmod=fbsd, ethdev=xl0
556
# ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:00, ethmod=linux, ethdev=eth0
557
# ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=win32, ethdev=MYCARD
558
# ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=tap, ethdev=tap0
559
# ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=tun0, script=./tunconfig
560
 
561
#=======================================================================
562
# KEYBOARD_MAPPING:
563
# This enables a remap of a physical localized keyboard to a 
564
# virtualized us keyboard, as the PC architecture expects.
565
# If enabled, the keymap file must be specified.
566
# 
567
# Examples:
568
#   keyboard_mapping: enabled=1, map=gui/keymaps/x11-pc-de.map
569
#=======================================================================
570
keyboard_mapping: enabled=0, map=
571
 
572
#=======================================================================
573
# KEYBOARD_TYPE:
574
# Type of keyboard return by a "identify keyboard" command to the
575
# keyboard controler. It must be one of "xt", "at" or "mf".
576
# Defaults to "mf". It should be ok for almost everybody. A known
577
# exception is french macs, that do have a "at"-like keyboard.
578
#
579
# Examples:
580
#   keyboard_type: mf
581
#=======================================================================
582
#keyboard_type: mf
583
 
584
#=======================================================================
585
# USER_SHORTCUT:
586
# This defines the keyboard shortcut to be sent when you press the "user"
587
# button in the headerbar. The shortcut string can be a combination of
588
# these key names: "alt", "bksp", "ctrl", "del", "esc", "f1", "f4", "tab"
589
# and "win". Up to 3 keys can be pressed at a time.
590
#
591
# Example:
592
#   user_shortcut: keys=ctrlaltdel
593
#=======================================================================
594
#user_shortcut: keys=ctrlaltdel
595
 
596
#=======================================================================
597
# other stuff
598
#=======================================================================
599
#magic_break: enabled=1
600
#cmosimage: cmos.img
601
#load32bitOSImage: os=nullkernel, path=../kernel.img, iolog=../vga_io.log
602
#load32bitOSImage: os=linux, path=../linux.img, iolog=../vga_io.log, initrd=../initrd.img
603
#i440fxsupport: enabled=1
604
usb1: enabled=1, ioaddr=0xFF80, irq=10
605
#text_snapshot_check: enable
606
 
607
#=======================================================================
608
# for Macintosh, use the style of pathnames in the following
609
# examples.
610
#
611
# vgaromimage: :bios:VGABIOS-elpin-2.40
612
# romimage: file=:bios:BIOS-bochs-latest, address=0xf0000
613
# floppya: 1_44=[fd:], status=inserted
614
#=======================================================================
615
 
616
 
617
#=======================================================================
618
#
619
# The following directives are DEPRECATED 
620
# Please convert them to the new syntax  or remove them
621
#
622
#=======================================================================
623
 
624
#=======================================================================
625
#
626
# The DISKC option is deprecated. Use ATA* options instead.
627
#
628
# DISKC: file=, cyl=, heads=, spt=
629
# Point this at a hard disk image file.  To create 
630
# a hard disk image, try running bximage.  It will help you choose the
631
# size and then suggest a diskc line that works with it.
632
#
633
# In UNIX it may be possible to use a raw device as a Bochs hard disk, 
634
# but WE DON'T RECOMMEND IT.  In Windows there is no easy way.
635
#
636
# Examples:
637
#   diskc: file=10M.sample, cyl=306, heads=4, spt=17
638
#   diskc: file=20M.sample, cyl=615, heads=4, spt=17
639
#   diskc: file=30M.sample, cyl=615, heads=6, spt=17
640
#   diskc: file=46M.sample, cyl=940, heads=6, spt=17
641
#   diskc: file=62M.sample, cyl=940, heads=8, spt=17
642
#   diskc: file=112M.sample, cyl=900, heads=15, spt=17
643
#   diskc: file=483M.sample, cyl=1024, heads=15, spt=63
644
#=======================================================================
645
#diskc: file="30M.sample", cyl=615, heads=6, spt=17
646
 
647
#=======================================================================
648
#
649
# The DISKD option is deprecated. Use ATA* options instead.
650
#
651
# DISKD:
652
# See DISKC above for syntax
653
#
654
# NOTE: diskd and cdromd must not be used together!
655
#=======================================================================
656
#diskd: file="diskd.img", cyl=615, heads=6, spt=17
657
 
658
#=======================================================================
659
#
660
# The CDROMD option is deprecated. Use ATA* options instead.
661
#
662
# CDROMD:
663
#
664
# cdromd: dev=/dev/cdrom, status=inserted
665
# cdromd: dev=/dev/cdrom, status=ejected
666
# cdromd: dev=e:, status=ejected
667
#
668
# In windows, the drive letter + colon notation should be used for cdroms.
669
# Depending on versions of windows and drivers, you may only be able to 
670
# access the "first" cdrom in the system.  On MacOSX, use path="drive"
671
# to access the physical drive.
672
#
673
# NOTE: diskd and cdromd must not be used together!
674
#=======================================================================
675
#cdromd: dev=D:, status=inserted
676
#cdromd: dev=/dev/cdrom, status=inserted
677
#cdromd: dev="drive", status=inserted
678
 
679
#=======================================================================
680
#
681
# The TIME0 directive is DEPRECATED. Use the CLOCK directive instead
682
#
683
# TIME0:
684
# Specifies the start (boot) time of the virtual machine. Use a time 
685
# value as returned by the time(2) system call. If no time0 value is 
686
# set or if time0 equal to 1 (special case), the simulation will be
687
# started at the current time of the host. 
688
#
689
# Examples:
690
#   time0: 1           # Now
691
#   time0: 315529200   # Tue Jan  1 00:00:00 1980
692
#   time0: 631148400   # Mon Jan  1 00:00:00 1990
693
#   time0: 938581955   # Wed Sep 29 07:12:35 1999
694
#   time0: 946681200   # Sat Jan  1 00:00:00 2000
695
#=======================================================================
696
#time0: 938581955
697
 
698
#=======================================================================
699
#
700
# The PIT directive is DEPRECATED. Use the CLOCK directive instead
701
#
702
# PIT:
703
# The PIT is the programmable interval timer.  It has an option that tries to
704
# keep the PIT in sync with real time.  This feature is still experimental,
705
# but it may be useful if you want to prevent Bochs from running too fast, for
706
# example a DOS video game.  Be aware that with the realtime pit option, your
707
# simulation will not be repeatable; this can a problem if you are debugging.
708
#=======================================================================
709
#pit: realtime=1
710
 
711
#=======================================================================
712
# NEWHARDDRIVESUPPORT: enabled=[0|1]
713
# The old harddrive code is not maintened any more.
714
# Default value is enabled=1
715
#=======================================================================
716
#newharddrivesupport: enabled=1
717