home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2004 March / VPR0403.ISO / Aist / .bochsrc next >
Text File  |  2003-09-21  |  26KB  |  604 lines

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