You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bochsrc.txt 28KB

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