home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
games
/
horses
/
!Horses
/
!Run
< prev
next >
Wrap
Text File
|
1995-04-16
|
1KB
|
50 lines
| Run file for Horses simulator
SET Horse$Dir <Obey$Dir>
SET HorseData$Dir <Horse$Dir>.Resources
| Set Software7 filetypes
SET File$Type_012 S7Data
SET File$Type_021 S7Text
SET File$Type_022 S7Sprite
SET File$Type_023 S7Font
| Set load & Run types for the above files
Set Alias$@LoadType_022 SLoad %0
Set Alias$@PrintType_022 <Alias$@PrintType_FF9>
SetMacro Alias$@RunType_021 <Alias$@RunType_FFF>
SetMacro Alias$@RunType_021 <Alias$@RunType_FF9>
Set Alias$@RunType_012 Error 0 This file is saved data from a Software7 game. Load it from the game not the desktop. While loading
Set Alias$@PrintType_012 Echo <2>|MType %0
|Load the sprite for the desktop icons
IconSprites <Horse$Dir>.!Sprites
| Check the version of RiscOS
Set <Risc$OS> "3"
RMEnsure UtilityModule 3.00 Set Risc$OS "2"
IF "<Risc$OS>"="3" THEN ChangeDynamicArea -fontsize 128k
IF "<Risc$OS>"="3" THEN ChangeDynamicArea -spritesize 700k
IF "<Risc$OS>"="2" THEN Error 0 The System sprite area is too small, increase and try again
| Slow down ARM 3 & 6's
Set <ARM$Chip> "3"
RmEnsure ARM 0 Set <ARM$Chip> "2"
IF "<Arm$Chip>"="2" THEN RmEnsure ARM3Support 0 Set <ARM$Chip> "2"
IF "<ARM$Chip>"="3" THEN Cache Off
| After all that, run the game
Run <Obey$Dir>.!RunImage
| Return to full speed
IF "<ARM$Chip>"="3" THEN Cache On