選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

bochsrc.txt 51KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131
  1. # You may now use double quotes around pathnames, in case
  2. # your pathname includes spaces.
  3. #=======================================================================
  4. # PLUGIN_CTRL:
  5. # Controls the presence of optional device plugins. These plugins are loaded
  6. # directly with this option and some of them install a config option that is
  7. # only available when the plugin device is loaded. The value "1" means to load
  8. # the plugin and "0" will unload it (if loaded before).
  9. # These plugins are currently supported: 'biosdev', 'e1000', 'es1370',
  10. # 'extfpuirq', 'gameport', 'iodebug', 'ne2k', 'parallel', 'pcidev', 'pcipnic',
  11. # 'sb16', 'serial', 'speaker', 'unmapped', 'usb_ohci', 'usb_uhci' and 'usb_xhci'.
  12. #=======================================================================
  13. plugin_ctrl: unmapped=1, biosdev=1, speaker=1, e1000=1, parallel=1, serial=1
  14. #=======================================================================
  15. # CONFIG_INTERFACE
  16. #
  17. # The configuration interface is a series of menus or dialog boxes that
  18. # allows you to change all the settings that control Bochs's behavior.
  19. # Depending on the platform there are up to 3 choices of configuration
  20. # interface: a text mode version called "textconfig" and two graphical versions
  21. # called "win32config" and "wx". The text mode version uses stdin/stdout and
  22. # is always compiled in, unless Bochs is compiled for wx only. The choice
  23. # "win32config" is only available on win32 and it is the default there.
  24. # The choice "wx" is only available when you use "--with-wx" on the configure
  25. # command. If you do not write a config_interface line, Bochs will
  26. # choose a default for you.
  27. #
  28. # NOTE: if you use the "wx" configuration interface, you must also use
  29. # the "wx" display library.
  30. #=======================================================================
  31. #config_interface: textconfig
  32. #config_interface: win32config
  33. #config_interface: wx
  34. #=======================================================================
  35. # DISPLAY_LIBRARY
  36. #
  37. # The display library is the code that displays the Bochs VGA screen. Bochs
  38. # has a selection of about 10 different display library implementations for
  39. # different platforms. If you run configure with multiple --with-* options,
  40. # the display_library command lets you choose which one you want to run with.
  41. # If you do not write a display_library line, Bochs will choose a default for
  42. # you.
  43. #
  44. # The choices are:
  45. # x use X windows interface, cross platform
  46. # win32 use native win32 libraries
  47. # carbon use Carbon library (for MacOS X)
  48. # macintosh use MacOS pre-10
  49. # amigaos use native AmigaOS libraries
  50. # sdl use SDL library, cross platform
  51. # svga use SVGALIB library for Linux, allows graphics without X11
  52. # term text only, uses curses/ncurses library, cross platform
  53. # rfb provides an interface to AT&T's VNC viewer, cross platform
  54. # wx use wxWidgets library, cross platform
  55. # nogui no display at all
  56. #
  57. # NOTE: if you use the "wx" configuration interface, you must also use
  58. # the "wx" display library.
  59. #
  60. # Specific options:
  61. # Some display libraries now support specific options to control their
  62. # behaviour. These options are supported by more than one display library:
  63. #
  64. # "gui_debug" - use GTK debugger gui (sdl, x) / Win32 debugger gui (win32)
  65. # "hideIPS" - disable IPS output in status bar (sdl, wx, x)
  66. # "nokeyrepeat" - turn off host keyboard repeat (sdl, win32, x)
  67. #
  68. # See the examples below for other currently supported options.
  69. #=======================================================================
  70. #display_library: amigaos
  71. #display_library: carbon
  72. #display_library: macintosh
  73. #display_library: nogui
  74. #display_library: rfb, options="timeout=60" # time to wait for client
  75. #display_library: sdl, options="fullscreen" # startup in fullscreen mode
  76. #display_library: term
  77. #display_library: win32
  78. #display_library: wx
  79. #display_library: x
  80. #=======================================================================
  81. # ROMIMAGE:
  82. # The ROM BIOS controls what the PC does when it first powers on.
  83. # Normally, you can use a precompiled BIOS in the source or binary
  84. # distribution called BIOS-bochs-latest. The ROM BIOS is usually loaded
  85. # starting at address 0xf0000, and it is exactly 64k long. Another option
  86. # is 128k BIOS which is loaded at address 0xe0000.
  87. # You can also use the environment variable $BXSHARE to specify the
  88. # location of the BIOS.
  89. # The usage of external large BIOS images (up to 512k) at memory top is
  90. # now supported, but we still recommend to use the BIOS distributed with
  91. # Bochs. The start address optional, since it can be calculated from image size.
  92. #=======================================================================
  93. #romimage: file=$BXSHARE/BIOS-bochs-latest
  94. #romimage: file=bios/seabios-1.6.3.bin
  95. #romimage: file=mybios.bin, address=0xfff80000 # 512k at memory top
  96. romimage: file=bochs/bios/BIOS-bochs-latest
  97. #=======================================================================
  98. # CPU:
  99. # This defines cpu-related parameters inside Bochs:
  100. #
  101. # MODEL:
  102. # Selects CPU configuration to emulate from pre-defined list of all
  103. # supported configurations. When this option is used, the CPUID option
  104. # has no effect anymore.
  105. #
  106. # CPU configurations that can be selected:
  107. # -----------------------------------------------------------------
  108. # pentium_mmx Intel Pentium MMX
  109. # amd_k6_2_chomper AMD-K6(tm) 3D processor (Chomper)
  110. # p2_klamath Intel Pentium II (Klamath)
  111. # p3_katmai Intel Pentium III (Katmai)
  112. # p4_willamette Intel(R) Pentium(R) 4 (Willamette)
  113. # core_duo_t2400_yonah Intel(R) Core(TM) Duo CPU T2400 (Yonah)
  114. # atom_n270 Intel(R) Atom(TM) CPU N270
  115. # athlon64_clawhammer AMD Athlon(tm) 64 Processor 2800+ (Clawhammer)
  116. # athlon64_venice AMD Athlon(tm) 64 Processor 3000+ (Venice)
  117. # turion64_tyler AMD Turion(tm) 64 X2 Mobile TL-60 (Tyler)
  118. # phenom_8650_toliman AMD Phenom X3 8650 (Toliman)
  119. # p4_prescott_celeron_336 Intel(R) Celeron(R) 336 (Prescott)
  120. # core2_penryn_t9600 Intel Mobile Core 2 Duo T9600 (Penryn)
  121. # corei5_lynnfield_750 Intel(R) Core(TM) i5 750 (Lynnfield)
  122. # corei5_arrandale_m520 Intel(R) Core(TM) i5 M 520 (Arrandale)
  123. # corei7_sandy_bridge_2600k Intel(R) Core(TM) i7-2600K (Sandy Bridge)
  124. # corei7_ivy_bridge_3770k Intel(R) Core(TM) i7-3770K CPU (Ivy Bridge)
  125. #
  126. # COUNT:
  127. # Set the number of processors:cores per processor:threads per core
  128. # when Bochs is compiled for SMP emulation.
  129. # Bochs currently supports up to 8 threads running simultaniosly.
  130. # If Bochs is compiled without SMP support, it won't accept values
  131. # different from 1.
  132. #
  133. # QUANTUM:
  134. # Maximum amount of instructions allowed to execute by processor before
  135. # returning control to another cpu. This option exists only in Bochs
  136. # binary compiled with SMP support.
  137. #
  138. # RESET_ON_TRIPLE_FAULT:
  139. # Reset the CPU when triple fault occur (highly recommended) rather than
  140. # PANIC. Remember that if you trying to continue after triple fault the
  141. # simulation will be completely bogus !
  142. #
  143. # CPUID_LIMIT_WINNT:
  144. # Determine whether to limit maximum CPUID function to 2. This mode is
  145. # required to workaround WinNT installation and boot issues.
  146. #
  147. # MSRS:
  148. # Define path to user CPU Model Specific Registers (MSRs) specification.
  149. # See example in msrs.def.
  150. #
  151. # IGNORE_BAD_MSRS:
  152. # Ignore MSR references that Bochs does not understand; print a warning
  153. # message instead of generating #GP exception. This option is enabled
  154. # by default but will not be avaiable if configurable MSRs are enabled.
  155. #
  156. # MWAIT_IS_NOP:
  157. # When this option is enabled MWAIT will not put the CPU into a sleep state.
  158. # This option exists only if Bochs compiled with --enable-monitor-mwait.
  159. #
  160. # IPS:
  161. # Emulated Instructions Per Second. This is the number of IPS that bochs
  162. # is capable of running on your machine. You can recompile Bochs with
  163. # --enable-show-ips option enabled, to find your host's capability.
  164. # Measured IPS value will then be logged into your log file or shown
  165. # in the status bar (if supported by the gui).
  166. #
  167. # IPS is used to calibrate many time-dependent events within the bochs
  168. # simulation. For example, changing IPS affects the frequency of VGA
  169. # updates, the duration of time before a key starts to autorepeat, and
  170. # the measurement of BogoMips and other benchmarks.
  171. #
  172. # Examples:
  173. #
  174. # Bochs Machine/Compiler Mips
  175. # ______________________________________________________________________
  176. # 2.4.6 3.4Ghz Intel Core i7 2600 with Win7x64/g++ 4.5.2 85 to 95 Mips
  177. # 2.3.7 3.2Ghz Intel Core 2 Q9770 with WinXP/g++ 3.4 50 to 55 Mips
  178. # 2.3.7 2.6Ghz Intel Core 2 Duo with WinXP/g++ 3.4 38 to 43 Mips
  179. # 2.2.6 2.6Ghz Intel Core 2 Duo with WinXP/g++ 3.4 21 to 25 Mips
  180. # 2.2.6 2.1Ghz Athlon XP with Linux 2.6/g++ 3.4 12 to 15 Mips
  181. #=======================================================================
  182. cpu: model=core2_penryn_t9600, count=1, ips=50000000, reset_on_triple_fault=1, ignore_bad_msrs=1, msrs="msrs.def"
  183. cpu: cpuid_limit_winnt=0
  184. #=======================================================================
  185. # CPUID:
  186. #
  187. # This defines features and functionality supported by Bochs emulated CPU.
  188. # The option has no offect if CPU model was selected in CPU option.
  189. #
  190. # MMX:
  191. # Select MMX instruction set support.
  192. # This option exists only if Bochs compiled with BX_CPU_LEVEL >= 5.
  193. #
  194. # APIC:
  195. # Select APIC configuration (LEGACY/XAPIC/XAPIC_EXT/X2APIC).
  196. # This option exists only if Bochs compiled with BX_CPU_LEVEL >= 5.
  197. #
  198. # SEP:
  199. # Select SYSENTER/SYSEXIT instruction set support.
  200. # This option exists only if Bochs compiled with BX_CPU_LEVEL >= 6.
  201. #
  202. # SSE:
  203. # Select SSE instruction set support.
  204. # Any of NONE/SSE/SSE2/SSE3/SSSE3/SSE4_1/SSE4_2 could be selected.
  205. # This option exists only if Bochs compiled with BX_CPU_LEVEL >= 6.
  206. #
  207. # SSE4A:
  208. # Select AMD SSE4A instructions support.
  209. # This option exists only if Bochs compiled with BX_CPU_LEVEL >= 6.
  210. #
  211. # AES:
  212. # Select AES instruction set support.
  213. # This option exists only if Bochs compiled with BX_CPU_LEVEL >= 6.
  214. #
  215. # MOVBE:
  216. # Select MOVBE Intel(R) Atom instruction support.
  217. # This option exists only if Bochs compiled with BX_CPU_LEVEL >= 6.
  218. #
  219. # XSAVE:
  220. # Select XSAVE extensions support.
  221. # This option exists only if Bochs compiled with BX_CPU_LEVEL >= 6.
  222. #
  223. # XSAVEOPT:
  224. # Select XSAVEOPT instruction support.
  225. # This option exists only if Bochs compiled with BX_CPU_LEVEL >= 6.
  226. #
  227. # AVX:
  228. # Select AVX/AVX2 instruction set support.
  229. # This option exists only if Bochs compiled with --enable-avx option.
  230. #
  231. # AVX_F16C:
  232. # Select AVX float16 convert instructions support.
  233. # This option exists only if Bochs compiled with --enable-avx option.
  234. #
  235. # AVX_FMA:
  236. # Select AVX fused multiply add (FMA) instructions support.
  237. # This option exists only if Bochs compiled with --enable-avx option.
  238. #
  239. # BMI:
  240. # Select BMI1/BMI2 instructions support.
  241. # This option exists only if Bochs compiled with --enable-avx option.
  242. #
  243. # XOP:
  244. # Select AMD XOP instructions support.
  245. # This option exists only if Bochs compiled with --enable-avx option.
  246. #
  247. # FMA4:
  248. # Select AMD four operand FMA instructions support.
  249. # This option exists only if Bochs compiled with --enable-avx option.
  250. #
  251. # TBM:
  252. # Select AMD Trailing Bit Manipulation (TBM) instructions support.
  253. # This option exists only if Bochs compiled with --enable-avx option.
  254. #
  255. # X86-64:
  256. # Enable x86-64 and long mode support.
  257. # This option exists only if Bochs compiled with x86-64 support.
  258. #
  259. # 1G_PAGES:
  260. # Enable 1G page size support in long mode.
  261. # This option exists only if Bochs compiled with x86-64 support.
  262. #
  263. # PCID:
  264. # Enable Process-Context Identifiers (PCID) support in long mode.
  265. # This option exists only if Bochs compiled with x86-64 support.
  266. #
  267. # FSGSBASE:
  268. # Enable GS/GS BASE access instructions support in long mode.
  269. # This option exists only if Bochs compiled with x86-64 support.
  270. #
  271. # SMEP:
  272. # Enable Supervisor Mode Execution Protection (SMEP) support.
  273. # This option exists only if Bochs compiled with BX_CPU_LEVEL >= 6.
  274. #
  275. # MWAIT:
  276. # Select MONITOR/MWAIT instructions support.
  277. # This option exists only if Bochs compiled with --enable-monitor-mwait.
  278. #
  279. # VMX:
  280. # Select VMX extensions emulation support.
  281. # This option exists only if Bochs compiled with --enable-vmx option.
  282. #
  283. # VENDOR_STRING:
  284. # Set the CPUID vendor string returned by CPUID(0x0). This should be a
  285. # twelve-character ASCII string.
  286. #
  287. # BRAND_STRING:
  288. # Set the CPUID vendor string returned by CPUID(0x80000002 .. 0x80000004).
  289. # This should be at most a forty-eight-character ASCII string.
  290. #
  291. # FAMILY:
  292. # Set model information returned by CPUID. Default family value determined
  293. # by configure option --enable-cpu-level.
  294. #
  295. # MODEL:
  296. # Set model information returned by CPUID. Default model value is 3.
  297. #
  298. # STEPPING:
  299. # Set stepping information returned by CPUID. Default stepping value is 3.
  300. #=======================================================================
  301. #cpuid: x86_64=1, mmx=1, sep=1, sse=sse4_2, apic=xapic, aes=1, movbe=1, xsave=1
  302. #cpuid: family=6, model=0x1a, stepping=5
  303. #=======================================================================
  304. # MEMORY
  305. # Set the amount of physical memory you want to emulate.
  306. #
  307. # GUEST:
  308. # Set amount of guest physical memory to emulate. The default is 32MB,
  309. # the maximum amount limited only by physical address space limitations.
  310. #
  311. # HOST:
  312. # Set amount of host memory you want to allocate for guest RAM emulation.
  313. # It is possible to allocate less memory than you want to emulate in guest
  314. # system. This will fake guest to see the non-existing memory. Once guest
  315. # system touches new memory block it will be dynamically taken from the
  316. # memory pool. You will be warned (by FATAL PANIC) in case guest already
  317. # used all allocated host memory and wants more.
  318. #
  319. #=======================================================================
  320. memory: guest=512, host=256
  321. #=======================================================================
  322. # OPTROMIMAGE[1-4]:
  323. # You may now load up to 4 optional ROM images. Be sure to use a
  324. # read-only area, typically between C8000 and EFFFF. These optional
  325. # ROM images should not overwrite the rombios (located at
  326. # F0000-FFFFF) and the videobios (located at C0000-C7FFF).
  327. # Those ROM images will be initialized by the bios if they contain
  328. # the right signature (0x55AA) and a valid checksum.
  329. # It can also be a convenient way to upload some arbitrary code/data
  330. # in the simulation, that can be retrieved by the boot loader
  331. #=======================================================================
  332. #optromimage1: file=optionalrom.bin, address=0xd0000
  333. #optromimage2: file=optionalrom.bin, address=0xd1000
  334. #optromimage3: file=optionalrom.bin, address=0xd2000
  335. #optromimage4: file=optionalrom.bin, address=0xd3000
  336. optromimage1: file=../../src/bin/intel.rom, address=0xd0000
  337. #optramimage1: file=/path/file1.img, address=0x0010000
  338. #optramimage2: file=/path/file2.img, address=0x0020000
  339. #optramimage3: file=/path/file3.img, address=0x0030000
  340. #optramimage4: file=/path/file4.img, address=0x0040000
  341. #=======================================================================
  342. # VGAROMIMAGE
  343. # You now need to load a VGA ROM BIOS into C0000.
  344. #=======================================================================
  345. #vgaromimage: file=bios/VGABIOS-elpin-2.40
  346. #vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
  347. #vgaromimage: file=bios/VGABIOS-lgpl-latest-cirrus
  348. vgaromimage: file=bochs/bios/VGABIOS-lgpl-latest
  349. #=======================================================================
  350. # VGA:
  351. # This defines parameters related to the VGA display
  352. #
  353. # EXTENSION
  354. # Here you can specify the display extension to be used. With the value
  355. # 'none' you can use standard VGA with no extension. Other supported
  356. # values are 'vbe' for Bochs VBE and 'cirrus' for Cirrus SVGA support.
  357. #
  358. # UPDATE_FREQ
  359. # The VGA update frequency is based on the emulated clock and the default
  360. # value is 5. Keep in mind that you must tweak the 'cpu: ips=N' directive
  361. # to be as close to the number of emulated instructions-per-second your
  362. # workstation can do, for this to be accurate. If the realtime sync is
  363. # enabled with the 'clock' option, the value is based on the real time.
  364. # This parameter can be changed at runtime.
  365. #
  366. # Examples:
  367. # vga: extension=cirrus, update_freq=10
  368. #=======================================================================
  369. #vga: extension=vbe, update_freq=5
  370. #=======================================================================
  371. # FLOPPYA:
  372. # Point this to pathname of floppy image file or device
  373. # This should be of a bootable floppy(image/device) if you're
  374. # booting from 'a' (or 'floppy').
  375. #
  376. # You can set the initial status of the media to 'ejected' or 'inserted'.
  377. # floppya: 2_88=path, status=ejected (2.88M 3.5" media)
  378. # floppya: 1_44=path, status=inserted (1.44M 3.5" media)
  379. # floppya: 1_2=path, status=ejected (1.2M 5.25" media)
  380. # floppya: 720k=path, status=inserted (720K 3.5" media)
  381. # floppya: 360k=path, status=inserted (360K 5.25" media)
  382. # floppya: 320k=path, status=inserted (320K 5.25" media)
  383. # floppya: 180k=path, status=inserted (180K 5.25" media)
  384. # floppya: 160k=path, status=inserted (160K 5.25" media)
  385. # floppya: image=path, status=inserted (guess media type from image size)
  386. # floppya: 1_44=vvfat:path, status=inserted (use directory as VFAT media)
  387. # floppya: type=1_44 (1.44M 3.5" floppy drive, no media)
  388. #
  389. # The path should be the name of a disk image file. On Unix, you can use a raw
  390. # device name such as /dev/fd0 on Linux. On win32 platforms, use drive letters
  391. # such as a: or b: as the path. The parameter 'image' works with image files
  392. # only. In that case the size must match one of the supported types.
  393. # The parameter 'type' can be used to enable the floppy drive without media
  394. # and status specified. Usually the drive type is set up based on the media type.
  395. # The optional parameter 'write_protected' can be used to control the media
  396. # write protect switch. By default it is turned off.
  397. #=======================================================================
  398. #floppya: 1_44=/dev/fd0, status=inserted
  399. #floppya: image=../1.44, status=inserted
  400. #floppya: 1_44=/dev/fd0H1440, status=inserted
  401. #floppya: 1_2=../1_2, status=inserted
  402. #floppya: 1_44=a:, status=inserted
  403. #floppya: 1_44=a.img, status=inserted, write_protected=1
  404. #floppya: 1_44=/dev/rfd0a, status=inserted
  405. floppya: 1_44=../../src/bin/ipxe.dsk, status=inserted
  406. #=======================================================================
  407. # FLOPPYB:
  408. # See FLOPPYA above for syntax
  409. #=======================================================================
  410. #floppyb: 1_44=b:, status=inserted
  411. #floppyb: 1_44=b.img, status=inserted
  412. #=======================================================================
  413. # ATA0, ATA1, ATA2, ATA3
  414. # ATA controller for hard disks and cdroms
  415. #
  416. # ata[0-3]: enabled=[0|1], ioaddr1=addr, ioaddr2=addr, irq=number
  417. #
  418. # These options enables up to 4 ata channels. For each channel
  419. # the two base io addresses and the irq must be specified.
  420. #
  421. # ata0 and ata1 are enabled by default with the values shown below
  422. #
  423. # Examples:
  424. # ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
  425. # ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
  426. # ata2: enabled=1, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11
  427. # ata3: enabled=1, ioaddr1=0x168, ioaddr2=0x360, irq=9
  428. #=======================================================================
  429. ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
  430. ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
  431. ata2: enabled=0, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11
  432. ata3: enabled=0, ioaddr1=0x168, ioaddr2=0x360, irq=9
  433. #=======================================================================
  434. # ATA[0-3]-MASTER, ATA[0-3]-SLAVE
  435. #
  436. # This defines the type and characteristics of all attached ata devices:
  437. # type= type of attached device [disk|cdrom]
  438. # mode= only valid for disks [flat|concat|external|dll|sparse|vmware3]
  439. # mode= only valid for disks [undoable|growing|volatile|vvfat]
  440. # path= path of the image / directory
  441. # cylinders= only valid for disks
  442. # heads= only valid for disks
  443. # spt= only valid for disks
  444. # status= only valid for cdroms [inserted|ejected]
  445. # biosdetect= type of biosdetection [none|auto], only for disks on ata0 [cmos]
  446. # translation=type of translation of the bios, only for disks [none|lba|large|rechs|auto]
  447. # model= string returned by identify device command
  448. # journal= optional filename of the redolog for undoable, volatile and vvfat disks
  449. #
  450. # Point this at a hard disk image file, cdrom iso file, or physical cdrom
  451. # device. To create a hard disk image, try running bximage. It will help you
  452. # choose the size and then suggest a line that works with it.
  453. #
  454. # In UNIX it may be possible to use a raw device as a Bochs hard disk,
  455. # but WE DON'T RECOMMEND IT. In Windows there is no easy way.
  456. #
  457. # In windows, the drive letter + colon notation should be used for cdroms.
  458. # Depending on versions of windows and drivers, you may only be able to
  459. # access the "first" cdrom in the system. On MacOSX, use path="drive"
  460. # to access the physical drive.
  461. #
  462. # The path is mandatory for hard disks. Disk geometry autodetection works with
  463. # images created by bximage if CHS is set to 0/0/0 (cylinders are calculated
  464. # using heads=16 and spt=63). For other hard disk images and modes the
  465. # cylinders, heads, and spt are mandatory. In all cases the disk size reported
  466. # from the image must be exactly C*H*S*512.
  467. #
  468. # Default values are:
  469. # mode=flat, biosdetect=auto, translation=auto, model="Generic 1234"
  470. #
  471. # The biosdetect option has currently no effect on the bios
  472. #
  473. # Examples:
  474. # ata0-master: type=disk, mode=flat, path=10M.sample, cylinders=306, heads=4, spt=17
  475. # ata0-slave: type=disk, mode=flat, path=20M.sample, cylinders=615, heads=4, spt=17
  476. # ata1-master: type=disk, mode=flat, path=30M.sample, cylinders=615, heads=6, spt=17
  477. # ata1-slave: type=disk, mode=flat, path=46M.sample, cylinders=940, heads=6, spt=17
  478. # ata2-master: type=disk, mode=flat, path=62M.sample, cylinders=940, heads=8, spt=17
  479. # ata2-slave: type=disk, mode=flat, path=112M.sample, cylinders=900, heads=15, spt=17
  480. # ata3-master: type=disk, mode=flat, path=483M.sample, cylinders=1024, heads=15, spt=63
  481. # ata3-slave: type=cdrom, path=iso.sample, status=inserted
  482. #=======================================================================
  483. #ata0-master: type=disk, mode=flat, path="30M.sample"
  484. #ata0-master: type=disk, mode=flat, path="30M.sample", cylinders=615, heads=6, spt=17
  485. #ata0-master: type=disk, mode=flat, path="c.img", cylinders=0 # autodetect
  486. #ata0-slave: type=disk, mode=vvfat, path=/bochs/images/vvfat, journal=vvfat.redolog
  487. #ata0-slave: type=cdrom, path=D:, status=inserted
  488. #ata0-slave: type=cdrom, path=/dev/cdrom, status=inserted
  489. #ata0-slave: type=cdrom, path="drive", status=inserted
  490. #ata0-slave: type=cdrom, path=/dev/rcd0d, status=inserted
  491. #=======================================================================
  492. # BOOT:
  493. # This defines the boot sequence. Now you can specify up to 3 boot drives,
  494. # which can be 'floppy', 'disk', 'cdrom' or 'network' (boot ROM).
  495. # Legacy 'a' and 'c' are also supported.
  496. # Examples:
  497. # boot: floppy
  498. # boot: cdrom, disk
  499. # boot: network, disk
  500. # boot: cdrom, floppy, disk
  501. #=======================================================================
  502. #boot: floppy
  503. #boot: disk
  504. boot: network, floppy
  505. #=======================================================================
  506. # CLOCK:
  507. # This defines the parameters of the clock inside Bochs:
  508. #
  509. # SYNC:
  510. # This defines the method how to synchronize the Bochs internal time
  511. # with realtime. With the value 'none' the Bochs time relies on the IPS
  512. # value and no host time synchronization is used. The 'slowdown' method
  513. # sacrifices performance to preserve reproducibility while allowing host
  514. # time correlation. The 'realtime' method sacrifices reproducibility to
  515. # preserve performance and host-time correlation.
  516. # It is possible to enable both synchronization methods.
  517. #
  518. # RTC_SYNC:
  519. # If this option is enabled together with the realtime synchronization,
  520. # the RTC runs at realtime speed. This feature is disabled by default.
  521. #
  522. # TIME0:
  523. # Specifies the start (boot) time of the virtual machine. Use a time
  524. # value as returned by the time(2) system call. If no time0 value is
  525. # set or if time0 equal to 1 (special case) or if time0 equal 'local',
  526. # the simulation will be started at the current local host time.
  527. # If time0 equal to 2 (special case) or if time0 equal 'utc',
  528. # the simulation will be started at the current utc time.
  529. #
  530. # Syntax:
  531. # clock: sync=[none|slowdown|realtime|both], time0=[timeValue|local|utc]
  532. #
  533. # Example:
  534. # clock: sync=none, time0=local # Now (localtime)
  535. # clock: sync=slowdown, time0=315529200 # Tue Jan 1 00:00:00 1980
  536. # clock: sync=none, time0=631148400 # Mon Jan 1 00:00:00 1990
  537. # clock: sync=realtime, time0=938581955 # Wed Sep 29 07:12:35 1999
  538. # clock: sync=realtime, time0=946681200 # Sat Jan 1 00:00:00 2000
  539. # clock: sync=none, time0=1 # Now (localtime)
  540. # clock: sync=none, time0=utc # Now (utc/gmt)
  541. #
  542. # Default value are sync=none, time0=local
  543. #=======================================================================
  544. #clock: sync=none, time0=local
  545. #=======================================================================
  546. # FLOPPY_BOOTSIG_CHECK: disabled=[0|1]
  547. # Enables or disables the 0xaa55 signature check on boot floppies
  548. # Defaults to disabled=0
  549. # Examples:
  550. # floppy_bootsig_check: disabled=0
  551. # floppy_bootsig_check: disabled=1
  552. #=======================================================================
  553. floppy_bootsig_check: disabled=0
  554. #=======================================================================
  555. # LOG:
  556. # Give the path of the log file you'd like Bochs debug and misc. verbiage
  557. # to be written to. If you don't use this option or set the filename to
  558. # '-' the output is written to the console. If you really don't want it,
  559. # make it "/dev/null" (Unix) or "nul" (win32). :^(
  560. #
  561. # Examples:
  562. # log: ./bochs.out
  563. # log: /dev/tty
  564. #=======================================================================
  565. #log: /dev/null
  566. log: bochsout.txt
  567. #=======================================================================
  568. # LOGPREFIX:
  569. # This handles the format of the string prepended to each log line.
  570. # You may use those special tokens :
  571. # %t : 11 decimal digits timer tick
  572. # %i : 8 hexadecimal digits of cpu current eip (ignored in SMP configuration)
  573. # %e : 1 character event type ('i'nfo, 'd'ebug, 'p'anic, 'e'rror)
  574. # %d : 5 characters string of the device, between brackets
  575. #
  576. # Default : %t%e%d
  577. # Examples:
  578. # logprefix: %t-%e-@%i-%d
  579. # logprefix: %i%e%d
  580. #=======================================================================
  581. #logprefix: %t%e%d
  582. #=======================================================================
  583. # LOG CONTROLS
  584. #
  585. # Bochs has four severity levels for event logging.
  586. # panic: cannot proceed. If you choose to continue after a panic,
  587. # don't be surprised if you get strange behavior or crashes.
  588. # error: something went wrong, but it is probably safe to continue the
  589. # simulation.
  590. # info: interesting or useful messages.
  591. # debug: messages useful only when debugging the code. This may
  592. # spit out thousands per second.
  593. #
  594. # For events of each level, you can choose to exit Bochs ('fatal'), 'report'
  595. # or 'ignore'. On some guis you have the additional choice 'ask'. A gui dialog
  596. # appears asks how to proceed.
  597. #
  598. # It is also possible to specify the 'action' to do for each Bochs facility
  599. # separately (e.g. crash on panics from everything except the cdrom, and only
  600. # report those). See the 'log function' module list in the user documentation.
  601. #
  602. # If you are experiencing many panics, it can be helpful to change
  603. # the panic action to report instead of fatal. However, be aware
  604. # that anything executed after a panic is uncharted territory and can
  605. # cause bochs to become unstable. The panic is a "graceful exit," so
  606. # if you disable it you may get a spectacular disaster instead.
  607. #=======================================================================
  608. panic: action=ask
  609. error: action=report
  610. info: action=report
  611. debug: action=ignore, pci=report # report BX_DEBUG from module 'pci'
  612. #=======================================================================
  613. # DEBUGGER_LOG:
  614. # Give the path of the log file you'd like Bochs to log debugger output.
  615. # If you really don't want it, make it /dev/null or '-'. :^(
  616. #
  617. # Examples:
  618. # debugger_log: ./debugger.out
  619. #=======================================================================
  620. #debugger_log: /dev/null
  621. #debugger_log: debugger.out
  622. debugger_log: -
  623. #=======================================================================
  624. # COM1, COM2, COM3, COM4:
  625. # This defines a serial port (UART type 16550A). In the 'term' you can specify
  626. # a device to use as com1. This can be a real serial line, or a pty. To use
  627. # a pty (under X/Unix), create two windows (xterms, usually). One of them will
  628. # run bochs, and the other will act as com1. Find out the tty the com1
  629. # window using the `tty' command, and use that as the `dev' parameter.
  630. # Then do `sleep 1000000' in the com1 window to keep the shell from
  631. # messing with things, and run bochs in the other window. Serial I/O to
  632. # com1 (port 0x3f8) will all go to the other window.
  633. # In socket* and pipe* (win32 only) modes Bochs becomes either socket/named pipe
  634. # client or server. In client mode it connects to an already running server (if
  635. # connection fails Bochs treats com port as not connected). In server mode it
  636. # opens socket/named pipe and waits until a client application connects to it
  637. # before starting simulation. This mode is useful for remote debugging (e.g.
  638. # with gdb's "target remote host:port" command or windbg's command line option
  639. # -k com:pipe,port=\\.\pipe\pipename). Note: 'socket' is a shorthand for
  640. # 'socket-client' and 'pipe' for 'pipe-client'. Socket modes use simple TCP
  641. # communication, pipe modes use duplex byte mode pipes.
  642. # Other serial modes are 'null' (no input/output), 'file' (output to a file
  643. # specified as the 'dev' parameter), 'raw' (use the real serial port - under
  644. # construction for win32), 'mouse' (standard serial mouse - requires
  645. # mouse option setting 'type=serial', 'type=serial_wheel' or 'type=serial_msys').
  646. #
  647. # Examples:
  648. # com1: enabled=1, mode=null
  649. # com1: enabled=1, mode=mouse
  650. # com2: enabled=1, mode=file, dev=serial.out
  651. # com3: enabled=1, mode=raw, dev=com1
  652. # com3: enabled=1, mode=socket-client, dev=localhost:8888
  653. # com3: enabled=1, mode=socket-server, dev=localhost:8888
  654. # com4: enabled=1, mode=pipe-client, dev=\\.\pipe\mypipe
  655. # com4: enabled=1, mode=pipe-server, dev=\\.\pipe\mypipe
  656. #=======================================================================
  657. #com1: enabled=1, mode=term, dev=/dev/ttyp9
  658. #=======================================================================
  659. # PARPORT1, PARPORT2:
  660. # This defines a parallel (printer) port. When turned on and an output file is
  661. # defined the emulated printer port sends characters printed by the guest OS
  662. # into the output file. On some platforms a device filename can be used to
  663. # send the data to the real parallel port (e.g. "/dev/lp0" on Linux, "lpt1" on
  664. # win32 platforms).
  665. #
  666. # Examples:
  667. # parport1: enabled=1, file="parport.out"
  668. # parport2: enabled=1, file="/dev/lp0"
  669. # parport1: enabled=0
  670. #=======================================================================
  671. parport1: enabled=1, file="parport.out"
  672. #=======================================================================
  673. # SB16:
  674. # This defines the SB16 sound emulation. It can have several of the
  675. # following properties.
  676. # All properties are in the format sb16: property=value
  677. # enabled:
  678. # This optional property controls the presence of the SB16 emulation.
  679. # The emulation is turned on unless this property is used and set to 0.
  680. # midi: The filename is where the midi data is sent. This can be a
  681. # device or just a file if you want to record the midi data.
  682. # midimode:
  683. # 0=no data
  684. # 1=output to device (system dependent. midi denotes the device driver)
  685. # 2=SMF file output, including headers
  686. # 3=output the midi data stream to the file (no midi headers and no
  687. # delta times, just command and data bytes)
  688. # wave: This is the device/file where wave output is stored
  689. # wavemode:
  690. # 0=no data
  691. # 1=output to device (system dependent. wave denotes the device driver)
  692. # 2=VOC file output, incl. headers
  693. # 3=output the raw wave stream to the file
  694. # log: The file to write the sb16 emulator messages to.
  695. # loglevel:
  696. # 0=no log
  697. # 1=resource changes, midi program and bank changes
  698. # 2=severe errors
  699. # 3=all errors
  700. # 4=all errors plus all port accesses
  701. # 5=all errors and port accesses plus a lot of extra info
  702. # dmatimer:
  703. # microseconds per second for a DMA cycle. Make it smaller to fix
  704. # non-continuous sound. 750000 is usually a good value. This needs a
  705. # reasonably correct setting for the IPS parameter of the CPU option.
  706. #
  707. # Examples for output devices:
  708. # sb16: midimode=1, midi="", wavemode=1, wave="" # win32
  709. # sb16: midimode=1, midi=alsa:128:0, wavemode=1, wave=alsa # Linux with ALSA
  710. #=======================================================================
  711. #sb16: midimode=1, midi=/dev/midi00, wavemode=1, wave=/dev/dsp, loglevel=2, log=sb16.log, dmatimer=600000
  712. #=======================================================================
  713. # ES1370:
  714. # This defines the ES1370 sound emulation. The parameter 'enabled' controls the
  715. # presence of the device. In addition to this, it must be loaded with 'plugin_ctrl'
  716. # and assigned to a PCI slot. The 'wavedev' parameter is similar to the 'wave'
  717. # parameter of the SB16 soundcard. The emulation supports recording and playback
  718. # (except DAC1+DAC2 output at the same time).
  719. #
  720. # Examples:
  721. # es1370: enabled=1, wavedev="" # win32
  722. # es1370: enabled=1, wavedev=alsa # Linux with ALSA
  723. #=======================================================================
  724. #es1370: enabled=1, wavedev=alsa
  725. #=======================================================================
  726. # KEYBOARD_SERIAL_DELAY:
  727. # Approximate time in microseconds that it takes one character to
  728. # be transfered from the keyboard to controller over the serial path.
  729. # Examples:
  730. # keyboard_serial_delay: 200
  731. #=======================================================================
  732. keyboard_serial_delay: 250
  733. #=======================================================================
  734. # KEYBOARD_PASTE_DELAY:
  735. # Approximate time in microseconds between attempts to paste
  736. # characters to the keyboard controller. This leaves time for the
  737. # guest os to deal with the flow of characters. The ideal setting
  738. # depends on how your operating system processes characters. The
  739. # default of 100000 usec (.1 seconds) was chosen because it works
  740. # consistently in Windows.
  741. #
  742. # If your OS is losing characters during a paste, increase the paste
  743. # delay until it stops losing characters.
  744. #
  745. # Examples:
  746. # keyboard_paste_delay: 100000
  747. #=======================================================================
  748. keyboard_paste_delay: 100000
  749. #=======================================================================
  750. # MOUSE:
  751. # This defines parameters for the emulated mouse type, the initial status
  752. # of the mouse capture and the runtime method to toggle it.
  753. #
  754. # TYPE:
  755. # With the mouse type option you can select the type of mouse to emulate.
  756. # The default value is 'ps2'. The other choices are 'imps2' (wheel mouse
  757. # on PS/2), 'serial', 'serial_wheel' and 'serial_msys' (one com port requires
  758. # setting 'mode=mouse'). To connect a mouse to an USB port, see the 'usb_uhci',
  759. # 'usb_ohci' or 'usb_xhci' options (requires PCI and USB support).
  760. #
  761. # ENABLED:
  762. # The Bochs gui creates mouse "events" unless the 'enabled' option is
  763. # set to 0. The hardware emulation itself is not disabled by this.
  764. # Unless you have a particular reason for enabling the mouse by default,
  765. # it is recommended that you leave it off. You can also toggle the mouse
  766. # usage at runtime (RFB, SDL, Win32, wxWidgets and X11 - see below).
  767. #
  768. # TOGGLE:
  769. # The default method to toggle the mouse capture at runtime is to press the
  770. # CTRL key and the middle mouse button ('ctrl+mbutton'). This option allows
  771. # to change the method to 'ctrl+f10' (like DOSBox), 'ctrl+alt' (like QEMU)
  772. # or 'f12' (replaces win32 'legacyF12' option).
  773. #
  774. # Examples:
  775. # mouse: enabled=1
  776. # mouse: type=imps2, enabled=1
  777. # mouse: type=serial, enabled=1
  778. # mouse: enabled=0, toggle=ctrl+f10
  779. #=======================================================================
  780. mouse: enabled=0
  781. #=======================================================================
  782. # private_colormap: Request that the GUI create and use it's own
  783. # non-shared colormap. This colormap will be used
  784. # when in the bochs window. If not enabled, a
  785. # shared colormap scheme may be used. Not implemented
  786. # on all GUI's.
  787. #
  788. # Examples:
  789. # private_colormap: enabled=1
  790. # private_colormap: enabled=0
  791. #=======================================================================
  792. private_colormap: enabled=0
  793. #=======================================================================
  794. # fullscreen: ONLY IMPLEMENTED ON AMIGA
  795. # Request that Bochs occupy the entire screen instead of a
  796. # window.
  797. #
  798. # Examples:
  799. # fullscreen: enabled=0
  800. # fullscreen: enabled=1
  801. #=======================================================================
  802. #fullscreen: enabled=0
  803. #screenmode: name="sample"
  804. #=======================================================================
  805. # ne2k: NE2000 compatible ethernet adapter
  806. #
  807. # Format:
  808. # ne2k: enabled=1, ioaddr=IOADDR, irq=IRQ, mac=MACADDR, ethmod=MODULE,
  809. # ethdev=DEVICE, script=SCRIPT, bootrom=BOOTROM
  810. #
  811. # IOADDR, IRQ: You probably won't need to change ioaddr and irq, unless there
  812. # are IRQ conflicts. These arguments are ignored when assign the ne2k to a
  813. # PCI slot.
  814. #
  815. # MAC: The MAC address MUST NOT match the address of any machine on the net.
  816. # Also, the first byte must be an even number (bit 0 set means a multicast
  817. # address), and you cannot use ff:ff:ff:ff:ff:ff because that's the broadcast
  818. # address. For the ethertap module, you must use fe:fd:00:00:00:01. There may
  819. # be other restrictions too. To be safe, just use the b0:c4... address.
  820. #
  821. # ETHDEV: The ethdev value is the name of the network interface on your host
  822. # platform. On UNIX machines, you can get the name by running ifconfig. On
  823. # Windows machines, you must run niclist to get the name of the ethdev.
  824. # Niclist source code is in misc/niclist.c and it is included in Windows
  825. # binary releases.
  826. #
  827. # SCRIPT: The script value is optional, and is the name of a script that
  828. # is executed after bochs initialize the network interface. You can use
  829. # this script to configure this network interface, or enable masquerading.
  830. # This is mainly useful for the tun/tap devices that only exist during
  831. # Bochs execution. The network interface name is supplied to the script
  832. # as first parameter.
  833. #
  834. # BOOTROM: The bootrom value is optional, and is the name of the ROM image
  835. # to load. Note that this feature is only implemented for the PCI version of
  836. # the NE2000.
  837. #
  838. # If you don't want to make connections to any physical networks,
  839. # you can use the following 'ethmod's to simulate a virtual network.
  840. # null: All packets are discarded, but logged to a few files.
  841. # vde: Virtual Distributed Ethernet
  842. # vnet: ARP, ICMP-echo(ping), DHCP and read/write TFTP are simulated.
  843. # The virtual host uses 192.168.10.1.
  844. # DHCP assigns 192.168.10.2 to the guest.
  845. # TFTP uses the 'ethdev' value for the root directory and doesn't
  846. # overwrite files.
  847. #
  848. #=======================================================================
  849. # ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01, ethmod=fbsd, ethdev=en0 #macosx
  850. # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:00, ethmod=fbsd, ethdev=xl0
  851. # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:00, ethmod=linux, ethdev=eth0
  852. # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=win32, ethdev=MYCARD
  853. # ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01, ethmod=tap, ethdev=tap0
  854. # ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=/dev/net/tun0, script=./tunconfig
  855. # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=null, ethdev=eth0
  856. # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=vde, ethdev="/tmp/vde.ctl"
  857. # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=vnet, ethdev="c:/temp"
  858. # ne2k: mac=b0:c4:20:00:00:01, ethmod=slirp, script=/usr/local/bin/slirp, bootrom=ne2k_pci.rom
  859. #=======================================================================
  860. # pnic: Bochs/Etherboot pseudo-NIC
  861. #
  862. # Format:
  863. # pnic: enabled=1, mac=MACADDR, ethmod=MODULE, ethdev=DEVICE, script=SCRIPT,
  864. # bootrom=BOOTROM
  865. #
  866. # The pseudo-NIC accepts the same syntax (for mac, ethmod, ethdev, script,
  867. # bootrom) and supports the same networking modules as the NE2000 adapter.
  868. # In addition to this, it must be loaded with 'plugin_ctrl' and assigned
  869. # to a PCI slot.
  870. #=======================================================================
  871. #pnic: enabled=1, mac=b0:c4:20:00:00:00, ethmod=vnet
  872. #=======================================================================
  873. # e1000: Intel(R) 82540EM Gigabit Ethernet adapter
  874. #
  875. # Format:
  876. # e1000: enabled=1, mac=MACADDR, ethmod=MODULE, ethdev=DEVICE, script=SCRIPT
  877. # bootrom=BOOTROM
  878. #
  879. # The E1000 accepts the same syntax (for mac, ethmod, ethdev, script, bootrom)
  880. # and supports the same networking modules as the NE2000 adapter. In addition
  881. # to this, it must be loaded with 'plugin_ctrl' and assigned to a PCI slot.
  882. #=======================================================================
  883. #e1000: enabled=1, mac=52:54:00:12:34:56, ethmod=slirp, script=/usr/local/bin/slirp
  884. e1000: enabled=1, mac=52:54:00:12:34:56, ethmod=tuntap, ethdev=/dev/net/tun:tap0
  885. #=======================================================================
  886. # KEYBOARD_MAPPING:
  887. # This enables a remap of a physical localized keyboard to a
  888. # virtualized us keyboard, as the PC architecture expects.
  889. # If enabled, the keymap file must be specified.
  890. #
  891. # Examples:
  892. # keyboard_mapping: enabled=1, map=gui/keymaps/x11-pc-de.map
  893. #=======================================================================
  894. keyboard_mapping: enabled=0, map=
  895. #=======================================================================
  896. # KEYBOARD_TYPE:
  897. # Type of keyboard return by a "identify keyboard" command to the
  898. # keyboard controler. It must be one of "xt", "at" or "mf".
  899. # Defaults to "mf". It should be ok for almost everybody. A known
  900. # exception is french macs, that do have a "at"-like keyboard.
  901. #
  902. # Examples:
  903. # keyboard_type: mf
  904. #=======================================================================
  905. #keyboard_type: mf
  906. #=======================================================================
  907. # USER_SHORTCUT:
  908. # This defines the keyboard shortcut to be sent when you press the "user"
  909. # button in the headerbar. The shortcut string is a combination of maximum
  910. # 3 key names (listed below) separated with a '-' character.
  911. # Valid key names:
  912. # "alt", "bksl", "bksp", "ctrl", "del", "down", "end", "enter", "esc",
  913. # "f1", ... "f12", "home", "ins", "left", "menu", "minus", "pgdwn", "pgup",
  914. # "plus", "right", "shift", "space", "tab", "up", "win", "print" and "power".
  915. #
  916. # Example:
  917. # user_shortcut: keys=ctrl-alt-del
  918. #=======================================================================
  919. #user_shortcut: keys=ctrl-alt-del
  920. #=======================================================================
  921. # PCI:
  922. # This option controls the presence of a PCI chipset in Bochs. Currently it only
  923. # supports the i440FX chipset. You can also specify the devices connected to
  924. # PCI slots. Up to 5 slots are available. These devices are currently supported:
  925. # cirrus, e1000, es1370, ne2k, pcivga, pcidev, pcipnic, usb_ohci and usb_xhci.
  926. #
  927. # Example:
  928. # pci: enabled=1, chipset=i440fx, slot1=pcivga, slot2=ne2k
  929. #=======================================================================
  930. pci: enabled=1, chipset=i440fx, slot1=e1000
  931. #=======================================================================
  932. # USB_UHCI:
  933. # This option controls the presence of the USB root hub which is a part
  934. # of the i440FX PCI chipset. With the portX parameter you can connect devices
  935. # to the hub (currently supported: 'mouse', 'tablet', 'keypad', 'disk', 'cdrom'
  936. # 'hub' and 'printer'). NOTE: UHCI must be loaded with 'plugin_ctrl'.
  937. #
  938. # The optionsX parameter can be used to assign specific options to the device
  939. # connected to the corresponding USB port. Currently this feature is only used
  940. # to set the speed reported by device and by the 'disk' device to specify
  941. # an alternative redolog file of some image modes.
  942. #
  943. # If you connect the mouse or tablet to one of the ports, Bochs forwards the
  944. # mouse movement data to the USB device instead of the selected mouse type.
  945. # When connecting the keypad to one of the ports, Bochs forwards the input of
  946. # the numeric keypad to the USB device instead of the PS/2 keyboard.
  947. #
  948. # To connect a 'flat' mode image as an USB hardisk you can use the 'disk' device
  949. # with the path to the image separated with a colon. To use other disk image modes
  950. # similar to ATA disks the syntax 'disk:mode:filename' must be used (see below).
  951. #
  952. # To emulate an USB cdrom you can use the 'cdrom' device name and the path to
  953. # an ISO image or raw device name also separated with a colon. An option to
  954. # insert/eject media is available in the runtime configuration.
  955. #
  956. # The device name 'hub' connects an external hub with max. 8 ports (default: 4)
  957. # to the root hub. To specify the number of ports you have to add the value
  958. # separated with a colon. Connecting devices to the external hub ports is only
  959. # available in the runtime configuration.
  960. #
  961. # The device 'printer' emulates the HP Deskjet 920C printer. The PCL data is
  962. # sent to a file specified in bochsrc.txt. The current code appends the PCL
  963. # code to the file if the file already existed. It would probably be nice to
  964. # overwrite the file instead, asking user first.
  965. #=======================================================================
  966. #usb_uhci: enabled=1
  967. #usb_uhci: enabled=1, port1=mouse, port2=disk:usbstick.img
  968. #usb_uhci: enabled=1, port1=hub:7, port2=disk:growing:usbdisk.img
  969. #usb_uhci: enabled=1, port2=disk:undoable:usbdisk.img, options1=journal:redo.log
  970. #usb_uhci: enabled=1, port1=printer:printdata.bin, port2=cdrom:image.iso
  971. #=======================================================================
  972. # USB_OHCI:
  973. # This option controls the presence of the USB OHCI host controller with a
  974. # 2-port hub. The portX option accepts the same device types with the same
  975. # syntax as the UHCI controller (see above). The OHCI HC must be assigned to
  976. # a PCI slot and loaded with 'plugin_ctrl'.
  977. #=======================================================================
  978. #usb_ohci: enabled=1
  979. #usb_ohci: enabled=1, port1=printer:usbprinter.bin
  980. #=======================================================================
  981. # USB_XHCI:
  982. # This option controls the presence of the experimental USB xHCI host controller
  983. # with a 4-port hub. The portX option accepts the same device types with the
  984. # same syntax as the UHCI controller (see above). The xHCI HC must be assigned
  985. # to a PCI slot and loaded with 'plugin_ctrl'.
  986. #=======================================================================
  987. #usb_xhci: enabled=1
  988. #=======================================================================
  989. # CMOSIMAGE:
  990. # This defines image file that can be loaded into the CMOS RAM at startup.
  991. # The rtc_init parameter controls whether initialize the RTC with values stored
  992. # in the image. By default the time0 argument given to the clock option is used.
  993. # With 'rtc_init=image' the image is the source for the initial time.
  994. #
  995. # Example:
  996. # cmosimage: file=cmos.img, rtc_init=image
  997. #=======================================================================
  998. #cmosimage: file=cmos.img, rtc_init=time0
  999. #=======================================================================
  1000. # MAGIC_BREAK:
  1001. # This enables the "magic breakpoint" feature when using the debugger.
  1002. # The useless cpu instruction XCHG BX, BX causes Bochs to enter the
  1003. # debugger mode. This might be useful for software development.
  1004. #
  1005. # Example:
  1006. # magic_break: enabled=1
  1007. #=======================================================================
  1008. #magic_break: enabled=1
  1009. magic_break: enabled=1
  1010. #=======================================================================
  1011. # PORT_E9_HACK:
  1012. # The 0xE9 port doesn't exists in normal ISA architecture. However, we
  1013. # define a convention here, to display on the console of the system running
  1014. # Bochs anything that is written to it. The idea is to provide debug output
  1015. # very early when writing BIOS or OS code for example, without having to
  1016. # bother with setting up a serial port or etc. Reading from port 0xE9 will
  1017. # will return 0xe9 to let you know if the feature is available.
  1018. # Leave this 0 unless you have a reason to use it.
  1019. #
  1020. # Example:
  1021. # port_e9_hack: enabled=1
  1022. #=======================================================================
  1023. #port_e9_hack: enabled=1
  1024. #=======================================================================
  1025. # DEBUG_SYMBOLS:
  1026. # This loads symbols from the specified file for use in Bochs' internal
  1027. # debugger. Symbols are loaded into global context. This is equivalent to
  1028. # issuing ldsym debugger command at start up.
  1029. #
  1030. # Example:
  1031. # debug_symbols: file="kernel.sym"
  1032. # debug_symbols: file="kernel.sym", offset=0x80000000
  1033. #=======================================================================
  1034. #debug_symbols: file="kernel.sym"
  1035. #=======================================================================
  1036. # other stuff
  1037. #=======================================================================
  1038. #load32bitOSImage: os=nullkernel, path=../kernel.img, iolog=../vga_io.log
  1039. #load32bitOSImage: os=linux, path=../linux.img, iolog=../vga_io.log, initrd=../initrd.img
  1040. #print_timestamps: enabled=1
  1041. #-------------------------
  1042. # PCI host device mapping
  1043. #-------------------------
  1044. #pcidev: vendor=0x1234, device=0x5678
  1045. #=======================================================================
  1046. # GDBSTUB:
  1047. # Enable GDB stub. See user documentation for details.
  1048. # Default value is enabled=0.
  1049. #=======================================================================
  1050. #gdbstub: enabled=0, port=1234, text_base=0, data_base=0, bss_base=0
  1051. #=======================================================================
  1052. # USER_PLUGIN:
  1053. # Load user-defined plugin. This option is available only if Bochs is
  1054. # compiled with plugin support. Maximum 8 different plugins are supported.
  1055. # See the example in the Bochs sources how to write a plugin device.
  1056. #=======================================================================
  1057. #user_plugin: name=testdev
  1058. #=======================================================================
  1059. # for Macintosh, use the style of pathnames in the following
  1060. # examples.
  1061. #
  1062. # vgaromimage: :bios:VGABIOS-elpin-2.40
  1063. # romimage: file=:bios:BIOS-bochs-latest, address=0xf0000
  1064. # floppya: 1_44=[fd:], status=inserted
  1065. #=======================================================================
  1066. #=======================================================================
  1067. # MEGS
  1068. # Set the number of Megabytes of physical memory you want to emulate.
  1069. # The default is 32MB, most OS's won't need more than that.
  1070. # The maximum amount of memory supported is 2048Mb.
  1071. # The 'MEGS' option is deprecated. Use 'MEMORY' option instead.
  1072. #=======================================================================
  1073. #megs: 256
  1074. #megs: 128
  1075. #megs: 64
  1076. #megs: 32
  1077. #megs: 16
  1078. #megs: 8