Tunes and whistles about MIPS64-based LoongSon2F CPUs and hardware

Sunday, May 24, 2009

Running Windows XP inside BOCHS emulator on Yeeloong netbook


It was funny enough to take a challenge and try to launch Windows XP on a completely different hardware platform, like MIPS64 (Loongson 2F). Though, performance issue is far from an ideal state, but ... it works!

Bochs's configuration which I use:

# configuration file generated by Bochs
config_interface: textconfig
display_library: x
megs: 256
romimage: file="/usr/share/bochs/BIOS-bochs-latest"
vgaromimage: file="/usr/share/bochs/VGABIOS-lgpl-latest"
boot: disk, cdrom
#floppy_bootsig_check: disabled=0
# no floppya
# no floppyb
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata0-master: type=disk, mode=flat, translation=auto, path="./c2.img", cylinders=2641, heads=16, spt=63, biosdetect=auto, model="Generic 1234"
ata0-slave: type=cdrom, path="winxp_sp2_corp_rus.iso", status=inserted

i440fxsupport: enabled=1
vga_update_interval: 40000
vga: extension=vbe
cpu: count=1, ips=50000000, reset_on_triple_fault=1
#, cpuid_limit_winnt=0
#, msrs="msrs.def"
text_snapshot_check: enabled=0
private_colormap: enabled=0
clock: sync=none, time0=local
keyboard_serial_delay: 250
keyboard_paste_delay: 100000
mouse: enabled=0, type=ps2

I've increased IPS (Iterations per Second) option up to 150 MHz. But the fact is, BOCHS is a very slow emulator. This configuration being run on Core2 Duo E6550 resulted in 50% CPU load and almost the same performance.

Stay tuned for more ;-)

No comments:

Post a Comment

Blog Archive