Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

bochsrc.txt 33KB

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