/[projet1]/users/mmu_man/demos/oric/tunnel/osdk_execute.bat
Defence Force logotype

Diff of /users/mmu_man/demos/oric/tunnel/osdk_execute.bat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1144 by mmu_man, Sun Jun 1 21:54:52 2014 UTC revision 1145 by dbug, Sun Aug 10 15:14:49 2014 UTC
# Line 1  Line 1 
1  @ECHO OFF  @ECHO OFF
2    
   
3  ::  ::
4  :: Initial check.  :: Initial check.
5  :: Verify if the SDK is correctly configurated,  :: Verify if the SDK is correctly configurated,
# Line 13  IF "%OSDK%"=="" GOTO ErCfg Line 12  IF "%OSDK%"=="" GOTO ErCfg
12  CALL osdk_config.bat  CALL osdk_config.bat
13    
14  ::  ::
15  :: Check if the program was compiled  :: Run the emulator using the common batch
 ::  
 IF NOT EXIST build\%OSDKNAME%.TAP GOTO ErBld  
   
 ::  
 :: Copy the compiled program into Euphoric folder  
 ::  
 COPY build\symbols %OSDK%\Euphoric\symbols  
 COPY build\%OSDKNAME%.TAP %OSDK%\Euphoric\%OSDKNAME%.TAP  
   
 ::  
 :: Execute the emulator  
16  ::  ::
17  SET ORIC=%OSDK%\Euphoric\  CALL %OSDK%\bin\execute.bat
 CALL %OSDK%\Euphoric\Euphoric.exe %OSDK%\Euphoric\%OSDKNAME%.TAP  
18  GOTO End  GOTO End
19    
   
20  ::  ::
21  :: Outputs an error message about configuration  :: Outputs an error message about configuration
22  ::  ::
# Line 38  GOTO End Line 24  GOTO End
24  ECHO == ERROR ==  ECHO == ERROR ==
25  ECHO The Oric SDK was not configured properly  ECHO The Oric SDK was not configured properly
26  ECHO You should have a OSDK environment variable setted to the location of the SDK  ECHO You should have a OSDK environment variable setted to the location of the SDK
27  GOTO End  ECHO ===========
28    IF "%OSDKBRIEF%"=="" PAUSE
 ::  
 :: Outputs an error message about compilation  
 ::  
 :ErBld  
 ECHO == ERROR ==  
 ECHO Before executing this program, you need to build it.  
 ECHO Please run OSDK_BUILD.BAT before.  
29  GOTO End  GOTO End
30    
31  :End  :End

Legend:
Removed from v.1144  
changed lines
  Added in v.1145

  ViewVC Help
Powered by ViewVC 1.1.26