home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / bochs2.zip / BOCHSRC.DOC < prev    next >
Text File  |  1999-11-20  |  9KB  |  207 lines

  1. #=======================================================================
  2. # NE2K:
  3. # to be defined...
  4. #=======================================================================
  5.  
  6. #=======================================================================
  7. # CDROM:
  8. # CDROM drive and status
  9. # Examples:
  10. #   cdrom: dev=k:, status=inserted
  11. #=======================================================================
  12.  
  13. #=======================================================================
  14. # i440fxsupport:
  15. # to be defined...
  16. # Examples:
  17. #   i440fxsupport: enabled=0
  18. #=======================================================================
  19.  
  20. #=======================================================================
  21. # newharddrivesupport:
  22. # to be defined...
  23. # Examples:
  24. #   newharddrivesupport: enabled=1
  25. #=======================================================================
  26.  
  27. #=======================================================================
  28. # LPT1:
  29. # Parallel port
  30. # Examples:
  31. #   lpt1: file=prn
  32. #   lpt1: file=print.txt
  33. #=======================================================================
  34.  
  35. #=======================================================================
  36. # VIDEOMODE:
  37. # Video mode for OS/2
  38. # Examples:
  39. #   videomode: direct
  40. #   videomode: emulated
  41. #   videomode: text
  42. #=======================================================================
  43.  
  44. #=======================================================================
  45. # ROMIMAGE:
  46. # You now need to load a ROM BIOS into F0000-FFFFF.  I've wiped
  47. # out most of the BIOS hooks, and replace them with real BIOS
  48. # support.  Normally, you can use a precompiled BIOS in the bios/
  49. # directory, named BIOS-bochs-yymmdd.  Use the latest one in there.
  50. #=======================================================================
  51.  
  52. #=======================================================================
  53. # MEGS
  54. # set this to the default number of Megabytes of memory you want
  55. # to emulate.  You may also pass the '-megs xyz' option to bochs
  56. #=======================================================================
  57.  
  58. #=======================================================================
  59. # VGAROMIMAGE
  60. # You now need to load a VGA ROM BIOS into C0000.
  61. #=======================================================================
  62.  
  63. #=======================================================================
  64. # FLOPPYA:
  65. # Point this to pathname of floppy image file or device
  66. # This should be of a bootable floppy(image/device) if you're booting from 'a'.
  67. # You can set the initial status of the media to 'ejected' or 'inserted'.
  68. #   floppya: 1_44=path, status=inserted            (1.44M 3.5" floppy)
  69. #=======================================================================
  70.  
  71. #=======================================================================
  72. # FLOPPYB:
  73. # See FLOPPYA above
  74. #=======================================================================
  75.  
  76. #=======================================================================
  77. # DISKC: file=, cyl=, heads=, spt=
  78. # Point this at a 10M, 20M, or 30M hard disk image file.
  79. # Read INSTALL to create one.
  80. # Examples:
  81. #   diskc: file=10M.sample, cyl=306, heads=4, spt=17
  82. #   diskc: file=20M.sample, cyl=615, heads=4, spt=17
  83. #   diskc: file=30M.sample, cyl=615, heads=6, spt=17
  84. #   diskc: file=46M.sample, cyl=940, heads=6, spt=17
  85. #   diskc: file=62M.sample, cyl=940, heads=8, spt=17
  86. #   diskc: file=112M.sample, cyl=900, heads=15, spt=17
  87. #   diskc: file=483M.sample, cyl=1024, heads=15, spt=63
  88. #=======================================================================
  89.  
  90. #=======================================================================
  91. # BOOT:
  92. # This defines your boot drive.  You can either boot from 'a' or 'c'.
  93. # Examples:
  94. #   boot: c
  95. #   boot: a
  96. #=======================================================================
  97.  
  98. #=======================================================================
  99. # LOG:
  100. # Give the path of the log file you'd like Bochs debug and misc. verbage
  101. # to be written to.  If you really don't want it, make it /dev/null. :^(
  102. #
  103. # This directive corresponds to the '-log pathname' command line option.
  104. # Examples:
  105. #   log: ./bochs.out
  106. #   log: /dev/tty
  107. #=======================================================================
  108.  
  109. #=======================================================================
  110. # VGA_UPDATE_INTERVAL:
  111. # Video memory is scanned for updates and screen updated every so many
  112. # virtual seconds.  The default is 300000, about 3Hz.  This is generally
  113. # plenty.  Keep in mind that you must tweak BX_PROCESSOR_IPS in
  114. # config.h to be as close to the number of emulated instructions-per-second
  115. # your workstation can do, for this to be accurate.
  116. #
  117. # This directive corresponds to the '-vga_update_interval xyz'
  118. # command line option.
  119. # Examples:
  120. #   vga_update_interval: 250000
  121. #=======================================================================
  122.  
  123. #=======================================================================
  124. # KEYBOARD_SERIAL_DELAY:
  125. # Approximate time in microseconds that it takes one character to
  126. # be transfered from the keyboard to controller over the serial path.
  127. # Examples:
  128. #   keyboard_serial_delay: 200
  129. #=======================================================================
  130.  
  131. #=======================================================================
  132. # FLOPPY_COMMAND_DELAY:
  133. # Time in microseconds to wait before completing some floppy commands
  134. # such as read/write/seek/etc, which normally have a delay associated.
  135. # I had this hardwired to 50,000 before.
  136. #
  137. # Examples:
  138. #   floppy_command_delay: 50000
  139. #=======================================================================
  140.  
  141. #=======================================================================
  142. # IPS:
  143. # Emulated Instructions Per Second.  This is the number of IPS that bochs
  144. # is capable of running on your machine.  Read the note in config.h
  145. # on how to find this.  Make sure to recompile after.
  146. #
  147. # Examples:
  148. #   ips: 500000   # on my Linux 200Mhz Pentium
  149. #   ips: 750000   # on my Solaris 2.x 166Mhz superscalar 64bit Sparc
  150. #=======================================================================
  151.  
  152. #=======================================================================
  153. # mouse: Not used in any of the GUI specific modules, but the option
  154. #        bx_options.mouse_enabled is set to this value.  The idea,
  155. #        is that the GUI code should not generate mouse events when
  156. #        not enabled.  The hardware emualation itself is not disabled
  157. #        by this.  This is to facilitate deterministic runs of bochs.
  158. #
  159. # Examples:
  160. #   mouse: enabled=1
  161. #   mouse: enabled=0
  162. #=======================================================================
  163.  
  164. #=======================================================================
  165. # private_colormap: Request that the GUI create and use it's own
  166. #                   non-shared colormap.  This colormap will be used
  167. #                   when in the bochs window.  If not enabled, a
  168. #                   shared colormap scheme may be used.  Not implemented
  169. #                   on all GUI's.
  170. #
  171. # Examples:
  172. #   private_colormap: enabled=1
  173. #   private_colormap: enabled=0
  174. #=======================================================================
  175.  
  176. #=======================================================================
  177. # SB16:
  178. # This defines the SB16 sound emulation. It can have several of the
  179. # following properties.
  180. # All properties are in the format sb16: property=value
  181. # midi: The filename is where the midi data is sent. This can be a
  182. #       device or just a file if you want to record the midi data.
  183. # midimode: 
  184. #    0=no data
  185. #    1=output to device (system dependent. midi denotes the device driver)
  186. #    2=SMF file output, including headers
  187. #    3=output the midi data stream to the file (no midi headers and no
  188. #      delta times, just command and data bytes)
  189. # wave: This is the device/file where wave output is stored
  190. # wavemode:
  191. #    0=no data
  192. #    1=output to device (system dependent. wave denotes the device driver)
  193. #    2=VOC file output, incl. headers
  194. #    3=output the raw wave stream to the file
  195. # log:  The file to write the sb16 emulator messages to.
  196. # loglevel:
  197. #    0=no log
  198. #    1=only midi program and bank changes
  199. #    2=severe errors
  200. #       3=all errors
  201. #    4=all errors plus all port accesses
  202. #    5=all errors and port accesses plus a lot of extra info
  203. #
  204. # For an example look at the next line:
  205. #=======================================================================
  206.  
  207.