annotate cos/bochsrc.txt @ 9:92ace1ca50a8

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