From c0d47d4db0626bc21f4880582fbf2b192844446a Mon Sep 17 00:00:00 2001 From: Elaina Claus Date: Sun, 7 Sep 2025 14:48:35 -0400 Subject: [PATCH] re-organize bochs config, added USB 1.0/1.1/2.0 and e1000 network --- bochsrc.txt | 68 ++++++++++++++++++++++++++--------------------------- 1 file changed, 33 insertions(+), 35 deletions(-) diff --git a/bochsrc.txt b/bochsrc.txt index db725ea..75cdead 100755 --- a/bochsrc.txt +++ b/bochsrc.txt @@ -1,44 +1,44 @@ -# configuration file generated by Bochs -plugin_ctrl: voodoo=false, unmapped=true, biosdev=true, speaker=true, extfpuirq=true, parallel=true, serial=true, busmouse=false, e1000=false, es1370=false, gameport=true, ne2k=false, sb16=false, usb_uhci=false, usb_ohci=false, usb_ehci=false, usb_xhci=false +# +# Bochs config +# config_interface: textconfig display_library: x, options=gui_debug -memory: guest=64, host=64, block_size=128 -romimage: file="/usr/share/bochs/BIOS-bochs-legacy", address=0x00000000, options=none, flash_data=none -vgaromimage: file="/usr/share/bochs/VGABIOS-lgpl-latest" -boot: disk -floppy_bootsig_check: disabled=0 -floppya: type=1_44 -# no floppyb -ata0: enabled=true, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14 -ata0-master: type=disk, path="./build/disk.img", mode=flat, cylinders=0, heads=0, spt=0, sect_size=512, model="Stevia Disk", biosdetect=auto, translation=lba -ata0-slave: type=none -ata1: enabled=false -ata1-master: type=none -ata1-slave: type=none -ata2: enabled=false -ata3: enabled=false -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, slot1=none, slot2=none, slot3=none, slot4=none, slot5=none -vga: extension=vbe, update_freq=10, realtime=1, ddc=builtin -cpu: count=1, ips=1000000, model=p3_katmai, reset_on_triple_fault=1, cpuid_limit_winnt=0, ignore_bad_msrs=1, mwait_is_nop=0 -print_timestamps: enabled=0 -port_e9_hack: enabled=false, all_rings=false +plugin_ctrl: voodoo=false, unmapped=true, biosdev=true, speaker=true, extfpuirq=true, parallel=true, serial=true, busmouse=false, e1000=true, es1370=false, gameport=true, ne2k=false, sb16=false, usb_uhci=true, usb_ohci=false, usb_ehci=false, usb_xhci=false +print_timestamps: enabled=1 private_colormap: enabled=0 -clock: sync=none, time0=local, rtc_sync=0 -# no cmosimage log: - logprefix: %t%e%d debug: action=ignore info: action=report error: action=report panic: action=ask +magic_break: enabled=1 +port_e9_hack: enabled=1, all_rings=false +# +# Machine Spec +# 1x Pentium 3 @ (1M IPS) w/ 64MiB of System memory on the i440fx +cpu: count=1, ips=1000000, model=p3_katmai, reset_on_triple_fault=0, cpuid_limit_winnt=0, ignore_bad_msrs=1, mwait_is_nop=0 +memory: guest=64, host=64, block_size=128 +romimage: file="/usr/share/bochs/BIOS-bochs-legacy", address=0x00000000, options=none, flash_data=none +vgaromimage: file="/usr/share/vgabios/vgabios-stdvga.bin" +pci: enabled=1, chipset=i440fx +vga: extension=vbe, update_freq=10, realtime=1, ddc=builtin +clock: sync=none, time0=local, rtc_sync=0 +# +# Disks +# +boot: disk +floppy_bootsig_check: disabled=0 +floppya: type=1_44 +floppyb: type=1_44 +ata0: enabled=true, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14 +ata0-master: type=disk, path="./build/disk.img", mode=flat, cylinders=0, heads=0, spt=0, sect_size=512, model="Stevia Disk", biosdetect=auto, translation=lba +ata0-slave: type=none +# +# Other hardware +# +usb_ehci: enabled=1, companion=ohci +e1000: enabled=1, mac=52:54:00:12:34:56, ethmod=null keyboard: type=mf, serial_delay=150, paste_delay=100000, user_shortcut=none mouse: type=none, enabled=false, toggle=ctrl+mbutton sound: waveoutdrv=dummy, waveout=none, waveindrv=dummy, wavein=none, midioutdrv=dummy, midiout=none @@ -48,6 +48,4 @@ parport2: enabled=false com1: enabled=true, mode=null com2: enabled=false com3: enabled=false -com4: enabled=false -magic_break: enabled=1 -port_e9_hack: enabled=1, all_rings=false +com4: enabled=false \ No newline at end of file