@rem USE _QEMU.BAT TO RUN.
@rem YOU CAN CONFIGURE YOUR HDD IMAGE AND CDROM HERE.
@%4 %5
@notepad.exe _config.bat
@goto end

@rem  EXAMPLE1:   -hda HD1.VMDK
@rem  EXAMPLE2:   -hda HD1.VMDK    -hdb HD2.VMDK
@rem  EXAMPLE3:   -hda HD1.VMDK    -cdrom k:
@rem  EXAMPLE4:   -hda HD1.VMDK    -cdrom CD1.ISO
@rem  EXAMPLE5:   -hda HD1.VMDK    -hdb HD2.VMDK     -hdc HD3.VMDK
@rem  EXAMPLE6:   -hda HD1.VMDK    -hdb HD2.VMDK     -cdrom k:
@rem  EXAMPLE7:   -hda HD1.VMDK    -hdb HD2.VMDK     -cdrom CD1.ISO
@rem  EXAMPLE8:   -hda HD1.VMDK    -hdb HD2.VMDK     -hdc HD3.VMDK       -hdd HD4.VMDK
@rem  EXAMPLE9:   -hda HD1.VMDK    -hdb HD2.VMDK     -cdrom CD1.ISO      -hdd HD3.VMDK
@rem  EXAMPLE10:  -hda HD1.VMDK    -hdb HD2.VMDK     -cdrom k:           -hdd HD3.VMDK

:configuration

@echo.
@use_qemu_bat.exe             ^
                              ^
-hda hd1.vmdk                 ^
-cdrom %3                     ^
                              ^
-boot menu=on                 ^
-no-hpet                      ^
-device virtio-vga            ^
-display sdl,window-close=off ^
-audiodev id=%1,driver=%1     ^
-machine pcspk-audiodev=%1    ^
-device sb16,audiodev=%1      ^
-device adlib,audiodev=%1     ^
-accel %2

@echo.
:end