/[projet1]/public/pc/tools/osdk/main/Osdk/_final_/Oricutron/osdk_oricutron.bat
Defence Force logotype

Contents of /public/pc/tools/osdk/main/Osdk/_final_/Oricutron/osdk_oricutron.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1002 - (show annotations)
Sun Dec 8 10:50:26 2013 UTC (6 years ago) by dbug
File MIME type: text/plain
File size: 1552 byte(s)
Resynchronized my own changes to the OSDK with what was in the depot.
From now on I will continue the changes directly with the depot version, and try to update more regularly.
The reason I had this big change is that I had two computers with local changes done in demo parties when working on demos, where I did the fixes to handle Euphoric and Oricutron, plus new tools, modified tools, etc... giant mess.
I do not guarantee that what is on the depot is bug free, but it's the version I'm using right now (My OSDK var points to the public\pc\tools\osdk\main\Osdk\_final_ folder.
1 @ECHO OFF
2
3 ::
4 :: Initial check.
5 :: Verify if the SDK is correctly configurated,
6 ::
7 IF "%OSDK%"=="" GOTO ErCfg
8
9 ::
10 :: Then we create the correct Euphoric command line call
11 :: depending of parameters we have:
12 :: - Rom choice
13 :: - Machine choice
14 ::
15 SET OSDKORICUTRON=oricutron.exe
16
17 :: - Tape or Disk based
18 IF "%OSDKDISK%"=="" SET OSDKORICUTRON=%OSDKORICUTRON% -t OSDK.TAP -s symbols
19 IF NOT "%OSDKDISK%"=="" SET OSDKORICUTRON=%OSDKORICUTRON% -d OSDK.DSK -s symbols
20
21
22 ::
23 :: Check if the program was compiled
24 :: Then copy the compiled program into Euphoric folder
25 ::
26 IF EXIST build\%OSDKNAME%.TAP GOTO OkFile
27 IF EXIST build\%OSDKNAME%.DSK GOTO OkFile
28 IF EXIST %OSDKDISK% GOTO OkFile
29 GOTO ErBld
30
31 :OkFile
32 COPY build\%OSDKNAME%.TAP %OSDK%\Oricutron\OSDK.TAP >NUL
33 COPY build\%OSDKNAME%.DSK %OSDK%\Oricutron\OSDK.DSK >NUL
34 COPY build\symbols %OSDK%\Oricutron\symbols >NUL
35
36
37 ::
38 :: Execute the emulator in fullscreen default mode
39 ::
40 :RunDefault
41 CD %OSDK%\Oricutron
42 START %OSDKORICUTRON%
43 GOTO End
44
45
46
47 ::
48 :: Outputs an error message about configuration
49 ::
50 :ErCfg
51 ECHO == ERROR ==
52 ECHO The Oric SDK was not configured properly
53 ECHO You should have a OSDK environment variable setted to the location of the SDK
54 ECHO ===========
55 IF "%OSDKBRIEF%"=="" PAUSE
56 GOTO End
57
58 ::
59 :: Outputs an error message about compilation
60 ::
61 :ErBld
62 ECHO == ERROR ==
63 ECHO Before executing this program, you need to build it.
64 ECHO Please run OSDK_BUILD.BAT before.
65 ECHO ===========
66 IF "%OSDKBRIEF%"=="" PAUSE
67 GOTO End
68
69 :End

  ViewVC Help
Powered by ViewVC 1.1.26