View Single Post
Old 21 February 2014, 18:54   #160
Telemachus
Registered User
Telemachus's Avatar
 
Join Date: Jan 2013
Location: Brussels
Posts: 78
Quote:
Originally Posted by earok View Post
Ok, this is how I'd do it. Admittedly it's probably very rough and hacky but it should recover most memory (as it forces the RAD disk to dismount as soon as it's no longer needed).

Put something like this in your game .run or .start

Code:
C:Mount C:RAD
echo "cd sys:games" > RAD:start
echo "C:WHDLoad 1943.slave DATA=1943 PRELOAD" >> RAD:start
Reboot
> means add a line to a new file, >> means append a line to an existing file.

Add this bit to your startup-sequence

Code:
C:Assign >NIL: RAD: EXISTS
IF NOT WARN
copy rad:start ram:start
remrad force rad: >nil:
execute ram:start
hardreset
Endif
Edit: Make sure you've got all of the required utilities in your C folder eg remrad
I tried this script and it reboots and just displays the cli with no message.

C:Mount C:RAD
echo "CD32:c/Assign DEVS: CD32evs" >> RAD:start
echo "CD CD32:Games/ActionFighter" >> RAD:start
echo "CD32:c/WHDLoadCD32 ActionFighter.Slave Data=Data Custom3=1" >> RAD:start
Reboot


<startup-sequence>
C:Assign >NIL: RAD: EXISTS
IF NOT WARN
copy rad:start ram:start
remrad force rad: >nil:
execute ram:start
hardreset
Endif
Endif
SetPatch >NIL:
Assign T: RAM:
Assign ENV: RAM:
Assign AGS: SYS:Menu
Menu
AGS
Telemachus is offline  
 
Page generated in 0.08593 seconds with 9 queries