Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!rutgers!iuvax!ndmath!thelink!oliver From: oliver@thelink.UUCP (Joel Sumner) Newsgroups: comp.sys.apple Subject: Re: Config/Deconfiguring GS RAM Disk Message-ID: <144@thelink.UUCP> Date: 11 Jun 88 21:40:03 GMT References: <880609212223.073867@DOCKMASTER.ARPA> Organization: TheLink-Public Access Unix, South Bend, IN. Lines: 30 In article <880609212223.073867@DOCKMASTER.ARPA>, TMPLee@DOCKMASTER.ARPA writes: > Does anyone know if there is a way to configure and deconfigure the GS > RAM5 disk from a running program? There are some applications (notably > Paintworks Gold) that won't run when the RAM disk has been configured in > by allocating it memory. (the manual says it won't run period, not a > question of having left enough memory for the application it would > seem.) Instead of having to go into the control panel, turn the machine > off, and re-boot just to deinstall the RAMdisk (and the converse when > done) it would be much nicer if I could start up a short program to do > it. > > (Its possible thas has come up before, but I didn't notice it; I don't > have a Toolbox manual(s) and any code would have to be written from the > mini-assembler or basic.) > > TMPLee@Dockmaster.arpa Here is a risky method but it does work to change RAMdisk size while the machine is on. Go to the Control-Panel and change your RAMDISK size (this process will kill all your ramdisk data but since you are taking it out I guess you won't mind). then hit option-OA-Ctrl-Reset (the system test) and then IMMEDIATELY type ctrl-OA-Reset (Warm Boot).. Your RAMDISK is now changed... You cannot wait too long though because if the SELFTEST gets past 20000, it will be messing with battery ram and you could mess up your clock and battery RAM. I am not sure how many other bad things it does to the system so I am not one to use it Does anyone else have any comments on how dangerous this is?. Another idea is to exit from Diversi-Copy, I know that it kills all of the data in your ram disk but I am not sure if it will reset the size of it or not... oliver@thelink.UUCP (joel Sumner)