Subversion Repositories HelenOS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4758 mejdrech 1
REM Start qemu on windows.
2
REM tested with qemu-0.10.6-windows
3
 
4
@ECHO OFF
5
 
6
REM SDL_VIDEODRIVER=directx is faster than windib. But keyboard cannot work well.
7
SET SDL_VIDEODRIVER=windib
8
 
9
REM SDL_AUDIODRIVER=waveout or dsound can be used. Only if QEMU_AUDIO_DRV=sdl.
10
SET SDL_AUDIODRIVER=dsound
11
 
12
REM QEMU_AUDIO_DRV=dsound or fmod or sdl or none can be used. See qemu -audio-help.
13
SET QEMU_AUDIO_DRV=dsound
14
 
15
REM QEMU_AUDIO_LOG_TO_MONITOR=1 displays log messages in QEMU monitor.
16
SET QEMU_AUDIO_LOG_TO_MONITOR=0
17
 
18
REM PCI-based PC(default): -M pc 
19
REM ISA-based PC         : -M isapc
20
REM -M isapc is added for NE2000 ISA card.
21
 
22
REM the -L argument should point to the qemu libraries
23
 
24
set arguments=-L . -vga std -no-kqemu -M isapc -net nic,model=ne2k_isa -net user -redir udp:8080::8080 -redir udp:8081::8081 -boot d -cdrom image.iso
25
 
26
qemu.exe %* %arguments%