]> Zhao Yanbai Git Server - kernel.git/commitdiff
bochs2.7
authoracevest <zhaoyanbai@126.com>
Tue, 26 Oct 2021 01:41:40 +0000 (09:41 +0800)
committeracevest <zhaoyanbai@126.com>
Tue, 26 Oct 2021 01:41:40 +0000 (09:41 +0800)
.bochsrc

index e751457d448d15d8969e13d732e76c40e1be61de..cb0636a79d8b92d0425e5e1652e5970e91bbb5e7 100644 (file)
--- a/.bochsrc
+++ b/.bochsrc
@@ -2,16 +2,18 @@
 megs: 128
 plugin_ctrl: unmapped=1, biosdev=1, speaker=1, extfpuirq=1, iodebug=0
 config_interface: textconfig
-display_library: x
+#display_library: x
 memory: host=128, guest=128
-romimage: file="/usr/local/share/bochs/BIOS-bochs-latest"
-vgaromimage: file="/usr/local/share/bochs/VGABIOS-lgpl-latest"
+romimage: file=$BXSHARE/BIOS-bochs-latest, options=fastboot
+vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
+#romimage: file="/usr/local/share/bochs/BIOS-bochs-latest"
+#vgaromimage: file="/usr/local/share/bochs/VGABIOS-lgpl-latest"
 boot: disk
 floppy_bootsig_check: disabled=1
 # no floppya
 # no floppyb
 ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
-ata0-master: type=disk, mode=flat, translation=auto, path="./HD.IMG", cylinders=48, heads=16, spt=63, biosdetect=auto, model="Generic 1234"
+ata0-master: type=disk, mode=flat, translation=auto, path="out.img", cylinders=48, heads=16, spt=63, biosdetect=auto, model="Generic 1234"
 ata0-slave: type=cdrom, path="grub.iso", status=inserted, biosdetect=auto, model="Generic 1234"
 ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
 ata2: enabled=0
@@ -47,10 +49,10 @@ panic: action=ask
 error: action=report
 info: action=report
 debug: action=ignore
-keyboard_type: mf
-keyboard_serial_delay: 250
-keyboard_paste_delay: 100000
-keyboard_mapping: enabled=1, map=/usr/local/share/bochs/keymaps/x11-pc-us.map
-user_shortcut: keys=none
+#keyboard: mf
+#keyboard_serial_delay: 250
+#keyboard_paste_delay: 100000
+#keyboard_mapping: enabled=1, map=/usr/local/share/bochs/keymaps/x11-pc-us.map
+#user_shortcut: keys=none
 #mouse: enabled=0
 #mouse: enabled=0, type=ps2, toggle=ctrl+mbutton