File: local-config.patch

package info (click to toggle)
bochs 3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 25,244 kB
  • sloc: cpp: 270,331; ansic: 25,334; sh: 8,371; makefile: 5,512; yacc: 1,485; asm: 395; perl: 359; lex: 318; csh: 3
file content (149 lines) | stat: -rw-r--r-- 6,071 bytes parent folder | download
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
Description: Adjust the default configuration for Debian
Author: Robert Millan <rmh@debian.org>
Author: Guillem Jover <guillem@debian.org>
Forwarded: not-needed

---
 .bochsrc |   81 ++++++++++++---------------------------------------------------
 1 file changed, 16 insertions(+), 65 deletions(-)

--- a/.bochsrc
+++ b/.bochsrc
@@ -35,8 +35,7 @@
 # the "wx" display library.
 #=======================================================================
 #config_interface: textconfig
-#config_interface: win32config
-#config_interface: wx
+config_interface: wx
 
 #=======================================================================
 # DISPLAY_LIBRARY
@@ -50,10 +49,6 @@
 #
 # The choices are:
 #   x              use X windows interface, cross platform
-#   win32          use native win32 libraries
-#   carbon         use Carbon library (for MacOS X)
-#   macintosh      use MacOS pre-10
-#   amigaos        use native AmigaOS libraries
 #   sdl            use SDL 1.2.x library, cross platform
 #   sdl2           use SDL 2.x library, cross platform
 #   term           text only, uses curses/ncurses library, cross platform
@@ -278,7 +273,7 @@
 # Please note that if you use a SeaBIOS binary in romimage BIOS option,
 # you must use a PCI enabled VGA ROM BIOS.
 #=======================================================================
-romimage: file=$BXSHARE/BIOS-bochs-latest, options=fastboot
+romimage: file=/usr/share/bochs/BIOS-bochs-latest, options=fastboot
 #romimage: file=$BXSHARE/BIOS-bochs-legacy
 #romimage: file=$BXSHARE/bios.bin-1.13.0 # http://www.seabios.org/SeaBIOS
 #romimage: file=$BXSHARE/i440fx.bin, flash_data=escd.bin
@@ -292,7 +287,7 @@
 # you cannot use a PCI enabled VGA ROM BIOS option such as the cirrus
 # option shown below.
 #=======================================================================
-vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest.bin
+vgaromimage: file=/usr/share/vgabios/vgabios.bin
 #vgaromimage: file=bios/VGABIOS-lgpl-latest-cirrus.bin
 #vgaromimage: file=$BXSHARE/vgabios-cirrus.bin-1.13.0 # http://www.seabios.org/SeaVGABIOS
 #vgaromimage: file=bios/VGABIOS-elpin-2.40
@@ -693,7 +688,8 @@
 #   boot: cdrom, floppy, disk
 #=======================================================================
 #boot: floppy
-boot: disk
+#boot: disk
+boot: cdrom
 
 #=======================================================================
 # FLOPPY_BOOTSIG_CHECK: disabled=[0|1]
@@ -716,8 +712,9 @@
 #   log: ./bochs.out
 #   log: /dev/tty
 #=======================================================================
+log: /dev/stdout
 #log: /dev/null
-log: bochsout.txt
+#log: /tmp/bochsout.txt
 
 #=======================================================================
 # LOGPREFIX:
@@ -814,7 +811,7 @@
 #   com4: enabled=1, mode=pipe-client, dev=\\.\pipe\mypipe
 #   com4: enabled=1, mode=pipe-server, dev=\\.\pipe\mypipe
 #=======================================================================
-#com1: enabled=1, mode=term, dev=/dev/ttyp9
+com1: enabled=1, mode=term, dev=/dev/#com#
 
 
 #=======================================================================
@@ -830,7 +827,7 @@
 #   parport2: enabled=1, file="/dev/lp0"
 #   parport1: enabled=0
 #=======================================================================
-parport1: enabled=1, file="parport.out"
+parport1: enabled=1, file="/dev/lp0"
 
 #=======================================================================
 # SOUND:
@@ -868,7 +865,7 @@
 # Example for different drivers:
 #   sound: waveoutdrv=sdl, waveindrv=alsa, midioutdrv=dummy
 #=======================================================================
-sound: driver=default, waveout=/dev/dsp. wavein=, midiout=
+sound: driver=default, waveout=/dev/dsp, wavein=, midiout=
 
 #=======================================================================
 # SPEAKER:
@@ -1000,10 +997,7 @@
 #         'vnet' module and assigns IP addresses like 'slirp' (10.0.2.x).
 #
 #=======================================================================
-# ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01, ethmod=fbsd, ethdev=en0 #macosx
-# ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:00, ethmod=fbsd, ethdev=xl0
-# ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:00, ethmod=linux, ethdev=eth0
-# ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=win32, ethdev=MYCARD
+# ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:00, ethmod=#kernel#, ethdev=#eth#
 # ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01, ethmod=tap, ethdev=tap0
 # ne2k: ioaddr=0x300, irq=9, mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=/dev/net/tun0, script=./tunconfig
 # ne2k: ioaddr=0x300, irq=9, mac=b0:c4:20:00:00:01, ethmod=null, ethdev=eth0
@@ -1262,38 +1256,3 @@
 #   iodebug: all_rings=1
 #=======================================================================
 #iodebug: all_rings=1
-
-#=======================================================================
-# fullscreen: ONLY IMPLEMENTED ON AMIGA
-#             Request that Bochs occupy the entire screen instead of a
-#             window.
-#
-# Examples:
-#   fullscreen: enabled=0
-#   fullscreen: enabled=1
-#=======================================================================
-#fullscreen: enabled=0
-#screenmode: name="sample"
-
-#=======================================================================
-# for Macintosh, use the style of pathnames in the following
-# examples.
-#
-# vgaromimage: :bios:VGABIOS-elpin-2.40
-# romimage: file=:bios:BIOS-bochs-latest, address=0xf0000
-# floppya: 1_44=[fd:], status=inserted
-#=======================================================================
-
-#=======================================================================
-# MEGS
-# Set the number of Megabytes of physical memory you want to emulate.
-# The default is 32MB, most OS's won't need more than that.
-# The maximum amount of memory supported is 2048Mb.
-# The 'MEGS' option is deprecated. Use 'MEMORY' option instead.
-#=======================================================================
-#megs: 256
-#megs: 128
-#megs: 64
-#megs: 32
-#megs: 16
-#megs: 8