/[projet1]/public/oric/games/Awele/osdk_execute.bat
Defence Force logotype

Contents of /public/oric/games/Awele/osdk_execute.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 491 - (show annotations)
Sun May 22 11:33:41 2011 UTC (8 years, 10 months ago) by dbug
File MIME type: text/plain
File size: 960 byte(s)
Added an Oric version of the game Awele made by a coworker eons ago :)
1 @ECHO OFF
2
3
4 ::
5 :: Initial check.
6 :: Verify if the SDK is correctly configurated,
7 ::
8 IF "%OSDK%"=="" GOTO ErCfg
9
10 ::
11 :: Set the build paremeters
12 ::
13 CALL osdk_config.bat
14
15 ::
16 :: Check if the program was compiled
17 ::
18 IF NOT EXIST build\%OSDKNAME%.TAP GOTO ErBld
19
20 ::
21 :: Copy the compiled program into Euphoric folder
22 ::
23 COPY build\%OSDKNAME%.TAP %OSDK%\Euphoric\%OSDKNAME%.TAP
24
25 ::
26 :: Execute the emulator
27 ::
28 SET ORIC=%OSDK%\Euphoric\
29 CALL %OSDK%\Euphoric\Euphoric.exe %OSDK%\Euphoric\%OSDKNAME%.TAP
30 GOTO End
31
32
33 ::
34 :: Outputs an error message about configuration
35 ::
36 :ErCfg
37 ECHO == ERROR ==
38 ECHO The Oric SDK was not configured properly
39 ECHO You should have a OSDK environment variable setted to the location of the SDK
40 GOTO End
41
42 ::
43 :: Outputs an error message about compilation
44 ::
45 :ErBld
46 ECHO == ERROR ==
47 ECHO Before executing this program, you need to build it.
48 ECHO Please run OSDK_BUILD.BAT before.
49 GOTO End
50
51 :End

  ViewVC Help
Powered by ViewVC 1.1.26