Rev 812 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 812 | Rev 1471 | ||
---|---|---|---|
1 | # You may now use double quotes around pathnames, in case |
1 | # You may now use double quotes around pathnames, in case |
2 | # your pathname includes spaces. |
2 | # your pathname includes spaces. |
3 | 3 | ||
4 | #======================================================================= |
4 | #======================================================================= |
5 | # CONFIG_INTERFACE |
5 | # CONFIG_INTERFACE |
6 | # |
6 | # |
7 | # The configuration interface is a series of menus or dialog boxes that |
7 | # The configuration interface is a series of menus or dialog boxes that |
8 | # allows you to change all the settings that control Bochs's behavior. |
8 | # allows you to change all the settings that control Bochs's behavior. |
9 | # There are two choices of configuration interface: a text mode version |
9 | # There are two choices of configuration interface: a text mode version |
10 | # called "textconfig" and a graphical version called "wx". The text |
10 | # called "textconfig" and a graphical version called "wx". The text |
11 | # mode version uses stdin/stdout and is always compiled in. The graphical |
11 | # mode version uses stdin/stdout and is always compiled in. The graphical |
12 | # version is only available when you use "--with-wx" on the configure |
12 | # version is only available when you use "--with-wx" on the configure |
13 | # command. If you do not write a config_interface line, Bochs will |
13 | # command. If you do not write a config_interface line, Bochs will |
14 | # choose a default for you. |
14 | # choose a default for you. |
15 | # |
15 | # |
16 | # NOTE: if you use the "wx" configuration interface, you must also use |
16 | # NOTE: if you use the "wx" configuration interface, you must also use |
17 | # the "wx" display library. |
17 | # the "wx" display library. |
18 | #======================================================================= |
18 | #======================================================================= |
19 | config_interface: textconfig |
19 | config_interface: textconfig |
20 | #config_interface: wx |
20 | #config_interface: wx |
21 | 21 | ||
22 | #======================================================================= |
22 | #======================================================================= |
23 | # DISPLAY_LIBRARY |
23 | # DISPLAY_LIBRARY |
24 | # |
24 | # |
25 | # The display library is the code that displays the Bochs VGA screen. Bochs |
25 | # The display library is the code that displays the Bochs VGA screen. Bochs |
26 | # has a selection of about 10 different display library implementations for |
26 | # has a selection of about 10 different display library implementations for |
27 | # different platforms. If you run configure with multiple --with-* options, |
27 | # different platforms. If you run configure with multiple --with-* options, |
28 | # the display_library command lets you choose which one you want to run with. |
28 | # the display_library command lets you choose which one you want to run with. |
29 | # If you do not write a display_library line, Bochs will choose a default for |
29 | # If you do not write a display_library line, Bochs will choose a default for |
30 | # you. |
30 | # you. |
31 | # |
31 | # |
32 | # The choices are: |
32 | # The choices are: |
33 | # x use X windows interface, cross platform |
33 | # x use X windows interface, cross platform |
34 | # win32 use native win32 libraries |
34 | # win32 use native win32 libraries |
35 | # carbon use Carbon library (for MacOS X) |
35 | # carbon use Carbon library (for MacOS X) |
36 | # beos use native BeOS libraries |
36 | # beos use native BeOS libraries |
37 | # macintosh use MacOS pre-10 |
37 | # macintosh use MacOS pre-10 |
38 | # amigaos use native AmigaOS libraries |
38 | # amigaos use native AmigaOS libraries |
39 | # sdl use SDL library, cross platform |
39 | # sdl use SDL library, cross platform |
40 | # svga use SVGALIB library for Linux, allows graphics without X11 |
40 | # svga use SVGALIB library for Linux, allows graphics without X11 |
41 | # term text only, uses curses/ncurses library, cross platform |
41 | # term text only, uses curses/ncurses library, cross platform |
42 | # rfb provides an interface to AT&T's VNC viewer, cross platform |
42 | # rfb provides an interface to AT&T's VNC viewer, cross platform |
43 | # wx use wxWindows library, cross platform |
43 | # wx use wxWindows library, cross platform |
44 | # nogui no display at all |
44 | # nogui no display at all |
45 | # |
45 | # |
46 | # NOTE: if you use the "wx" configuration interface, you must also use |
46 | # NOTE: if you use the "wx" configuration interface, you must also use |
47 | # the "wx" display library. |
47 | # the "wx" display library. |
48 | #======================================================================= |
48 | #======================================================================= |
49 | #display_library: amigaos |
49 | #display_library: amigaos |
50 | #display_library: beos |
50 | #display_library: beos |
51 | #display_library: carbon |
51 | #display_library: carbon |
52 | #display_library: macintosh |
52 | #display_library: macintosh |
53 | #display_library: nogui |
53 | #display_library: nogui |
54 | #display_library: rfb |
54 | #display_library: rfb |
55 | #display_library: sdl |
55 | #display_library: sdl |
56 | #display_library: term |
56 | #display_library: term |
57 | #display_library: win32 |
57 | #display_library: win32 |
58 | #display_library: wx |
58 | #display_library: wx |
59 | display_library: x |
59 | display_library: x |
60 | 60 | ||
61 | cpu: count=8, ips=10000000 |
61 | cpu: count=8, ips=10000000 |
62 | 62 | ||
63 | #======================================================================= |
63 | #======================================================================= |
64 | # ROMIMAGE: |
64 | # ROMIMAGE: |
65 | # You now need to load a ROM BIOS into F0000-FFFFF. Normally, you can |
65 | # You now need to load a ROM BIOS into F0000-FFFFF. Normally, you can |
66 | # use a precompiled BIOS in the bios/ directory of the source tree, |
66 | # use a precompiled BIOS in the bios/ directory of the source tree, |
67 | # named BIOS-bochs-latest. |
67 | # named BIOS-bochs-latest. |
68 | # You can also use the environment variable $BXSHARE to specify the |
68 | # You can also use the environment variable $BXSHARE to specify the |
69 | # location of the BIOS. |
69 | # location of the BIOS. |
70 | #======================================================================= |
70 | #======================================================================= |
71 | romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000 |
71 | romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000 |
72 | #romimage: file=$BXSHARE/BIOS-bochs-8-processors, address=0xf0000 |
72 | #romimage: file=$BXSHARE/BIOS-bochs-8-processors, address=0xf0000 |
73 | #romimage: file=bios/P4SMT, address=0xf0000 |
73 | #romimage: file=bios/P4SMT, address=0xf0000 |
74 | 74 | ||
75 | #======================================================================= |
75 | #======================================================================= |
76 | # MEGS |
76 | # MEGS |
77 | # set this to the default number of Megabytes of memory you want |
77 | # set this to the default number of Megabytes of memory you want |
78 | # to emulate. You may also pass the '-megs xyz' option to bochs |
78 | # to emulate. You may also pass the '-megs xyz' option to bochs |
79 | # |
79 | # |
80 | # The default is 32MB, most OS's won't need more than that. |
80 | # The default is 32MB, most OS's won't need more than that. |
81 | #======================================================================= |
81 | #======================================================================= |
82 | #megs: 256 |
82 | #megs: 256 |
83 | #megs: 128 |
83 | #megs: 128 |
84 | #megs: 64 |
84 | #megs: 64 |
85 | megs: 32 |
85 | megs: 32 |
86 | #megs: 16 |
86 | #megs: 16 |
87 | #megs: 8 |
87 | #megs: 8 |
88 | 88 | ||
89 | #======================================================================= |
89 | #======================================================================= |
90 | # OPTROMIMAGE[1-4]: |
90 | # OPTROMIMAGE[1-4]: |
91 | # You may now load up to 4 optional ROM images. Be sure to use a |
91 | # You may now load up to 4 optional ROM images. Be sure to use a |
92 | # read-only area, typically between C8000 and EFFFF. These optional |
92 | # read-only area, typically between C8000 and EFFFF. These optional |
93 | # ROM images should not overwrite the rombios (located at |
93 | # ROM images should not overwrite the rombios (located at |
94 | # F0000-FFFFF) and the videobios (located at C0000-C7FFF). |
94 | # F0000-FFFFF) and the videobios (located at C0000-C7FFF). |
95 | # Those ROM images will be initialized by the bios if they contain |
95 | # Those ROM images will be initialized by the bios if they contain |
96 | # the right signature (0x55AA). |
96 | # the right signature (0x55AA). |
97 | # It can also be a convenient way to upload some arbitary code/data |
97 | # It can also be a convenient way to upload some arbitary code/data |
98 | # in the simulation, that can be retrieved by the boot loader |
98 | # in the simulation, that can be retrieved by the boot loader |
99 | #======================================================================= |
99 | #======================================================================= |
100 | #optromimage1: file=optionalrom.bin, address=0xd0000 |
100 | #optromimage1: file=optionalrom.bin, address=0xd0000 |
101 | #optromimage2: file=optionalrom.bin, address=0xd1000 |
101 | #optromimage2: file=optionalrom.bin, address=0xd1000 |
102 | #optromimage3: file=optionalrom.bin, address=0xd2000 |
102 | #optromimage3: file=optionalrom.bin, address=0xd2000 |
103 | #optromimage4: file=optionalrom.bin, address=0xd3000 |
103 | #optromimage4: file=optionalrom.bin, address=0xd3000 |
104 | 104 | ||
105 | #======================================================================= |
105 | #======================================================================= |
106 | # VGAROMIMAGE |
106 | # VGAROMIMAGE |
107 | # You now need to load a VGA ROM BIOS into C0000. |
107 | # You now need to load a VGA ROM BIOS into C0000. |
108 | #======================================================================= |
108 | #======================================================================= |
109 | vgaromimage: $BXSHARE/VGABIOS-lgpl-latest |
109 | vgaromimage: $BXSHARE/VGABIOS-lgpl-latest |
110 | #vgaromimage: bios/VGABIOS-elpin-2.40 |
110 | #vgaromimage: bios/VGABIOS-elpin-2.40 |
111 | #vgaromimage: $BXSHARE/VGABIOS-elpin-2.40 |
111 | #vgaromimage: $BXSHARE/VGABIOS-elpin-2.40 |
112 | 112 | ||
113 | #======================================================================= |
113 | #======================================================================= |
114 | # FLOPPYA: |
114 | # FLOPPYA: |
115 | # Point this to pathname of floppy image file or device |
115 | # Point this to pathname of floppy image file or device |
116 | # This should be of a bootable floppy(image/device) if you're |
116 | # This should be of a bootable floppy(image/device) if you're |
117 | # booting from 'a'. |
117 | # booting from 'a'. |
118 | # |
118 | # |
119 | # You can set the initial status of the media to 'ejected' or 'inserted'. |
119 | # You can set the initial status of the media to 'ejected' or 'inserted'. |
120 | # floppya: 2_88=path, status=ejected (2.88M 3.5" floppy) |
120 | # floppya: 2_88=path, status=ejected (2.88M 3.5" floppy) |
121 | # floppya: 1_44=path, status=inserted (1.44M 3.5" floppy) |
121 | # floppya: 1_44=path, status=inserted (1.44M 3.5" floppy) |
122 | # floppya: 1_2=path, status=ejected (1.2M 5.25" floppy) |
122 | # floppya: 1_2=path, status=ejected (1.2M 5.25" floppy) |
123 | # floppya: 720k=path, status=inserted (720K 3.5" floppy) |
123 | # floppya: 720k=path, status=inserted (720K 3.5" floppy) |
124 | # floppya: 360k=path, status=inserted (360K 5.25" floppy) |
124 | # floppya: 360k=path, status=inserted (360K 5.25" floppy) |
125 | # floppya: 320k=path, status=inserted (320K 5.25" floppy) |
125 | # floppya: 320k=path, status=inserted (320K 5.25" floppy) |
126 | # floppya: 180k=path, status=inserted (180K 5.25" floppy) |
126 | # floppya: 180k=path, status=inserted (180K 5.25" floppy) |
127 | # floppya: 160k=path, status=inserted (160K 5.25" floppy) |
127 | # floppya: 160k=path, status=inserted (160K 5.25" floppy) |
128 | # |
128 | # |
129 | # The path should be the name of a disk image file. On unix, you can use |
129 | # The path should be the name of a disk image file. On unix, you can use |
130 | # a raw device name such as /dev/fd0 on Linux. On WinNT and Win2k, use |
130 | # a raw device name such as /dev/fd0 on Linux. On WinNT and Win2k, use |
131 | # drive letters such as a: or b: as the path. Raw floppy access is not |
131 | # drive letters such as a: or b: as the path. Raw floppy access is not |
132 | # supported on Windows 95 and 98. |
132 | # supported on Windows 95 and 98. |
133 | #======================================================================= |
133 | #======================================================================= |
134 | floppya: 1_44=image.boot, status=inserted |
134 | #floppya: 1_44=image.boot, status=inserted |
135 | #floppya: 1_44=/dev/fd0, status=inserted |
135 | #floppya: 1_44=/dev/fd0, status=inserted |
136 | 136 | ||
137 | #======================================================================= |
137 | #======================================================================= |
138 | # FLOPPYB: |
138 | # FLOPPYB: |
139 | # See FLOPPYA above for syntax |
139 | # See FLOPPYA above for syntax |
140 | #======================================================================= |
140 | #======================================================================= |
141 | #floppyb: 1_44=b:, status=inserted |
141 | #floppyb: 1_44=b:, status=inserted |
142 | #floppyb: 1_44=b.img, status=inserted |
142 | #floppyb: 1_44=b.img, status=inserted |
143 | 143 | ||
144 | #======================================================================= |
144 | #======================================================================= |
145 | # ATA0, ATA1, ATA2, ATA3 |
145 | # ATA0, ATA1, ATA2, ATA3 |
146 | # ATA controller for hard disks and cdroms |
146 | # ATA controller for hard disks and cdroms |
147 | # |
147 | # |
148 | # ata[0-3]: enabled=[0|1], ioaddr1=addr, ioaddr2=addr, irq=number |
148 | # ata[0-3]: enabled=[0|1], ioaddr1=addr, ioaddr2=addr, irq=number |
149 | # |
149 | # |
150 | # These options enables up to 4 ata channels. For each channel |
150 | # These options enables up to 4 ata channels. For each channel |
151 | # the two base io addresses and the irq must be specified. |
151 | # the two base io addresses and the irq must be specified. |
152 | # |
152 | # |
153 | # ata0 is enabled by default, with ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14 |
153 | # ata0 is enabled by default, with ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14 |
154 | # |
154 | # |
155 | # Examples: |
155 | # Examples: |
156 | # ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14 |
156 | # ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14 |
157 | # ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15 |
157 | # ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15 |
158 | # ata2: enabled=1, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11 |
158 | # ata2: enabled=1, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11 |
159 | # ata3: enabled=1, ioaddr1=0x168, ioaddr2=0x360, irq=9 |
159 | # ata3: enabled=1, ioaddr1=0x168, ioaddr2=0x360, irq=9 |
160 | #======================================================================= |
160 | #======================================================================= |
161 | ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14 |
161 | ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14 |
162 | ata1: enabled=0, ioaddr1=0x170, ioaddr2=0x370, irq=15 |
162 | ata1: enabled=0, ioaddr1=0x170, ioaddr2=0x370, irq=15 |
163 | ata2: enabled=0, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11 |
163 | ata2: enabled=0, ioaddr1=0x1e8, ioaddr2=0x3e0, irq=11 |
164 | ata3: enabled=0, ioaddr1=0x168, ioaddr2=0x360, irq=9 |
164 | ata3: enabled=0, ioaddr1=0x168, ioaddr2=0x360, irq=9 |
165 | 165 | ||
166 | #======================================================================= |
166 | #======================================================================= |
167 | # ATA[0-3]-MASTER, ATA[0-3]-SLAVE |
167 | # ATA[0-3]-MASTER, ATA[0-3]-SLAVE |
168 | # |
168 | # |
169 | # This defines the type and characteristics of all attached ata devices: |
169 | # This defines the type and characteristics of all attached ata devices: |
170 | # type= type of attached device [disk|cdrom] |
170 | # type= type of attached device [disk|cdrom] |
171 | # mode= only valid for disks [flat|concat|external|dll|sparse|vmware3] |
171 | # mode= only valid for disks [flat|concat|external|dll|sparse|vmware3] |
172 | # mode= only valid for disks [undoable|growing|volatile] |
172 | # mode= only valid for disks [undoable|growing|volatile] |
173 | # path= path of the image |
173 | # path= path of the image |
174 | # cylinders= only valid for disks |
174 | # cylinders= only valid for disks |
175 | # heads= only valid for disks |
175 | # heads= only valid for disks |
176 | # spt= only valid for disks |
176 | # spt= only valid for disks |
177 | # status= only valid for cdroms [inserted|ejected] |
177 | # status= only valid for cdroms [inserted|ejected] |
178 | # biosdetect= type of biosdetection [none|auto], only for disks on ata0 [cmos] |
178 | # biosdetect= type of biosdetection [none|auto], only for disks on ata0 [cmos] |
179 | # translation=type of transation of the bios, only for disks [none|lba|large|rechs|auto] |
179 | # translation=type of transation of the bios, only for disks [none|lba|large|rechs|auto] |
180 | # model= string returned by identify device command |
180 | # model= string returned by identify device command |
181 | # journal= optional filename of the redolog for undoable and volatile disks |
181 | # journal= optional filename of the redolog for undoable and volatile disks |
182 | # |
182 | # |
183 | # Point this at a hard disk image file, cdrom iso file, or physical cdrom |
183 | # Point this at a hard disk image file, cdrom iso file, or physical cdrom |
184 | # device. To create a hard disk image, try running bximage. It will help you |
184 | # device. To create a hard disk image, try running bximage. It will help you |
185 | # choose the size and then suggest a line that works with it. |
185 | # choose the size and then suggest a line that works with it. |
186 | # |
186 | # |
187 | # In UNIX it may be possible to use a raw device as a Bochs hard disk, |
187 | # In UNIX it may be possible to use a raw device as a Bochs hard disk, |
188 | # but WE DON'T RECOMMEND IT. In Windows there is no easy way. |
188 | # but WE DON'T RECOMMEND IT. In Windows there is no easy way. |
189 | # |
189 | # |
190 | # In windows, the drive letter + colon notation should be used for cdroms. |
190 | # In windows, the drive letter + colon notation should be used for cdroms. |
191 | # Depending on versions of windows and drivers, you may only be able to |
191 | # Depending on versions of windows and drivers, you may only be able to |
192 | # access the "first" cdrom in the system. On MacOSX, use path="drive" |
192 | # access the "first" cdrom in the system. On MacOSX, use path="drive" |
193 | # to access the physical drive. |
193 | # to access the physical drive. |
194 | # |
194 | # |
195 | # The path, cylinders, heads, and spt are mandatory for type=disk |
195 | # The path, cylinders, heads, and spt are mandatory for type=disk |
196 | # The path is mandatory for type=cdrom |
196 | # The path is mandatory for type=cdrom |
197 | # |
197 | # |
198 | # Default values are: |
198 | # Default values are: |
199 | # mode=flat, biosdetect=auto, translation=auto, model="Generic 1234" |
199 | # mode=flat, biosdetect=auto, translation=auto, model="Generic 1234" |
200 | # |
200 | # |
201 | # The biosdetect option has currently no effect on the bios |
201 | # The biosdetect option has currently no effect on the bios |
202 | # |
202 | # |
203 | # Examples: |
203 | # Examples: |
204 | # ata0-master: type=disk, mode=flat, path=10M.sample, cylinders=306, heads=4, spt=17 |
204 | # ata0-master: type=disk, mode=flat, path=10M.sample, cylinders=306, heads=4, spt=17 |
205 | # ata0-slave: type=disk, mode=flat, path=20M.sample, cylinders=615, heads=4, spt=17 |
205 | # ata0-slave: type=disk, mode=flat, path=20M.sample, cylinders=615, heads=4, spt=17 |
206 | # ata1-master: type=disk, mode=flat, path=30M.sample, cylinders=615, heads=6, spt=17 |
206 | # ata1-master: type=disk, mode=flat, path=30M.sample, cylinders=615, heads=6, spt=17 |
207 | # ata1-slave: type=disk, mode=flat, path=46M.sample, cylinders=940, heads=6, spt=17 |
207 | # ata1-slave: type=disk, mode=flat, path=46M.sample, cylinders=940, heads=6, spt=17 |
208 | # ata2-master: type=disk, mode=flat, path=62M.sample, cylinders=940, heads=8, spt=17 |
208 | # ata2-master: type=disk, mode=flat, path=62M.sample, cylinders=940, heads=8, spt=17 |
209 | # ata2-slave: type=disk, mode=flat, path=112M.sample, cylinders=900, heads=15, spt=17 |
209 | # ata2-slave: type=disk, mode=flat, path=112M.sample, cylinders=900, heads=15, spt=17 |
210 | # ata3-master: type=disk, mode=flat, path=483M.sample, cylinders=1024, heads=15, spt=63 |
210 | # ata3-master: type=disk, mode=flat, path=483M.sample, cylinders=1024, heads=15, spt=63 |
211 | # ata3-slave: type=cdrom, path=iso.sample, status=inserted |
211 | # ata3-slave: type=cdrom, path=iso.sample, status=inserted |
212 | #======================================================================= |
212 | #======================================================================= |
- | 213 | ata0-master: type=cdrom, path="image.iso", status=inserted |
|
213 | #ata0-master: type=disk, mode=flat, path="30M.sample", cylinders=615, heads=6, spt=17 |
214 | #ata0-master: type=disk, mode=flat, path="30M.sample", cylinders=615, heads=6, spt=17 |
214 | #ata0-slave: type=cdrom, path=D:, status=inserted |
215 | #ata0-slave: type=cdrom, path=D:, status=inserted |
215 | #ata0-slave: type=cdrom, path=/dev/cdrom, status=inserted |
216 | #ata0-slave: type=cdrom, path=/dev/cdrom, status=inserted |
216 | #ata0-slave: type=cdrom, path="drive", status=inserted |
217 | #ata0-slave: type=cdrom, path="drive", status=inserted |
217 | #ata0-slave: type=cdrom, path=/dev/rcd0d, status=inserted |
218 | #ata0-slave: type=cdrom, path=/dev/rcd0d, status=inserted |
218 | 219 | ||
219 | #======================================================================= |
220 | #======================================================================= |
220 | # BOOT: |
221 | # BOOT: |
221 | # This defines your boot drive. |
222 | # This defines your boot drive. |
222 | # You can either boot from 'floppy', 'disk' or 'cdrom' |
223 | # You can either boot from 'floppy', 'disk' or 'cdrom' |
223 | # legacy 'a' and 'c' are also supported |
224 | # legacy 'a' and 'c' are also supported |
224 | # Examples: |
225 | # Examples: |
225 | # boot: floppy |
226 | # boot: floppy |
226 | # boot: disk |
227 | # boot: disk |
227 | # boot: cdrom |
228 | # boot: cdrom |
228 | # boot: c |
229 | # boot: c |
229 | # boot: a |
230 | # boot: a |
230 | #======================================================================= |
231 | #======================================================================= |
231 | boot: floppy |
232 | boot: cdrom |
232 | #boot: disk |
233 | #boot: disk |
233 | 234 | ||
234 | #======================================================================= |
235 | #======================================================================= |
235 | # IPS: |
236 | # IPS: |
236 | # Emulated Instructions Per Second. This is the number of IPS that bochs |
237 | # Emulated Instructions Per Second. This is the number of IPS that bochs |
237 | # is capable of running on your machine. Read the note in config.h |
238 | # is capable of running on your machine. Read the note in config.h |
238 | # on how to find this. Make sure to recompile after. |
239 | # on how to find this. Make sure to recompile after. |
239 | # |
240 | # |
240 | # IPS is used to calibrate many time-dependent events within the bochs |
241 | # IPS is used to calibrate many time-dependent events within the bochs |
241 | # simulation. For example, changing IPS affects the frequency of VGA |
242 | # simulation. For example, changing IPS affects the frequency of VGA |
242 | # updates, the duration of time before a key starts to autorepeat, and |
243 | # updates, the duration of time before a key starts to autorepeat, and |
243 | # the measurement of BogoMips and other benchmarks. |
244 | # the measurement of BogoMips and other benchmarks. |
244 | # |
245 | # |
245 | # Examples: |
246 | # Examples: |
246 | # Machine Mips |
247 | # Machine Mips |
247 | # ________________________________________________________________ |
248 | # ________________________________________________________________ |
248 | # 650Mhz Athlon K-7 with Linux 2.4.4/egcs-2.91.66 2 to 2.5 Mips |
249 | # 650Mhz Athlon K-7 with Linux 2.4.4/egcs-2.91.66 2 to 2.5 Mips |
249 | # 400Mhz Pentium II with Linux 2.0.36/egcs-1.0.3 1 to 1.8 Mips |
250 | # 400Mhz Pentium II with Linux 2.0.36/egcs-1.0.3 1 to 1.8 Mips |
250 | # 166Mhz 64bit Sparc with Solaris 2.x approx 0.75 Mips |
251 | # 166Mhz 64bit Sparc with Solaris 2.x approx 0.75 Mips |
251 | # 200Mhz Pentium with Linux 2.x approx 0.5 Mips |
252 | # 200Mhz Pentium with Linux 2.x approx 0.5 Mips |
252 | # |
253 | # |
253 | #======================================================================= |
254 | #======================================================================= |
254 | ips: 2500000 |
255 | ips: 2500000 |
255 | 256 | ||
256 | #======================================================================= |
257 | #======================================================================= |
257 | # CLOCK: |
258 | # CLOCK: |
258 | # This defines the parameters of the clock inside Bochs: |
259 | # This defines the parameters of the clock inside Bochs: |
259 | # |
260 | # |
260 | # SYNC: |
261 | # SYNC: |
261 | # TO BE COMPLETED (see Greg explaination in bug #536329) |
262 | # TO BE COMPLETED (see Greg explaination in bug #536329) |
262 | # |
263 | # |
263 | # TIME0: |
264 | # TIME0: |
264 | # Specifies the start (boot) time of the virtual machine. Use a time |
265 | # Specifies the start (boot) time of the virtual machine. Use a time |
265 | # value as returned by the time(2) system call. If no time0 value is |
266 | # value as returned by the time(2) system call. If no time0 value is |
266 | # set or if time0 equal to 1 (special case) or if time0 equal 'local', |
267 | # set or if time0 equal to 1 (special case) or if time0 equal 'local', |
267 | # the simulation will be started at the current local host time. |
268 | # the simulation will be started at the current local host time. |
268 | # If time0 equal to 2 (special case) or if time0 equal 'utc', |
269 | # If time0 equal to 2 (special case) or if time0 equal 'utc', |
269 | # the simulation will be started at the current utc time. |
270 | # the simulation will be started at the current utc time. |
270 | # |
271 | # |
271 | # Syntax: |
272 | # Syntax: |
272 | # clock: sync=[none|slowdown|realtime], time0=[timeValue|local|utc] |
273 | # clock: sync=[none|slowdown|realtime], time0=[timeValue|local|utc] |
273 | # |
274 | # |
274 | # Example: |
275 | # Example: |
275 | # clock: sync=none, time0=local # Now (localtime) |
276 | # clock: sync=none, time0=local # Now (localtime) |
276 | # clock: sync=slowdown, time0=315529200 # Tue Jan 1 00:00:00 1980 |
277 | # clock: sync=slowdown, time0=315529200 # Tue Jan 1 00:00:00 1980 |
277 | # clock: sync=none, time0=631148400 # Mon Jan 1 00:00:00 1990 |
278 | # clock: sync=none, time0=631148400 # Mon Jan 1 00:00:00 1990 |
278 | # clock: sync=realtime, time0=938581955 # Wed Sep 29 07:12:35 1999 |
279 | # clock: sync=realtime, time0=938581955 # Wed Sep 29 07:12:35 1999 |
279 | # clock: sync=realtime, time0=946681200 # Sat Jan 1 00:00:00 2000 |
280 | # clock: sync=realtime, time0=946681200 # Sat Jan 1 00:00:00 2000 |
280 | # clock: sync=none, time0=1 # Now (localtime) |
281 | # clock: sync=none, time0=1 # Now (localtime) |
281 | # clock: sync=none, time0=utc # Now (utc/gmt) |
282 | # clock: sync=none, time0=utc # Now (utc/gmt) |
282 | # |
283 | # |
283 | # Default value are sync=none, time0=local |
284 | # Default value are sync=none, time0=local |
284 | #======================================================================= |
285 | #======================================================================= |
285 | clock: sync=none, time0=local |
286 | clock: sync=none, time0=local |
286 | 287 | ||
287 | 288 | ||
288 | #======================================================================= |
289 | #======================================================================= |
289 | # FLOPPY_BOOTSIG_CHECK: disabled=[0|1] |
290 | # FLOPPY_BOOTSIG_CHECK: disabled=[0|1] |
290 | # Enables or disables the 0xaa55 signature check on boot floppies |
291 | # Enables or disables the 0xaa55 signature check on boot floppies |
291 | # Defaults to disabled=0 |
292 | # Defaults to disabled=0 |
292 | # Examples: |
293 | # Examples: |
293 | # floppy_bootsig_check: disabled=0 |
294 | # floppy_bootsig_check: disabled=0 |
294 | # floppy_bootsig_check: disabled=1 |
295 | # floppy_bootsig_check: disabled=1 |
295 | #======================================================================= |
296 | #======================================================================= |
296 | #floppy_bootsig_check: disabled=1 |
297 | #floppy_bootsig_check: disabled=1 |
297 | floppy_bootsig_check: disabled=1 |
298 | floppy_bootsig_check: disabled=1 |
298 | 299 | ||
299 | #======================================================================= |
300 | #======================================================================= |
300 | # LOG: |
301 | # LOG: |
301 | # Give the path of the log file you'd like Bochs debug and misc. verbage |
302 | # Give the path of the log file you'd like Bochs debug and misc. verbage |
302 | # to be written to. If you really don't want it, make it /dev/null. :^( |
303 | # to be written to. If you really don't want it, make it /dev/null. :^( |
303 | # |
304 | # |
304 | # Examples: |
305 | # Examples: |
305 | # log: ./bochs.out |
306 | # log: ./bochs.out |
306 | # log: /dev/tty |
307 | # log: /dev/tty |
307 | #======================================================================= |
308 | #======================================================================= |
308 | #log: /dev/null |
309 | #log: /dev/null |
309 | log: bochsout.txt |
310 | log: bochsout.txt |
310 | 311 | ||
311 | #======================================================================= |
312 | #======================================================================= |
312 | # LOGPREFIX: |
313 | # LOGPREFIX: |
313 | # This handles the format of the string prepended to each log line. |
314 | # This handles the format of the string prepended to each log line. |
314 | # You may use those special tokens : |
315 | # You may use those special tokens : |
315 | # %t : 11 decimal digits timer tick |
316 | # %t : 11 decimal digits timer tick |
316 | # %i : 8 hexadecimal digits of cpu0 current eip |
317 | # %i : 8 hexadecimal digits of cpu0 current eip |
317 | # %e : 1 character event type ('i'nfo, 'd'ebug, 'p'anic, 'e'rror) |
318 | # %e : 1 character event type ('i'nfo, 'd'ebug, 'p'anic, 'e'rror) |
318 | # %d : 5 characters string of the device, between brackets |
319 | # %d : 5 characters string of the device, between brackets |
319 | # |
320 | # |
320 | # Default : %t%e%d |
321 | # Default : %t%e%d |
321 | # Examples: |
322 | # Examples: |
322 | # logprefix: %t-%e-@%i-%d |
323 | # logprefix: %t-%e-@%i-%d |
323 | # logprefix: %i%e%d |
324 | # logprefix: %i%e%d |
324 | #======================================================================= |
325 | #======================================================================= |
325 | #logprefix: %t%e%d |
326 | #logprefix: %t%e%d |
326 | 327 | ||
327 | #======================================================================= |
328 | #======================================================================= |
328 | # LOG CONTROLS |
329 | # LOG CONTROLS |
329 | # |
330 | # |
330 | # Bochs now has four severity levels for event logging. |
331 | # Bochs now has four severity levels for event logging. |
331 | # panic: cannot proceed. If you choose to continue after a panic, |
332 | # panic: cannot proceed. If you choose to continue after a panic, |
332 | # don't be surprised if you get strange behavior or crashes. |
333 | # don't be surprised if you get strange behavior or crashes. |
333 | # error: something went wrong, but it is probably safe to continue the |
334 | # error: something went wrong, but it is probably safe to continue the |
334 | # simulation. |
335 | # simulation. |
335 | # info: interesting or useful messages. |
336 | # info: interesting or useful messages. |
336 | # debug: messages useful only when debugging the code. This may |
337 | # debug: messages useful only when debugging the code. This may |
337 | # spit out thousands per second. |
338 | # spit out thousands per second. |
338 | # |
339 | # |
339 | # For events of each level, you can choose to crash, report, or ignore. |
340 | # For events of each level, you can choose to crash, report, or ignore. |
340 | # TODO: allow choice based on the facility: e.g. crash on panics from |
341 | # TODO: allow choice based on the facility: e.g. crash on panics from |
341 | # everything except the cdrom, and only report those. |
342 | # everything except the cdrom, and only report those. |
342 | # |
343 | # |
343 | # If you are experiencing many panics, it can be helpful to change |
344 | # If you are experiencing many panics, it can be helpful to change |
344 | # the panic action to report instead of fatal. However, be aware |
345 | # the panic action to report instead of fatal. However, be aware |
345 | # that anything executed after a panic is uncharted territory and can |
346 | # that anything executed after a panic is uncharted territory and can |
346 | # cause bochs to become unstable. The panic is a "graceful exit," so |
347 | # cause bochs to become unstable. The panic is a "graceful exit," so |
347 | # if you disable it you may get a spectacular disaster instead. |
348 | # if you disable it you may get a spectacular disaster instead. |
348 | #======================================================================= |
349 | #======================================================================= |
349 | panic: action=report |
350 | panic: action=report |
350 | error: action=report |
351 | error: action=report |
351 | info: action=report |
352 | info: action=report |
352 | debug: action=ignore |
353 | debug: action=ignore |
353 | #pass: action=fatal |
354 | #pass: action=fatal |
354 | 355 | ||
355 | #======================================================================= |
356 | #======================================================================= |
356 | # DEBUGGER_LOG: |
357 | # DEBUGGER_LOG: |
357 | # Give the path of the log file you'd like Bochs to log debugger output. |
358 | # Give the path of the log file you'd like Bochs to log debugger output. |
358 | # If you really don't want it, make it /dev/null or '-'. :^( |
359 | # If you really don't want it, make it /dev/null or '-'. :^( |
359 | # |
360 | # |
360 | # Examples: |
361 | # Examples: |
361 | # debugger_log: ./debugger.out |
362 | # debugger_log: ./debugger.out |
362 | #======================================================================= |
363 | #======================================================================= |
363 | #debugger_log: /dev/null |
364 | #debugger_log: /dev/null |
364 | #debugger_log: debugger.out |
365 | #debugger_log: debugger.out |
365 | debugger_log: - |
366 | debugger_log: - |
366 | 367 | ||
367 | #======================================================================= |
368 | #======================================================================= |
368 | # COM1: |
369 | # COM1: |
369 | # This defines a serial port (UART type 16550A). You can specify a device |
370 | # This defines a serial port (UART type 16550A). You can specify a device |
370 | # to use as com1. This can be a real serial line, or a pty. To use a pty |
371 | # to use as com1. This can be a real serial line, or a pty. To use a pty |
371 | # (under X/Unix), create two windows (xterms, usually). One of them will |
372 | # (under X/Unix), create two windows (xterms, usually). One of them will |
372 | # run bochs, and the other will act as com1. Find out the tty the com1 |
373 | # run bochs, and the other will act as com1. Find out the tty the com1 |
373 | # window using the `tty' command, and use that as the `dev' parameter. |
374 | # window using the `tty' command, and use that as the `dev' parameter. |
374 | # Then do `sleep 1000000' in the com1 window to keep the shell from |
375 | # Then do `sleep 1000000' in the com1 window to keep the shell from |
375 | # messing with things, and run bochs in the other window. Serial I/O to |
376 | # messing with things, and run bochs in the other window. Serial I/O to |
376 | # com1 (port 0x3f8) will all go to the other window. |
377 | # com1 (port 0x3f8) will all go to the other window. |
377 | #======================================================================= |
378 | #======================================================================= |
378 | #com1: enabled=1, dev=/dev/ttyp9 |
379 | #com1: enabled=1, dev=/dev/ttyp9 |
379 | 380 | ||
380 | 381 | ||
381 | #======================================================================= |
382 | #======================================================================= |
382 | # PARPORT1: |
383 | # PARPORT1: |
383 | # This defines a parallel (printer) port. When turned on and an output file is |
384 | # This defines a parallel (printer) port. When turned on and an output file is |
384 | # defined the emulated printer port sends characters printed by the guest OS |
385 | # defined the emulated printer port sends characters printed by the guest OS |
385 | # into the output file. On some platforms a device filename can be used to |
386 | # into the output file. On some platforms a device filename can be used to |
386 | # send the data to the real parallel port (e.g. "/dev/lp0" on Linux, "lpt1" on |
387 | # send the data to the real parallel port (e.g. "/dev/lp0" on Linux, "lpt1" on |
387 | # win32 platforms). |
388 | # win32 platforms). |
388 | # |
389 | # |
389 | # Examples: |
390 | # Examples: |
390 | # parport1: enabled=1, file="parport.out" |
391 | # parport1: enabled=1, file="parport.out" |
391 | # parport1: enabled=1, file="/dev/lp0" |
392 | # parport1: enabled=1, file="/dev/lp0" |
392 | # parport1: enabled=0 |
393 | # parport1: enabled=0 |
393 | #======================================================================= |
394 | #======================================================================= |
394 | parport1: enabled=1, file="parport.out" |
395 | parport1: enabled=1, file="parport.out" |
395 | 396 | ||
396 | #======================================================================= |
397 | #======================================================================= |
397 | # SB16: |
398 | # SB16: |
398 | # This defines the SB16 sound emulation. It can have several of the |
399 | # This defines the SB16 sound emulation. It can have several of the |
399 | # following properties. |
400 | # following properties. |
400 | # All properties are in the format sb16: property=value |
401 | # All properties are in the format sb16: property=value |
401 | # midi: The filename is where the midi data is sent. This can be a |
402 | # midi: The filename is where the midi data is sent. This can be a |
402 | # device or just a file if you want to record the midi data. |
403 | # device or just a file if you want to record the midi data. |
403 | # midimode: |
404 | # midimode: |
404 | # 0=no data |
405 | # 0=no data |
405 | # 1=output to device (system dependent. midi denotes the device driver) |
406 | # 1=output to device (system dependent. midi denotes the device driver) |
406 | # 2=SMF file output, including headers |
407 | # 2=SMF file output, including headers |
407 | # 3=output the midi data stream to the file (no midi headers and no |
408 | # 3=output the midi data stream to the file (no midi headers and no |
408 | # delta times, just command and data bytes) |
409 | # delta times, just command and data bytes) |
409 | # wave: This is the device/file where wave output is stored |
410 | # wave: This is the device/file where wave output is stored |
410 | # wavemode: |
411 | # wavemode: |
411 | # 0=no data |
412 | # 0=no data |
412 | # 1=output to device (system dependent. wave denotes the device driver) |
413 | # 1=output to device (system dependent. wave denotes the device driver) |
413 | # 2=VOC file output, incl. headers |
414 | # 2=VOC file output, incl. headers |
414 | # 3=output the raw wave stream to the file |
415 | # 3=output the raw wave stream to the file |
415 | # log: The file to write the sb16 emulator messages to. |
416 | # log: The file to write the sb16 emulator messages to. |
416 | # loglevel: |
417 | # loglevel: |
417 | # 0=no log |
418 | # 0=no log |
418 | # 1=only midi program and bank changes |
419 | # 1=only midi program and bank changes |
419 | # 2=severe errors |
420 | # 2=severe errors |
420 | # 3=all errors |
421 | # 3=all errors |
421 | # 4=all errors plus all port accesses |
422 | # 4=all errors plus all port accesses |
422 | # 5=all errors and port accesses plus a lot of extra info |
423 | # 5=all errors and port accesses plus a lot of extra info |
423 | # dmatimer: |
424 | # dmatimer: |
424 | # microseconds per second for a DMA cycle. Make it smaller to fix |
425 | # microseconds per second for a DMA cycle. Make it smaller to fix |
425 | # non-continous sound. 750000 is usually a good value. This needs a |
426 | # non-continous sound. 750000 is usually a good value. This needs a |
426 | # reasonably correct setting for IPS. |
427 | # reasonably correct setting for IPS. |
427 | # |
428 | # |
428 | # For an example look at the next line: |
429 | # For an example look at the next line: |
429 | #======================================================================= |
430 | #======================================================================= |
430 | 431 | ||
431 | #sb16: midimode=1, midi=/dev/midi00, wavemode=1, wave=/dev/dsp, loglevel=2, log=sb16.log, dmatimer=600000 |
432 | #sb16: midimode=1, midi=/dev/midi00, wavemode=1, wave=/dev/dsp, loglevel=2, log=sb16.log, dmatimer=600000 |
432 | 433 | ||
433 | #======================================================================= |
434 | #======================================================================= |
434 | # VGA_UPDATE_INTERVAL: |
435 | # VGA_UPDATE_INTERVAL: |
435 | # Video memory is scanned for updates and screen updated every so many |
436 | # Video memory is scanned for updates and screen updated every so many |
436 | # virtual seconds. The default is 300000, about 3Hz. This is generally |
437 | # virtual seconds. The default is 300000, about 3Hz. This is generally |
437 | # plenty. Keep in mind that you must tweak the 'ips:' directive |
438 | # plenty. Keep in mind that you must tweak the 'ips:' directive |
438 | # to be as close to the number of emulated instructions-per-second |
439 | # to be as close to the number of emulated instructions-per-second |
439 | # your workstation can do, for this to be accurate. |
440 | # your workstation can do, for this to be accurate. |
440 | # |
441 | # |
441 | # Examples: |
442 | # Examples: |
442 | # vga_update_interval: 250000 |
443 | # vga_update_interval: 250000 |
443 | #======================================================================= |
444 | #======================================================================= |
444 | vga_update_interval: 300000 |
445 | vga_update_interval: 300000 |
445 | 446 | ||
446 | # using for Winstone '98 tests |
447 | # using for Winstone '98 tests |
447 | #vga_update_interval: 100000 |
448 | #vga_update_interval: 100000 |
448 | 449 | ||
449 | #======================================================================= |
450 | #======================================================================= |
450 | # KEYBOARD_SERIAL_DELAY: |
451 | # KEYBOARD_SERIAL_DELAY: |
451 | # Approximate time in microseconds that it takes one character to |
452 | # Approximate time in microseconds that it takes one character to |
452 | # be transfered from the keyboard to controller over the serial path. |
453 | # be transfered from the keyboard to controller over the serial path. |
453 | # Examples: |
454 | # Examples: |
454 | # keyboard_serial_delay: 200 |
455 | # keyboard_serial_delay: 200 |
455 | #======================================================================= |
456 | #======================================================================= |
456 | keyboard_serial_delay: 250 |
457 | keyboard_serial_delay: 250 |
457 | 458 | ||
458 | #======================================================================= |
459 | #======================================================================= |
459 | # KEYBOARD_PASTE_DELAY: |
460 | # KEYBOARD_PASTE_DELAY: |
460 | # Approximate time in microseconds between attempts to paste |
461 | # Approximate time in microseconds between attempts to paste |
461 | # characters to the keyboard controller. This leaves time for the |
462 | # characters to the keyboard controller. This leaves time for the |
462 | # guest os to deal with the flow of characters. The ideal setting |
463 | # guest os to deal with the flow of characters. The ideal setting |
463 | # depends on how your operating system processes characters. The |
464 | # depends on how your operating system processes characters. The |
464 | # default of 100000 usec (.1 seconds) was chosen because it works |
465 | # default of 100000 usec (.1 seconds) was chosen because it works |
465 | # consistently in Windows. |
466 | # consistently in Windows. |
466 | # |
467 | # |
467 | # If your OS is losing characters during a paste, increase the paste |
468 | # If your OS is losing characters during a paste, increase the paste |
468 | # delay until it stops losing characters. |
469 | # delay until it stops losing characters. |
469 | # |
470 | # |
470 | # Examples: |
471 | # Examples: |
471 | # keyboard_paste_delay: 100000 |
472 | # keyboard_paste_delay: 100000 |
472 | #======================================================================= |
473 | #======================================================================= |
473 | keyboard_paste_delay: 100000 |
474 | keyboard_paste_delay: 100000 |
474 | 475 | ||
475 | #======================================================================= |
476 | #======================================================================= |
476 | # FLOPPY_COMMAND_DELAY: |
477 | # FLOPPY_COMMAND_DELAY: |
477 | # Time in microseconds to wait before completing some floppy commands |
478 | # Time in microseconds to wait before completing some floppy commands |
478 | # such as read/write/seek/etc, which normally have a delay associated. |
479 | # such as read/write/seek/etc, which normally have a delay associated. |
479 | # I had this hardwired to 50,000 before. |
480 | # I had this hardwired to 50,000 before. |
480 | # |
481 | # |
481 | # Examples: |
482 | # Examples: |
482 | # floppy_command_delay: 50000 |
483 | # floppy_command_delay: 50000 |
483 | #======================================================================= |
484 | #======================================================================= |
484 | floppy_command_delay: 500 |
485 | floppy_command_delay: 500 |
485 | 486 | ||
486 | #======================================================================= |
487 | #======================================================================= |
487 | # MOUSE: |
488 | # MOUSE: |
488 | # This option prevents Bochs from creating mouse "events" unless a mouse |
489 | # This option prevents Bochs from creating mouse "events" unless a mouse |
489 | # is enabled. The hardware emulation itself is not disabled by this. |
490 | # is enabled. The hardware emulation itself is not disabled by this. |
490 | # You can turn the mouse on by setting enabled to 1, or turn it off by |
491 | # You can turn the mouse on by setting enabled to 1, or turn it off by |
491 | # setting enabled to 0. Unless you have a particular reason for enabling |
492 | # setting enabled to 0. Unless you have a particular reason for enabling |
492 | # the mouse by default, it is recommended that you leave it off. |
493 | # the mouse by default, it is recommended that you leave it off. |
493 | # You can also toggle the mouse usage at runtime (middle mouse button on |
494 | # You can also toggle the mouse usage at runtime (middle mouse button on |
494 | # X11 and SDL, F12 on Win32). |
495 | # X11 and SDL, F12 on Win32). |
495 | # |
496 | # |
496 | # Examples: |
497 | # Examples: |
497 | # mouse: enabled=1 |
498 | # mouse: enabled=1 |
498 | # mouse: enabled=0 |
499 | # mouse: enabled=0 |
499 | #======================================================================= |
500 | #======================================================================= |
500 | mouse: enabled=0 |
501 | mouse: enabled=0 |
501 | 502 | ||
502 | #======================================================================= |
503 | #======================================================================= |
503 | # private_colormap: Request that the GUI create and use it's own |
504 | # private_colormap: Request that the GUI create and use it's own |
504 | # non-shared colormap. This colormap will be used |
505 | # non-shared colormap. This colormap will be used |
505 | # when in the bochs window. If not enabled, a |
506 | # when in the bochs window. If not enabled, a |
506 | # shared colormap scheme may be used. Not implemented |
507 | # shared colormap scheme may be used. Not implemented |
507 | # on all GUI's. |
508 | # on all GUI's. |
508 | # |
509 | # |
509 | # Examples: |
510 | # Examples: |
510 | # private_colormap: enabled=1 |
511 | # private_colormap: enabled=1 |
511 | # private_colormap: enabled=0 |
512 | # private_colormap: enabled=0 |
512 | #======================================================================= |
513 | #======================================================================= |
513 | private_colormap: enabled=0 |
514 | private_colormap: enabled=0 |
514 | 515 | ||
515 | #======================================================================= |
516 | #======================================================================= |
516 | # fullscreen: ONLY IMPLEMENTED ON AMIGA |
517 | # fullscreen: ONLY IMPLEMENTED ON AMIGA |
517 | # Request that Bochs occupy the entire screen instead of a |
518 | # Request that Bochs occupy the entire screen instead of a |
518 | # window. |
519 | # window. |
519 | # |
520 | # |
520 | # Examples: |
521 | # Examples: |
521 | # fullscreen: enabled=0 |
522 | # fullscreen: enabled=0 |
522 | # fullscreen: enabled=1 |
523 | # fullscreen: enabled=1 |
523 | #======================================================================= |
524 | #======================================================================= |
524 | #fullscreen: enabled=0 |
525 | #fullscreen: enabled=0 |
525 | #screenmode: name="sample" |
526 | #screenmode: name="sample" |
526 | 527 | ||
527 | #======================================================================= |
528 | #======================================================================= |
528 | # ne2k: NE2000 compatible ethernet adapter |
529 | # ne2k: NE2000 compatible ethernet adapter |
529 | # |
530 | # |
530 | # Examples: |
531 | # Examples: |
531 | # ne2k: ioaddr=IOADDR, irq=IRQ, mac=MACADDR, ethmod=MODULE, ethdev=DEVICE, script=SCRIPT |
532 | # ne2k: ioaddr=IOADDR, irq=IRQ, mac=MACADDR, ethmod=MODULE, ethdev=DEVICE, script=SCRIPT |
532 | # |
533 | # |
533 | # ioaddr, irq: You probably won't need to change ioaddr and irq, unless there |
534 | # ioaddr, irq: You probably won't need to change ioaddr and irq, unless there |
534 | # are IRQ conflicts. |
535 | # are IRQ conflicts. |
535 | # |
536 | # |
536 | # mac: The MAC address MUST NOT match the address of any machine on the net. |
537 | # mac: The MAC address MUST NOT match the address of any machine on the net. |
537 | # Also, the first byte must be an even number (bit 0 set means a multicast |
538 | # Also, the first byte must be an even number (bit 0 set means a multicast |
538 | # address), and you cannot use ff:ff:ff:ff:ff:ff because that's the broadcast |
539 | # address), and you cannot use ff:ff:ff:ff:ff:ff because that's the broadcast |
539 | # address. For the ethertap module, you must use fe:fd:00:00:00:01. There may |
540 | # address. For the ethertap module, you must use fe:fd:00:00:00:01. There may |
540 | # be other restrictions too. To be safe, just use the b0:c4... address. |
541 | # be other restrictions too. To be safe, just use the b0:c4... address. |
541 | # |
542 | # |
542 | # ethdev: The ethdev value is the name of the network interface on your host |
543 | # ethdev: The ethdev value is the name of the network interface on your host |
543 | # platform. On UNIX machines, you can get the name by running ifconfig. On |
544 | # platform. On UNIX machines, you can get the name by running ifconfig. On |
544 | # Windows machines, you must run niclist to get the name of the ethdev. |
545 | # Windows machines, you must run niclist to get the name of the ethdev. |
545 | # Niclist source code is in misc/niclist.c and it is included in Windows |
546 | # Niclist source code is in misc/niclist.c and it is included in Windows |
546 | # binary releases. |
547 | # binary releases. |
547 | # |
548 | # |
548 | # script: The script value is optionnal, and is the name of a script that |
549 | # script: The script value is optionnal, and is the name of a script that |
549 | # is executed after bochs initialize the network interface. You can use |
550 | # is executed after bochs initialize the network interface. You can use |
550 | # this script to configure this network interface, or enable masquerading. |
551 | # this script to configure this network interface, or enable masquerading. |
551 | # This is mainly useful for the tun/tap devices that only exist during |
552 | # This is mainly useful for the tun/tap devices that only exist during |
552 | # Bochs execution. The network interface name is supplied to the script |
553 | # Bochs execution. The network interface name is supplied to the script |
553 | # as first parameter |
554 | # as first parameter |
554 | #======================================================================= |
555 | #======================================================================= |
555 | # ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=fbsd, ethdev=en0 #macosx |
556 | # ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=fbsd, ethdev=en0 #macosx |
556 | # ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:00, ethmod=fbsd, ethdev=xl0 |
557 | # ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:00, ethmod=fbsd, ethdev=xl0 |
557 | # ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:00, ethmod=linux, ethdev=eth0 |
558 | # ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:00, ethmod=linux, ethdev=eth0 |
558 | # ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=win32, ethdev=MYCARD |
559 | # ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=win32, ethdev=MYCARD |
559 | # ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=tap, ethdev=tap0 |
560 | # ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=tap, ethdev=tap0 |
560 | # ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=tun0, script=./tunconfig |
561 | # ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=tun0, script=./tunconfig |
561 | 562 | ||
562 | #======================================================================= |
563 | #======================================================================= |
563 | # KEYBOARD_MAPPING: |
564 | # KEYBOARD_MAPPING: |
564 | # This enables a remap of a physical localized keyboard to a |
565 | # This enables a remap of a physical localized keyboard to a |
565 | # virtualized us keyboard, as the PC architecture expects. |
566 | # virtualized us keyboard, as the PC architecture expects. |
566 | # If enabled, the keymap file must be specified. |
567 | # If enabled, the keymap file must be specified. |
567 | # |
568 | # |
568 | # Examples: |
569 | # Examples: |
569 | # keyboard_mapping: enabled=1, map=gui/keymaps/x11-pc-de.map |
570 | # keyboard_mapping: enabled=1, map=gui/keymaps/x11-pc-de.map |
570 | #======================================================================= |
571 | #======================================================================= |
571 | keyboard_mapping: enabled=0, map= |
572 | keyboard_mapping: enabled=0, map= |
572 | 573 | ||
573 | #======================================================================= |
574 | #======================================================================= |
574 | # KEYBOARD_TYPE: |
575 | # KEYBOARD_TYPE: |
575 | # Type of keyboard return by a "identify keyboard" command to the |
576 | # Type of keyboard return by a "identify keyboard" command to the |
576 | # keyboard controler. It must be one of "xt", "at" or "mf". |
577 | # keyboard controler. It must be one of "xt", "at" or "mf". |
577 | # Defaults to "mf". It should be ok for almost everybody. A known |
578 | # Defaults to "mf". It should be ok for almost everybody. A known |
578 | # exception is french macs, that do have a "at"-like keyboard. |
579 | # exception is french macs, that do have a "at"-like keyboard. |
579 | # |
580 | # |
580 | # Examples: |
581 | # Examples: |
581 | # keyboard_type: mf |
582 | # keyboard_type: mf |
582 | #======================================================================= |
583 | #======================================================================= |
583 | #keyboard_type: mf |
584 | #keyboard_type: mf |
584 | 585 | ||
585 | #======================================================================= |
586 | #======================================================================= |
586 | # USER_SHORTCUT: |
587 | # USER_SHORTCUT: |
587 | # This defines the keyboard shortcut to be sent when you press the "user" |
588 | # This defines the keyboard shortcut to be sent when you press the "user" |
588 | # button in the headerbar. The shortcut string can be a combination of |
589 | # button in the headerbar. The shortcut string can be a combination of |
589 | # these key names: "alt", "bksp", "ctrl", "del", "esc", "f1", "f4", "tab" |
590 | # these key names: "alt", "bksp", "ctrl", "del", "esc", "f1", "f4", "tab" |
590 | # and "win". Up to 3 keys can be pressed at a time. |
591 | # and "win". Up to 3 keys can be pressed at a time. |
591 | # |
592 | # |
592 | # Example: |
593 | # Example: |
593 | # user_shortcut: keys=ctrlaltdel |
594 | # user_shortcut: keys=ctrlaltdel |
594 | #======================================================================= |
595 | #======================================================================= |
595 | #user_shortcut: keys=ctrlaltdel |
596 | #user_shortcut: keys=ctrlaltdel |
596 | 597 | ||
597 | #======================================================================= |
598 | #======================================================================= |
598 | # other stuff |
599 | # other stuff |
599 | #======================================================================= |
600 | #======================================================================= |
600 | #magic_break: enabled=1 |
601 | #magic_break: enabled=1 |
601 | #cmosimage: cmos.img |
602 | #cmosimage: cmos.img |
602 | #load32bitOSImage: os=nullkernel, path=../kernel.img, iolog=../vga_io.log |
603 | #load32bitOSImage: os=nullkernel, path=../kernel.img, iolog=../vga_io.log |
603 | #load32bitOSImage: os=linux, path=../linux.img, iolog=../vga_io.log, initrd=../initrd.img |
604 | #load32bitOSImage: os=linux, path=../linux.img, iolog=../vga_io.log, initrd=../initrd.img |
604 | #i440fxsupport: enabled=1 |
605 | #i440fxsupport: enabled=1 |
605 | usb1: enabled=1, ioaddr=0xFF80, irq=10 |
606 | usb1: enabled=1, ioaddr=0xFF80, irq=10 |
606 | #text_snapshot_check: enable |
607 | #text_snapshot_check: enable |
607 | 608 | ||
608 | #======================================================================= |
609 | #======================================================================= |
609 | # for Macintosh, use the style of pathnames in the following |
610 | # for Macintosh, use the style of pathnames in the following |
610 | # examples. |
611 | # examples. |
611 | # |
612 | # |
612 | # vgaromimage: :bios:VGABIOS-elpin-2.40 |
613 | # vgaromimage: :bios:VGABIOS-elpin-2.40 |
613 | # romimage: file=:bios:BIOS-bochs-latest, address=0xf0000 |
614 | # romimage: file=:bios:BIOS-bochs-latest, address=0xf0000 |
614 | # floppya: 1_44=[fd:], status=inserted |
615 | # floppya: 1_44=[fd:], status=inserted |
615 | #======================================================================= |
616 | #======================================================================= |
616 | 617 | ||
617 | 618 | ||
618 | #======================================================================= |
619 | #======================================================================= |
619 | # |
620 | # |
620 | # The following directives are DEPRECATED |
621 | # The following directives are DEPRECATED |
621 | # Please convert them to the new syntax or remove them |
622 | # Please convert them to the new syntax or remove them |
622 | # |
623 | # |
623 | #======================================================================= |
624 | #======================================================================= |
624 | 625 | ||
625 | #======================================================================= |
626 | #======================================================================= |
626 | # |
627 | # |
627 | # The DISKC option is deprecated. Use ATA* options instead. |
628 | # The DISKC option is deprecated. Use ATA* options instead. |
628 | # |
629 | # |
629 | # DISKC: file=, cyl=, heads=, spt= |
630 | # DISKC: file=, cyl=, heads=, spt= |
630 | # Point this at a hard disk image file. To create |
631 | # Point this at a hard disk image file. To create |
631 | # a hard disk image, try running bximage. It will help you choose the |
632 | # a hard disk image, try running bximage. It will help you choose the |
632 | # size and then suggest a diskc line that works with it. |
633 | # size and then suggest a diskc line that works with it. |
633 | # |
634 | # |
634 | # In UNIX it may be possible to use a raw device as a Bochs hard disk, |
635 | # In UNIX it may be possible to use a raw device as a Bochs hard disk, |
635 | # but WE DON'T RECOMMEND IT. In Windows there is no easy way. |
636 | # but WE DON'T RECOMMEND IT. In Windows there is no easy way. |
636 | # |
637 | # |
637 | # Examples: |
638 | # Examples: |
638 | # diskc: file=10M.sample, cyl=306, heads=4, spt=17 |
639 | # diskc: file=10M.sample, cyl=306, heads=4, spt=17 |
639 | # diskc: file=20M.sample, cyl=615, heads=4, spt=17 |
640 | # diskc: file=20M.sample, cyl=615, heads=4, spt=17 |
640 | # diskc: file=30M.sample, cyl=615, heads=6, spt=17 |
641 | # diskc: file=30M.sample, cyl=615, heads=6, spt=17 |
641 | # diskc: file=46M.sample, cyl=940, heads=6, spt=17 |
642 | # diskc: file=46M.sample, cyl=940, heads=6, spt=17 |
642 | # diskc: file=62M.sample, cyl=940, heads=8, spt=17 |
643 | # diskc: file=62M.sample, cyl=940, heads=8, spt=17 |
643 | # diskc: file=112M.sample, cyl=900, heads=15, spt=17 |
644 | # diskc: file=112M.sample, cyl=900, heads=15, spt=17 |
644 | # diskc: file=483M.sample, cyl=1024, heads=15, spt=63 |
645 | # diskc: file=483M.sample, cyl=1024, heads=15, spt=63 |
645 | #======================================================================= |
646 | #======================================================================= |
646 | #diskc: file="30M.sample", cyl=615, heads=6, spt=17 |
647 | #diskc: file="30M.sample", cyl=615, heads=6, spt=17 |
647 | 648 | ||
648 | #======================================================================= |
649 | #======================================================================= |
649 | # |
650 | # |
650 | # The DISKD option is deprecated. Use ATA* options instead. |
651 | # The DISKD option is deprecated. Use ATA* options instead. |
651 | # |
652 | # |
652 | # DISKD: |
653 | # DISKD: |
653 | # See DISKC above for syntax |
654 | # See DISKC above for syntax |
654 | # |
655 | # |
655 | # NOTE: diskd and cdromd must not be used together! |
656 | # NOTE: diskd and cdromd must not be used together! |
656 | #======================================================================= |
657 | #======================================================================= |
657 | #diskd: file="diskd.img", cyl=615, heads=6, spt=17 |
658 | #diskd: file="diskd.img", cyl=615, heads=6, spt=17 |
658 | 659 | ||
659 | #======================================================================= |
660 | #======================================================================= |
660 | # |
661 | # |
661 | # The CDROMD option is deprecated. Use ATA* options instead. |
662 | # The CDROMD option is deprecated. Use ATA* options instead. |
662 | # |
663 | # |
663 | # CDROMD: |
664 | # CDROMD: |
664 | # |
665 | # |
665 | # cdromd: dev=/dev/cdrom, status=inserted |
666 | # cdromd: dev=/dev/cdrom, status=inserted |
666 | # cdromd: dev=/dev/cdrom, status=ejected |
667 | # cdromd: dev=/dev/cdrom, status=ejected |
667 | # cdromd: dev=e:, status=ejected |
668 | # cdromd: dev=e:, status=ejected |
668 | # |
669 | # |
669 | # In windows, the drive letter + colon notation should be used for cdroms. |
670 | # In windows, the drive letter + colon notation should be used for cdroms. |
670 | # Depending on versions of windows and drivers, you may only be able to |
671 | # Depending on versions of windows and drivers, you may only be able to |
671 | # access the "first" cdrom in the system. On MacOSX, use path="drive" |
672 | # access the "first" cdrom in the system. On MacOSX, use path="drive" |
672 | # to access the physical drive. |
673 | # to access the physical drive. |
673 | # |
674 | # |
674 | # NOTE: diskd and cdromd must not be used together! |
675 | # NOTE: diskd and cdromd must not be used together! |
675 | #======================================================================= |
676 | #======================================================================= |
676 | #cdromd: dev=D:, status=inserted |
677 | #cdromd: dev=D:, status=inserted |
677 | #cdromd: dev=/dev/cdrom, status=inserted |
678 | #cdromd: dev=/dev/cdrom, status=inserted |
678 | #cdromd: dev="drive", status=inserted |
679 | #cdromd: dev="drive", status=inserted |
679 | 680 | ||
680 | #======================================================================= |
681 | #======================================================================= |
681 | # |
682 | # |
682 | # The TIME0 directive is DEPRECATED. Use the CLOCK directive instead |
683 | # The TIME0 directive is DEPRECATED. Use the CLOCK directive instead |
683 | # |
684 | # |
684 | # TIME0: |
685 | # TIME0: |
685 | # Specifies the start (boot) time of the virtual machine. Use a time |
686 | # Specifies the start (boot) time of the virtual machine. Use a time |
686 | # value as returned by the time(2) system call. If no time0 value is |
687 | # value as returned by the time(2) system call. If no time0 value is |
687 | # set or if time0 equal to 1 (special case), the simulation will be |
688 | # set or if time0 equal to 1 (special case), the simulation will be |
688 | # started at the current time of the host. |
689 | # started at the current time of the host. |
689 | # |
690 | # |
690 | # Examples: |
691 | # Examples: |
691 | # time0: 1 # Now |
692 | # time0: 1 # Now |
692 | # time0: 315529200 # Tue Jan 1 00:00:00 1980 |
693 | # time0: 315529200 # Tue Jan 1 00:00:00 1980 |
693 | # time0: 631148400 # Mon Jan 1 00:00:00 1990 |
694 | # time0: 631148400 # Mon Jan 1 00:00:00 1990 |
694 | # time0: 938581955 # Wed Sep 29 07:12:35 1999 |
695 | # time0: 938581955 # Wed Sep 29 07:12:35 1999 |
695 | # time0: 946681200 # Sat Jan 1 00:00:00 2000 |
696 | # time0: 946681200 # Sat Jan 1 00:00:00 2000 |
696 | #======================================================================= |
697 | #======================================================================= |
697 | #time0: 938581955 |
698 | #time0: 938581955 |
698 | 699 | ||
699 | #======================================================================= |
700 | #======================================================================= |
700 | # |
701 | # |
701 | # The PIT directive is DEPRECATED. Use the CLOCK directive instead |
702 | # The PIT directive is DEPRECATED. Use the CLOCK directive instead |
702 | # |
703 | # |
703 | # PIT: |
704 | # PIT: |
704 | # The PIT is the programmable interval timer. It has an option that tries to |
705 | # The PIT is the programmable interval timer. It has an option that tries to |
705 | # keep the PIT in sync with real time. This feature is still experimental, |
706 | # keep the PIT in sync with real time. This feature is still experimental, |
706 | # but it may be useful if you want to prevent Bochs from running too fast, for |
707 | # but it may be useful if you want to prevent Bochs from running too fast, for |
707 | # example a DOS video game. Be aware that with the realtime pit option, your |
708 | # example a DOS video game. Be aware that with the realtime pit option, your |
708 | # simulation will not be repeatable; this can a problem if you are debugging. |
709 | # simulation will not be repeatable; this can a problem if you are debugging. |
709 | #======================================================================= |
710 | #======================================================================= |
710 | #pit: realtime=1 |
711 | #pit: realtime=1 |
711 | 712 | ||
712 | #======================================================================= |
713 | #======================================================================= |
713 | # NEWHARDDRIVESUPPORT: enabled=[0|1] |
714 | # NEWHARDDRIVESUPPORT: enabled=[0|1] |
714 | # The old harddrive code is not maintened any more. |
715 | # The old harddrive code is not maintened any more. |
715 | # Default value is enabled=1 |
716 | # Default value is enabled=1 |
716 | #======================================================================= |
717 | #======================================================================= |
717 | #newharddrivesupport: enabled=1 |
718 | #newharddrivesupport: enabled=1 |
718 | 719 | ||
719 | 720 |