-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbochsrc.wsl
70 lines (69 loc) · 2.54 KB
/
bochsrc.wsl
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
# configuration file generated by Bochs
plugin_ctrl: unmapped=1, biosdev=1, speaker=1, extfpuirq=1, parallel=1, serial=1, iodebug=1
config_interface: textconfig
display_library: x
memory: host=32, guest=32
romimage: file="/usr/local/share/bochs/BIOS-bochs-latest", address=0x0, options=none
vgaromimage: file="/usr/local/share/bochs/VGABIOS-lgpl-latest"
boot: disk
floppy_bootsig_check: disabled=0
#floppya: image="c.img", mode="flat", status=inserted
floppya: 1_44="c.img", status=inserted
# no floppya
# no floppyb
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
# ata0-master: type=disk, path="c.img", mode="flat", cylinders=24, heads=16, spt=63
# ata0-master: type=disk, path="c.img", mode="flat"
ata0-master: type=disk, path="c.img", mode="flat", cylinders=24, heads=16, spt=63
ata0-slave: type=none
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata1-master: type=none
ata1-slave: type=none
ata2: enabled=0
ata3: enabled=0
optromimage1: file=none
optromimage2: file=none
optromimage3: file=none
optromimage4: file=none
optramimage1: file=none
optramimage2: file=none
optramimage3: file=none
optramimage4: file=none
pci: enabled=1, chipset=i440fx
vga: extension=vbe, update_freq=10, realtime=1
cpu: model=corei7_icelake_u, count=4, ips=4290000000, reset_on_triple_fault=1, ignore_bad_msrs=1, msrs="msrs.def"
cpuid: level=6, stepping=3, model=3, family=6, vendor_string="AuthenticAMD", brand_string="AMD Athlon(tm) processor"
cpuid: mmx=1, apic=xapic, simd=sse2, sse4a=1, misaligned_sse=1, sep=1, movbe=1, adx=1
cpuid: aes=1, sha=1, xsave=1, xsaveopt=1, avx_f16c=1, avx_fma=1, bmi=1, xop=1, fma4=1
cpuid: tbm=1, x86_64=1, 1g_pages=1, pcid=1, fsgsbase=1, smep=1, smap=1, mwait=1
print_timestamps: enabled=0
debugger_log: debug_log.txt
debug_symbols: file=amos.sym
magic_break: enabled=1
port_e9_hack: enabled=1
private_colormap: enabled=0
clock: sync=realtime, time0=local, rtc_sync=1
# no cmosimage
# no loader
log: bochs.txt
logprefix: %t%e%d
debug: action=ignore, pci=report
info: action=report
error: action=report
panic: action=ask
keyboard: type=mf, serial_delay=250, paste_delay=100000, user_shortcut=none
#mouse: type=ps2, enabled=1, toggle=ctrl+mbutton
mouse: type=ps2, enabled=1, toggle=ctrl+f10
speaker: enabled=1, mode=system
parport1: enabled=1, file=none
parport2: enabled=0
com1: enabled=1, mode=file, dev=/tmp/serial.txt
com2: enabled=0
com3: enabled=0
com4: enabled=0
# 4096 = 4G, but makes bocks load slow
#memory: guest=4096, host=250
memory: guest=2048, host=250
clock: sync=realtime, time0=local, rtc_sync=1
#clock: sync=both,time0=local
#clock: sync=slowdown