sl@0: @echo off sl@0: rem sl@0: rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: rem All rights reserved. sl@0: rem This component and the accompanying materials are made available sl@0: rem under the terms of the License "Eclipse Public License v1.0" sl@0: rem which accompanies this distribution, and is available sl@0: rem at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: rem sl@0: sl@0: rem Nokia Corporation - initial contribution. sl@0: rem sl@0: rem Contributors: sl@0: rem sl@0: rem Description: sl@0: rem sl@0: setlocal sl@0: set IMAGE_PATH=\_vmx\ sl@0: set IMAGE_NAME=floppy sl@0: set ROMBUILD_PATH=\os\kernelhwsrv\kernel\eka\rombuild\ sl@0: set X86PC_PATH=\os\boardsupport\x86pc\ sl@0: set TEMP_PATH=%IMAGE_PATH%_bfi_temp sl@0: if exist "%ProgramFiles%\VMWare\VMWare Workstation" ( sl@0: set VMPLAYER=%ProgramFiles%\VMWare\VMWare Workstation\vmplayer.exe sl@0: ) sl@0: if exist "%ProgramFiles%\VMWare\VMWare Player" ( sl@0: set VMPLAYER=%ProgramFiles%\VMWare\VMWare Player\vmplayer.exe sl@0: ) sl@0: set LOGFILE=%IMAGE_PATH%serial.out sl@0: md %IMAGE_PATH% 2>NUL sl@0: md %IMAGE_PATH%_bfi_temp 2>NUL sl@0: unzip -o -d %IMAGE_PATH% %ROMBUILD_PATH%symbian.vmx.zip sl@0: call %ROMBUILD_PATH%copyx86 %1 %TEMP_PATH% sl@0: copy /y %X86PC_PATH%pcboot\epocboot.com %TEMP_PATH%\epocboot.bin sl@0: pushd sl@0: echo bfi -t=%2 -f=%IMAGE_PATH%%IMAGE_NAME% -b=%X86PC_PATH%pcboot\BOOT.COM -o=epocboot.bin %TEMP_PATH% sl@0: call bfi -t=%2 -f=%IMAGE_PATH%%IMAGE_NAME% -b=%X86PC_PATH%pcboot\BOOT.COM -o=epocboot.bin %TEMP_PATH% sl@0: popd sl@0: del /f %LOGFILE% sl@0: start "%VMPLAYER%" "%IMAGE_PATH%symbian.vmx"