Browse Source

Build bochs with ne2000 support, and add sample lines in bochsrc.txt

to match.
tags/v0.9.3
Michael Brown 17 years ago
parent
commit
8febe42f78
2 changed files with 4 additions and 1 deletions
  1. 1
    1
      contrib/bochs/README
  2. 3
    0
      contrib/bochs/bochsrc.txt

+ 1
- 1
contrib/bochs/README View File

@@ -27,7 +27,7 @@ To get bochs running is fairly simple:
27 27
       pushd bochs
28 28
       ./configure --enable-all-optimisations --enable-pci --enable-pnic \
29 29
                   --enable-debugger --enable-magic-breakpoints \
30
-		  --enable-disasm --enable-show-ips
30
+		  --enable-disasm --enable-show-ips --enable-ne2000
31 31
       popd
32 32
 
33 33
 4.  Build bochs:

+ 3
- 0
contrib/bochs/bochsrc.txt View File

@@ -145,6 +145,7 @@ megs: 32
145 145
 #optromimage3: file=optionalrom.bin, address=0xd2000
146 146
 #optromimage4: file=optionalrom.bin, address=0xd3000
147 147
 optromimage1: file=../../src/bin/pnic.rom, address=0xd0000
148
+#optromimage1: file=../../src/bin/rtl8029.rom, address=0xd0000
148 149
 
149 150
 #optramimage1: file=/path/file1.img, address=0x0010000
150 151
 #optramimage2: file=/path/file2.img, address=0x0020000
@@ -631,6 +632,7 @@ private_colormap: enabled=0
631 632
 # ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=vde, ethdev="/tmp/vde.ctl"
632 633
 # ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:01, ethmod=vnet, ethdev="c:/temp"
633 634
 pnic: mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=/dev/net/tun:tap0
635
+#ne2k: ioaddr=0x240, irq=9, mac=fe:fd:00:00:00:01, ethmod=tuntap, ethdev=/dev/net/tun:tap0
634 636
 
635 637
 #=======================================================================
636 638
 # KEYBOARD_MAPPING:
@@ -684,6 +686,7 @@ user_shortcut: keys=ctrl-alt-del
684 686
 #   i440fxsupport: enabled=1, slot1=pcivga, slot2=ne2k
685 687
 #=======================================================================
686 688
 i440fxsupport: enabled=1, slot1=pcipnic
689
+#i440fxsupport: enabled=1, slot1=ne2k
687 690
 
688 691
 #=======================================================================
689 692
 # USB1:

Loading…
Cancel
Save