View Single Post
Old 21 February 2014, 06:34   #157
earok
Moderator

 
Join Date: Dec 2013
Location: Auckland
Posts: 1,487
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
earok is offline  
 
Page generated in 0.06963 seconds with 10 queries