From 82ce6ade8e5c6e8b2bde6004c476a541ef7e89e0 Mon Sep 17 00:00:00 2001 From: acevest Date: Tue, 26 Oct 2021 09:41:40 +0800 Subject: [PATCH] bochs2.7 --- .bochsrc | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.bochsrc b/.bochsrc index e751457..cb0636a 100644 --- 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 -- 2.44.0