http://v.youku.com/v_show/id_XNjU3MjAxOTcy.html
linux-0.11内核bochs实验编译环境
用winimage加入diskb.img
然后进入系统后mcopy b:backup.Z backup.Z
然后进入cd /usr/src/
然后rm -R linux
cp /usr/root/backup.Z backup.Z
然后解压tar -xZvf backup.Z
linux-0.11内核文件备份
floppyb: 1_44=diskb.img, status=inserted
编译的命令:
make
make disk
如果你第二次编译,要先make clean以便把上次编译的.o文件等删除。
bochs的配置文件:
版本2.11,
romimage: file=$BXSHARE\BIOS-bochs-latest, address=0xf0000
megs: 16
vgaromimage: $BXSHARE\VGABIOS-elpin-2.40
floppya: 1_44="bootimage-0.11-hd", status=inserted
floppyb: 1_44=diskb.img, status=inserted
ata0-master: type=disk, path="hdc-0.11.img", mode=flat, cylinders=121, heads=16, spt=63
ata0-slave: type=disk, path="hdc-0.11-new.img", mode=flat, cylinders=410, heads=16, spt=38
boot: a
log: bochsout.txt
parport1: enable=0
vga_update_interval: 300000
keyboard_serial_delay: 200
keyboard_paste_delay: 100000
floppy_command_delay: 50000
ips: 4000000
mouse: enabled=0
private_colormap: enabled=0
fullscreen: enabled=1
screenmode: name="sample"
i440fxsupport: enabled=0