- improved config interface labels for the optional plugin control
- documentation updates
This commit is contained in:
parent
790eec83ca
commit
29f5a696fc
@ -526,7 +526,7 @@ parport1: enabled=1, file="parport.out"
|
|||||||
#=======================================================================
|
#=======================================================================
|
||||||
# VGA_UPDATE_INTERVAL:
|
# VGA_UPDATE_INTERVAL:
|
||||||
# Video memory is scanned for updates and screen updated every so many
|
# Video memory is scanned for updates and screen updated every so many
|
||||||
# virtual seconds. The default is 40000, about 25Hz. Keep in mind that
|
# virtual seconds. The default is 50000, about 20Hz. Keep in mind that
|
||||||
# you must tweak the 'cpu: ips=N' directive to be as close to the number
|
# you must tweak the 'cpu: ips=N' directive to be as close to the number
|
||||||
# of emulated instructions-per-second your workstation can do, for this
|
# of emulated instructions-per-second your workstation can do, for this
|
||||||
# to be accurate.
|
# to be accurate.
|
||||||
@ -567,17 +567,16 @@ keyboard_paste_delay: 100000
|
|||||||
|
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
# MOUSE:
|
# MOUSE:
|
||||||
# This option prevents Bochs from creating mouse "events" unless a mouse
|
# The Bochs gui creates mouse "events" unless the 'enabled' option is
|
||||||
# is enabled. The hardware emulation itself is not disabled by this.
|
# set to 0. The hardware emulation itself is not disabled by this.
|
||||||
# You can turn the mouse on by setting enabled to 1, or turn it off by
|
# Unless you have a particular reason for enabling the mouse by default,
|
||||||
# setting enabled to 0. Unless you have a particular reason for enabling
|
# it is recommended that you leave it off. You can also toggle the mouse
|
||||||
# the mouse by default, it is recommended that you leave it off.
|
# usage at runtime (control key + middle mouse button on X11, SDL,
|
||||||
# You can also toggle the mouse usage at runtime (control key + middle
|
# wxWidgets and Win32).
|
||||||
# mouse button on X11, SDL, wxWidgets and Win32).
|
|
||||||
# With the mouse type option you can select the type of mouse to emulate.
|
# With the mouse type option you can select the type of mouse to emulate.
|
||||||
# The default value is 'ps2'. The other choices are 'imps2' (wheel mouse
|
# The default value is 'ps2'. The other choices are 'imps2' (wheel mouse
|
||||||
# on PS/2), 'serial', 'serial_wheel' and 'serial_msys' (one com port requires
|
# on PS/2), 'serial', 'serial_wheel' and 'serial_msys' (one com port requires
|
||||||
# setting 'mode=mouse'). To connect a mouse to an USB port, see the 'usb1'
|
# setting 'mode=mouse'). To connect a mouse to an USB port, see the 'usb_uhci'
|
||||||
# option (requires PCI and USB support).
|
# option (requires PCI and USB support).
|
||||||
#
|
#
|
||||||
# Examples:
|
# Examples:
|
||||||
@ -715,7 +714,7 @@ keyboard_mapping: enabled=0, map=
|
|||||||
i440fxsupport: enabled=1
|
i440fxsupport: enabled=1
|
||||||
|
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
# USB1:
|
# USB_UHCI:
|
||||||
# This option controls the presence of the USB root hub which is a part
|
# This option controls the presence of the USB root hub which is a part
|
||||||
# of the i440FX PCI chipset. With the portX option you can connect devices
|
# of the i440FX PCI chipset. With the portX option you can connect devices
|
||||||
# to the hub (currently supported: 'mouse', 'tablet', 'keypad' and 'disk').
|
# to the hub (currently supported: 'mouse', 'tablet', 'keypad' and 'disk').
|
||||||
@ -726,8 +725,8 @@ i440fxsupport: enabled=1
|
|||||||
# To connect a flat image as an USB hardisk you can use the 'disk' device with
|
# To connect a flat image as an USB hardisk you can use the 'disk' device with
|
||||||
# the path to the image separated with a colon (see below).
|
# the path to the image separated with a colon (see below).
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
#usb1: enabled=1
|
#usb_uhci: enabled=1
|
||||||
#usb1: enabled=1, port1=mouse, port2=disk:usbdisk.img
|
#usb_uhci: enabled=1, port1=mouse, port2=disk:usbdisk.img
|
||||||
|
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
# CMOSIMAGE:
|
# CMOSIMAGE:
|
||||||
|
@ -60,6 +60,9 @@ Detailed change log :
|
|||||||
|
|
||||||
- I/O Devices
|
- I/O Devices
|
||||||
- Added user plugin support
|
- Added user plugin support
|
||||||
|
- remaining devices converted to plugins: pit, ioapic, iodebug
|
||||||
|
- added bochsrc option to control the presence of optional plugin
|
||||||
|
devices without a separate option
|
||||||
- Hard drive / cdrom
|
- Hard drive / cdrom
|
||||||
- PACKET-DMA feature now supported by all ATAPI commands
|
- PACKET-DMA feature now supported by all ATAPI commands
|
||||||
- ATAPI command 0x1A added (based on the Qemu implementation)
|
- ATAPI command 0x1A added (based on the Qemu implementation)
|
||||||
@ -71,8 +74,8 @@ Detailed change log :
|
|||||||
- keyboard
|
- keyboard
|
||||||
- added keyboard controller commands 0xCA and 0xCB
|
- added keyboard controller commands 0xCA and 0xCB
|
||||||
- USB
|
- USB
|
||||||
- initial USB OHCI support written by Ben Lunt (Win98 detects
|
- initial USB OHCI support written by Ben Lunt (Win98SE can use
|
||||||
the controller, connecting devices not implemented yet)
|
the USB mouse connected to OHCI)
|
||||||
- VGA
|
- VGA
|
||||||
- VBE video memory increased to 16 MB
|
- VBE video memory increased to 16 MB
|
||||||
- I/O APIC
|
- I/O APIC
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
// $Id: config.cc,v 1.157 2009-02-22 10:44:49 vruppert Exp $
|
// $Id: config.cc,v 1.158 2009-02-22 17:05:40 vruppert Exp $
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
// Copyright (C) 2002 MandrakeSoft S.A.
|
// Copyright (C) 2002 MandrakeSoft S.A.
|
||||||
@ -1668,24 +1668,24 @@ void bx_init_options()
|
|||||||
// optional plugin control
|
// optional plugin control
|
||||||
menu = new bx_list_c(misc, "plugin_ctrl", "Optional Plugin Control", 9);
|
menu = new bx_list_c(misc, "plugin_ctrl", "Optional Plugin Control", 9);
|
||||||
menu->get_options()->set(bx_list_c::SHOW_PARENT | bx_list_c::USE_BOX_TITLE);
|
menu->get_options()->set(bx_list_c::SHOW_PARENT | bx_list_c::USE_BOX_TITLE);
|
||||||
new bx_param_bool_c(menu, "unmapped", "unmapped", "", 1);
|
new bx_param_bool_c(menu, "unmapped", "Enable 'unmapped'", "", 1);
|
||||||
new bx_param_bool_c(menu, "biosdev", "biosdev", "", 1);
|
new bx_param_bool_c(menu, "biosdev", "Enable 'biosdev'", "", 1);
|
||||||
new bx_param_bool_c(menu, "speaker", "speaker", "", 1);
|
new bx_param_bool_c(menu, "speaker", "Enable 'speaker'", "", 1);
|
||||||
new bx_param_bool_c(menu, "extfpuirq", "extfpuirq", "", 1);
|
new bx_param_bool_c(menu, "extfpuirq", "Enable 'extfpuirq'", "", 1);
|
||||||
#if BX_SUPPORT_GAMEPORT
|
#if BX_SUPPORT_GAMEPORT
|
||||||
new bx_param_bool_c(menu, "gameport", "gameport", "", 1);
|
new bx_param_bool_c(menu, "gameport", "Enable 'gameport'", "", 1);
|
||||||
#endif
|
#endif
|
||||||
#if BX_SUPPORT_IODEBUG
|
#if BX_SUPPORT_IODEBUG
|
||||||
new bx_param_bool_c(menu, "iodebug", "iodebug", "", 1);
|
new bx_param_bool_c(menu, "iodebug", "Enable 'iodebug'", "", 1);
|
||||||
#endif
|
#endif
|
||||||
#if BX_SUPPORT_PCI
|
#if BX_SUPPORT_PCI
|
||||||
new bx_param_bool_c(menu, "pci_ide", "pci_ide", "", 1);
|
new bx_param_bool_c(menu, "pci_ide", "Enable 'pci_ide'", "", 1);
|
||||||
#endif
|
#endif
|
||||||
#if BX_SUPPORT_ACPI
|
#if BX_SUPPORT_ACPI
|
||||||
new bx_param_bool_c(menu, "acpi", "acpi", "", 1);
|
new bx_param_bool_c(menu, "acpi", "Enable 'acpi'", "", 1);
|
||||||
#endif
|
#endif
|
||||||
#if BX_SUPPORT_APIC
|
#if BX_SUPPORT_APIC
|
||||||
new bx_param_bool_c(menu, "ioapic", "ioapic", "", 1);
|
new bx_param_bool_c(menu, "ioapic", "Enable 'ioapic'", "", 1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if BX_PLUGINS
|
#if BX_PLUGINS
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
================================================================
|
================================================================
|
||||||
doc/docbook/user/user.dbk
|
doc/docbook/user/user.dbk
|
||||||
$Id: user.dbk,v 1.249 2009-02-08 09:05:52 vruppert Exp $
|
$Id: user.dbk,v 1.250 2009-02-22 17:05:40 vruppert Exp $
|
||||||
|
|
||||||
This is the top level file for the Bochs Users Manual.
|
This is the top level file for the Bochs Users Manual.
|
||||||
================================================================
|
================================================================
|
||||||
@ -3807,7 +3807,7 @@ are in the usual "property=value" format.
|
|||||||
<para>
|
<para>
|
||||||
Examples:
|
Examples:
|
||||||
<screen>
|
<screen>
|
||||||
vga_update_interval: 40000 # default
|
vga_update_interval: 50000 # default
|
||||||
vga_update_interval: 250000
|
vga_update_interval: 250000
|
||||||
</screen>
|
</screen>
|
||||||
Video memory is scanned for updates and screen updated every so many virtual
|
Video memory is scanned for updates and screen updated every so many virtual
|
||||||
@ -3903,11 +3903,10 @@ Examples:
|
|||||||
mouse: enabled=1, type=serial
|
mouse: enabled=1, type=serial
|
||||||
mouse: enabled=0
|
mouse: enabled=0
|
||||||
</screen>
|
</screen>
|
||||||
This option prevents Bochs from creating mouse "events" unless a mouse is
|
The Bochs gui creates mouse "events" unless the 'enabled' option is
|
||||||
enabled. The hardware emulation itself is not disabled by this. You can
|
set to 0. The hardware emulation itself is not disabled by this.
|
||||||
turn the mouse on by setting enabled to 1, or turn it off by setting
|
Unless you have a particular reason for enabling the mouse by default,
|
||||||
enabled to 0. Unless you have a particular reason for enabling the mouse
|
it is recommended that you leave it off. You can also toggle the
|
||||||
by default, it is recommended that you leave it off. You can also toggle the
|
|
||||||
mouse usage at runtime (see <link linkend="headerbar">headerbar</link>).
|
mouse usage at runtime (see <link linkend="headerbar">headerbar</link>).
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
@ -3915,7 +3914,7 @@ mouse usage at runtime (see <link linkend="headerbar">headerbar</link>).
|
|||||||
The default value is 'ps2'. The other choices are 'imps2' (wheel mouse
|
The default value is 'ps2'. The other choices are 'imps2' (wheel mouse
|
||||||
on PS/2), 'serial', 'serial_wheel' and 'serial_msys' (one com port requires
|
on PS/2), 'serial', 'serial_wheel' and 'serial_msys' (one com port requires
|
||||||
setting 'mode=mouse', see <link linkend="bochsopt-com">com option</link>).
|
setting 'mode=mouse', see <link linkend="bochsopt-com">com option</link>).
|
||||||
To connect a mouse to an USB port, see the <link linkend="bochsopt-usb1">usb1 option</link>
|
To connect a mouse to an USB port, see the <link linkend="bochsopt-usb_uhci">usb_uhci option</link>
|
||||||
(requires PCI and USB support).
|
(requires PCI and USB support).
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
@ -3973,12 +3972,12 @@ located in the <constant>bochs/host/linux/pcidev/</constant> directory.
|
|||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="bochsopt-usb1"><title>usb1</title>
|
<section id="bochsopt-usb_uhci"><title>usb_uhci</title>
|
||||||
<para>
|
<para>
|
||||||
Examples:
|
Examples:
|
||||||
<screen>
|
<screen>
|
||||||
usb1: enabled=1, port1=mouse, port2=keypad
|
usb_uhci: enabled=1, port1=mouse, port2=keypad
|
||||||
usb1: enabled=1, port1=tablet, port2=disk:usbdisk.img
|
usb_uhci: enabled=1, port1=tablet, port2=disk:usbdisk.img
|
||||||
</screen>
|
</screen>
|
||||||
This option controls the presence of the USB root hub which is a part of the
|
This option controls the presence of the USB root hub which is a part of the
|
||||||
i440FX PCI chipset.
|
i440FX PCI chipset.
|
||||||
@ -4226,6 +4225,19 @@ the image is the source for the initial time.
|
|||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section><title>plugin_ctrl</title>
|
||||||
|
<para>
|
||||||
|
Example:
|
||||||
|
<screen>
|
||||||
|
plugin_ctrl: biosdev=0, speaker=0
|
||||||
|
</screen>
|
||||||
|
Controls the presence of optional plugins without a separate option.
|
||||||
|
By default all existing plugins are enabled. These plugins are currently
|
||||||
|
supported: 'acpi', 'biosdev', 'extfpuirq', 'gameport', 'iodebug',
|
||||||
|
'pci_ide', 'speaker' and 'unmapped'.
|
||||||
|
</para>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section><title>magic_break</title>
|
<section><title>magic_break</title>
|
||||||
<para>
|
<para>
|
||||||
Example:
|
Example:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.\"Document Author: Timothy R. Butler - tbutler@uninetsolutions.com"
|
.\"Document Author: Timothy R. Butler - tbutler@uninetsolutions.com"
|
||||||
.TH bochsrc 5 "19 July 2008" "bochsrc" "The Bochs Project"
|
.TH bochsrc 5 "22 Febrary 2009" "bochsrc" "The Bochs Project"
|
||||||
.\"SKIP_SECTION"
|
.\"SKIP_SECTION"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
bochsrc \- Configuration file for Bochs.
|
bochsrc \- Configuration file for Bochs.
|
||||||
@ -583,8 +583,8 @@ one line in the actual bochsrc file.
|
|||||||
.I "vga_update_interval:"
|
.I "vga_update_interval:"
|
||||||
Video memory is scanned for updates and screen updated
|
Video memory is scanned for updates and screen updated
|
||||||
every so many virtual seconds. The default value is
|
every so many virtual seconds. The default value is
|
||||||
40000, about 25Hz. Keep in mind that you must tweak
|
50000, about 20Hz. Keep in mind that you must tweak
|
||||||
the 'cpu: ips=N' directive to be as close to the number of
|
the 'cpu: ips=N' directive to be as close to the number of
|
||||||
emulated instructions-per-second your workstation can
|
emulated instructions-per-second your workstation can
|
||||||
do, for this to be accurate.
|
do, for this to be accurate.
|
||||||
|
|
||||||
@ -643,19 +643,16 @@ Example:
|
|||||||
|
|
||||||
.TP
|
.TP
|
||||||
.I "mouse:"
|
.I "mouse:"
|
||||||
This option prevents Bochs from creating mouse "events"
|
The Bochs gui creates mouse "events" unless the 'enabled' option is
|
||||||
unless a mouse is enabled. The hardware emulation itself
|
set to 0. The hardware emulation itself is not disabled by this.
|
||||||
is not disabled by this. You can turn the mouse on by
|
Unless you have a particular reason for enabling the mouse by default,
|
||||||
setting enabled to 1, or turn it off by setting enabled
|
it is recommended that you leave it off. You can also toggle the mouse
|
||||||
to 0. Unless you have a particular reason for enabling
|
usage at runtime (control key + middle mouse button).
|
||||||
the mouse by default, it is recommended that you leave
|
|
||||||
it off. You can also toggle the mouse usage at runtime
|
|
||||||
(control key + middle mouse button).
|
|
||||||
With the mouse type option you can select the type of mouse to emulate.
|
With the mouse type option you can select the type of mouse to emulate.
|
||||||
The default value is 'ps2'. The other choices are 'imps2' (wheel mouse
|
The default value is 'ps2'. The other choices are 'imps2' (wheel mouse
|
||||||
on PS/2), 'serial', 'serial_wheel' (one com port requires setting 'mode=mouse')
|
on PS/2), 'serial', 'serial_wheel' and 'serial_msys' (one com port requires
|
||||||
and 'usb' (3-button mouse - one of the USB ports must be connected with
|
setting 'mode=mouse'). To connect a mouse to an USB port, see the 'usb_uhci'
|
||||||
the 'mouse' device - requires PCI and USB support).
|
option (requires PCI and USB support).
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
mouse: enabled=0
|
mouse: enabled=0
|
||||||
@ -807,15 +804,28 @@ Example:
|
|||||||
cmosimage: file=cmos.img, rtc_init=time0
|
cmosimage: file=cmos.img, rtc_init=time0
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.I "usb1:"
|
.I "usb_uhci:"
|
||||||
This option controls the presence of the USB root hub which is a part
|
This option controls the presence of the USB root hub which is a part
|
||||||
of the i440FX PCI chipset. With the portX option you can connect devices
|
of the i440FX PCI chipset. With the portX option you can connect devices
|
||||||
to the hub (currently supported: 'mouse' and 'keypad'). If you connect
|
to the hub (currently supported: 'mouse', 'tablet', 'keypad' and 'disk').
|
||||||
the mouse to one of the ports and use the mouse option 'type=usb' you'll
|
If you connect the mouse or tablet to one of the ports, Bochs forwards the
|
||||||
have a 3-button USB mouse.
|
mouse movement data to the USB device instead of the selected mouse type.
|
||||||
|
When connecting the keypad to one of the ports, Bochs forwards the input of
|
||||||
|
the numeric keypad to the USB device instead of the PS/2 keyboard.
|
||||||
|
To connect a flat image as an USB hardisk you can use the 'disk' device with
|
||||||
|
the path to the image separated with a colon (see below).
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
usb1: enabled=1, port1=mouse, port2=keypad
|
usb_uhci: enabled=1, port1=mouse, port2=disk:usbdisk.img
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.I "plugin_ctrl:"
|
||||||
|
Controls the presence of optional plugins without a separate option.
|
||||||
|
By default all existing plugins are enabled. These plugins are currently
|
||||||
|
supported: 'acpi', 'biosdev', 'extfpuirq', 'gameport', 'iodebug', 'pci_ide', 'speaker' and 'unmapped'.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
plugin_ctrl: biosdev=0, speaker=0
|
||||||
|
|
||||||
.\"SKIP_SECTION"
|
.\"SKIP_SECTION"
|
||||||
.SH LICENSE
|
.SH LICENSE
|
||||||
|
Loading…
Reference in New Issue
Block a user