QEMU on Windows

    QEMU is an emulator for various CPUs. It works on Linux, Windows, FreeBSD and Mac OS X.
 Windows version is in an alpha stage. I checked it works on Windows2000SP4 and WindowsMe.

    Double hyphen "--" is no more needed. Please use a single hyphen for all options.

1. Install

    Please extract ziped file. When extracted, you are ready.

2. To start a program

    There are two ways to start a program.

2.1 Using a batch file

    A file "qemu-win.bat" starts QEMU. Double click boots Linux on your desktop. 

When you use Command Prompt(MS-DOS Prompt), type

	qemu.exe -L . -hda linux.img

    An option "-hda" set hard disk image and an option "-L" set bios location. 

    When a mouse cursor is missing, type Ctrl and Alt key together. 

    To exit from Linux, type Ctrl, Alt, 2 key together. You will see a screen like this.

    QEMU 0.x.x monitor - type 'help' for more information
    (qemu)

    Type:

    (qemu) quit
    or
    (qemu) q

    Then the program finishes.

2.2 Using a shortcut

    Create a new shortcut of qemu.exe. Right click on the shortcut, append appropriate
options like "C:\...\qemu.exe" -L . -hda linux.img at link to text field. 
Double click the shortcut.
 
3. Test

    There is a benchmark in linux.img. When Linux boots, type

	sh-2.05b# cd nbench
	sh-2.05b# ./nbench

    INTEGER INDEX and FLOATING-POINT INDEX are index to Pentium 90MHz.

4. Uninstall

    Please delete the extracted folder. This program doesn't use the registry.
  
5. Hard disk image

   A hard disk image file can be created by qemu-img.exe.
   To create a 10MB hard disk image file, type in command prompt:

   qemu-img.exe create harddisk.img 10M


6. Floppy and CD-ROM

    You can change a floppy and a CD-ROM image from QEMU Monitor.
    QEMU Monitor can be seen by pressing Ctrl, Alt, 2 key together.
Pressing Ctrl, Alt, 1 key together returns to your guest OS.

    It needs to convert floppy and CD-ROM to image file to use it.

    For floppy, there are many converters. Please choose your favorite one.

    If you have CD-R writing software, you can use it. If you don't have it, 
you can use mkisofs command in cdrtools. 

    To use them together, type:

    qemu.exe -L . -m 128 -boot a -fda floppy.img -hda harddisk.img -cdrom cdimage.iso

  -L : bios location
  -m : memory size (Mbyte)
  -boot : boot device  floppy(a), hard disk(c), CD-ROM(d)
  -fda : floppy image
  -hda : hard disk image
  -cdrom : CD-ROM image
 
    When you want to change a floppy and CD-ROM image, type:
    (qemu) change fda filename.img
    or
    (qemu) change cdrom fdimage.iso

7. Notes

    Don't start two QEMU on one hard disk image. It will break the hard disk image.

8. License

    Please refer to QEMU home page and source codes.
    This program is provided "as is" and without any warranty. Please use it 
at your own risk.

9. Links

  QEMU
	http://fabrice.bellard.free.fr/qemu/
  Bochs BIOS
	http://bochs.sourceforge.net/ 
  VGA BIOS
	http://www.nongnu.org/vgabios/
  MinGW
	http://www.mingw.org/ 
  SDL Library
	http://www.libsdl.org/

Have fun,
    kazu 