-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bochsrc
75 lines (59 loc) · 2.54 KB
/
.bochsrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
###############################################################
# bochsrc file for WeensyOS
###############################################################
# This line defines the hard disk image Bochs will use.
# To change the image, change the 'path'!
ata0-master: path="mpos.img", type=disk, mode=flat, spt=1, heads=1
###############################################################
# how much memory the emulated machine will have
megs: 32
# filename of ROM images
romimage: file=$BXSHARE/BIOS-bochs-latest
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
# The parallel port is an alternate console so we can run Bochs without the GUI.
parport1: enabled=1, file="/dev/stdout"
# Or write parallel port output to a file, or throw it away.
#parport1: enabled=1, file="bochsout.txt"
#parport1: enabled=1, file="/dev/null"
# uncommenting one of the following lines can be used to specify your
# preferred display; nogui can still be useful because you can see the output
# on the parport1 from above
#display_library: x
#display_library: nogui
## if using "term", you probably want to change the parport output to
# go to a file or /dev/null
#display_library: term
# disk setup
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
# choose the boot disk.
boot: c
# where do we send log messages?
log: /dev/null
#log: bochs.log
# disable the mouse
mouse: enabled=0
debug: action=ignore
info: action=ignore
error: action=report
panic: action=ask
# this changes how often the screen is refreshed. Lowering it will
# make your screen update more often, which will slow down emulation,
# but will make the display respond faster. It can also be useful if
# you machine is panicing and the most recent screen changes are not
# displayed before it panics.
vga_update_interval: 100000
# changing ips can lead to dramatically different performance. It
# also affects how quickly time passes in the emulated machine.
# Setting it too low can cause clock interrupts to happen too rapidly.
# Setting it too high will make the whole machine feel sluggish.
# (Note: with using clock sync=realtime, the ips parameter is not
# really used, although it is still used for vga updates)
cpu: ips=2000000
# This means that time in the emulated machine is the same as
# realtime. This can be scary because running the same simulation
# twice in a row can lead to different results (because they started
# at different times, for instance). If you want to use non-real
# time, then use sync=none.
#clock: sync=realtime, time0=local
clock: sync=none, time0=946681200 # jan 1, 2000
keyboard_serial_delay: 10