-
Notifications
You must be signed in to change notification settings - Fork 49
/
bochsrc
88 lines (66 loc) · 2.79 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
76
77
78
79
80
81
82
83
84
85
86
87
88
###############################################################
# bochsrc.txt file for DLX Linux disk image.
###############################################################
#info: action=report
#panic: action=report
error: action=report
#info: action=report
#debug: action=report
#debug: action=ignore, serial=report
#debug: action=ignore, floppy=report,biosdev=report
#info: action=ignore,floppy=report,biosdev=report
# how much memory the emulated machine will have
megs: 128
magic_break: enabled=1
#clock: sync=slowddown, time0=local
cpu: count=1, ips=1000000
# filename of ROM images
#romimage: file=$BXSHARE/BIOS-bochs-latest, options=fastboot
#romimage: file=$BXSHARE/BIOS-bochs-latest,address=0xfffe0000
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
#vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest-cirrus
#romimage: file=$BXSHARE/bios.bin-1.13.0
#vga: extension=cirrus, update_freq=10, realtime=1
#vga: extension=vbe
# pci
pci: enabled=1, chipset=i440fx, slot1=pcivga
#pcidev: vendor=0x1234, device=0x5678
# what disk images will be used
floppya: 1_44=image/duck.img, status=inserted, write_protected=1
#floppyb: 1_44=floppyb.img, status=inserted
# hard disk
#ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
#ata0-master: type=disk, path="image/duck.img", cylinders=80, heads=4, spt=18
# choose the boot disk.
boot: a
# default config interface is textconfig.
#config_interface: textconfig
#config_interface: wx
display_library: sdl
#display_library: x, options="gui_debug"
#display_library: x
# other choices: win32 sdl wx carbon amigaos beos macintosh nogui rfb term svga
# where do we send log messages?
log: image/bochsout.log
# disable the mouse, since DLX is text only
mouse: enabled=0
#gdbstub: enabled=1, port=1234, text_base=0, data_base=0, bss_base=0
# enable key mapping, using US layout as default.
#
# NOTE: In Bochs 1.4, keyboard mapping is only 100% implemented on X windows.
# However, the key mapping tables are used in the paste function, so
# in the DLX Linux example I'm enabling keyboard_mapping so that paste
# will work. Cut&Paste is currently implemented on win32 and X windows only.
#keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-fr.map
#keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-de.map
#keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-es.map
keyboard: keymap=$BXSHARE/keymaps/sdl-pc-us.map
com1: enabled=1, mode=file, dev=serial.log
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0-master: type=disk, path="image/disk.img", mode=flat,biosdetect=auto, translation=auto
#ata0-master: type=disk, path="image/disk.img", cylinders=20, heads=16, spt=63
#ata0-slave: type=disk, path="image/disk.img", cylinders=20, heads=16, spt=63
pci: enabled=1, chipset=i440fx, slot1=pcivga
#,slot2=e1000
vga: extension=vbe
#pcidev: vendor=0x1234, device=0x5678