[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

284.0. "Recoverable RAM Disk" by AUTHOR::MACDONALD () Fri Jan 30 1987 09:33

    Ahhh ... every once in awhile a unique piece of free software for
    the Amiga makes its appearance. POPCLI was one, CHFONT was another.
    But today, the hottest piece of free software is the incredible
    ASDG Recoverable RAM disk program.
    
    Have you ever been visited by the GURU after downloading lots of
    software from a BBS to RAM? Ever feel like kicking your Amiga to
    pieces for losing what you had placed in memory? ASDG Recoverable
    RAM disk software lays to rest all those problems. All you need
    to do is place two new files in your DEVS directory and spruce up
    you startup-sequence file.
    
    Then, if you do a soft reset on your Amiga or the GURU pays a visit,
    everything that was in RAM will still be there! This is particularly
    useful if you have a RAM expansion board and load your Workbench
    diskette into it. If the Amiga crashes, everything is still resident
    in RAM and will not have to be reloaded.
    
    The program works for 512K systems and up. Just read the instructions
    in MOUNTLIST before installing.
    
    Sometime after 8 pm EST, you'll be able to find the file ASDG.ARC
    in EDEN::USER:[PMACDONLD.AMIGA]
    
    After deARCing the file, EXECUTE EXECUTE.ME to properly name the
    files. Then ED MOUNTLIST and change the two values mentioned in
    the instructions to accommodate the memory configuration of your
    Amiga.
    
    Copy MOUNTLIST and the other file to DEVS and make the neccessary
    enhancements to your startup-sequence file.
    
    This is definitely the best little program ever to come along for
    the Amiga.
    
    Paul
T.RTitleUserPersonal
Name
DateLines
284.1ANGORA::SMCAFEESteve McAfeeFri Jan 30 1987 10:4815
    
    Yah, this recoverable ram disk is really nice.
    
    Something really amazing happened to me with it last night:
    
      1.  I booted a workbench containing the RRD.
      2.  Copied Preferences to the RRD.
      3.  Booted another workbench NOT containing the RRD.
      4.  Did a few disk type things...(not much though)
      5.  Rebooted the workbench containing the RRD and found that
          Preferences was still there!!!!!!!!!!!!!
    
     Awesome.
    
     steve mcafee
284.2What version of DELETERAMDISK?KIRK::LONGSun Feb 01 1987 14:513
	Is this the version of DELETERAMDISK with the problem that was
	reported on USENET a few days ago. This is the only part of the
	ASDG.ARC I didn't seem to get to work.
284.3its the bad oneTRUMAN::LEIMBERGERBill LeimbergerSun Feb 01 1987 18:048
    Sure is . I had a problem getting DeleteRamDisk to work .I had tried
    several different transfer methods and they all had the same results.
    I then went out to Plink and found an arced version of RamDelete.
    After dearcing it worked fine. I am not sure about the process
    required to upload the file and put it in an account where it can
    be copied .
    
    bill
284.4ANGORA::SMCAFEESteve McAfeeMon Feb 02 1987 09:178
    
    A good version of deleteramdisk was posted to the usenet a short
    time later.  You can find it in:
    
    ant::bipolar:[smcafee.public]deleteramdisk.uu
    
    steve mcafee
    
284.5Katin VDK: Ramdisk ?VIDEO::KIRKPATRICKMichael L. Kirkpatrick, Jr.Wed May 13 1987 12:3814
    
    Does anyone have a copy of the PD Katin VDK: "Sticky RamDisk" (shared
    or uuencoded)? This program gives the user the option of creating
    multiple ramdisks with no fixed size like the ASDG Ramdisk. I like
    the ASDG Ramdisk very much but am limited to one ramdisk besides
    the RAM: I have tried to create another ASDG Ramdisk VD1: and modified
    the mountlist accordingly but system crashes when I start running
    AmigaDOS commands in a window. Has anyone created more than one
    ASDG Ramdisk like VD1:? It seems the VDK: ramdisk would be a better
    application to run for multi-ramdisks environment, gives more options
    like parity checking and is recoverable after system crashes unless
    I'm wrong about that.
    
    
284.6ELWOOD::PETERSThu May 14 1987 01:206
    
    
    	I don't understand. Why would anyone want more than ONE ram
    disk ??????
    
    
284.7For ASDG, it makes sense to have >1 ram disksCAD::PRYORThu May 14 1987 18:1836
    
    Well,
    
    There is one good reason why one would want more than one ram disk...
    
    Since ASDG allows you to only allocate fixed number of sectors.
    And those sectors are allocated from the free ram list, even if
    the ram disk is just plain empty. I don't blame ASDG device for
    doing that since it tries to keep all of the ram in one piece 
    (prevent fragmentation).
    
    Typically, one creates a ram disk, just big enough to hold all of c:,
    fonts:, dev:, and s: directories. It would be sufficient for an
    user to run just applications, etc. Maybe just about a couple hundred
    blocks for t: directory, to speed up command files and editors.
    
    However, if the programmer wanted to load Manx c: directory for just
    a hacking session, the ram disk device wouldn't have enough room.
    The programmer is willing to give up lot of ram space, but the ram
    disk cannot be expanded dynamically. So it would be convienent to
    just create another ram device, load Manx c: and lib: (Manx libraries)
    into it, and hack away. After hacking, it is just easy to delete
    the second ram disk device, freeing up lots of memory for another
    applications.
    
    Extending this idea further, one can carefully craft a command file
    to create a second ram disk device, copy whole application c: directory
    and other directories to it, it would just be a snap to just execute
    a command file to set up "Manx", "Lattice", and "Tex" environments.
    
    Gee, if one could create a complete kickbench in a ram disk, and
    have Amiga boot from it, it would go lighting fast (after completing
    power up self tests) ! Just wistful wishing...
    
    Paul.
                 
284.8ELWOOD::PETERSFri May 15 1987 10:2111
    
    	I know that you have to set an upper bound, but I think that
    the ASDG RAM disk allocates memory as needed ( used ). So you can
    build a large ASDG disk and still not use up memory.
    	I also have a program that forces the disk to release any 
    unused RAM. It will release the ram without help but it takes
    some time.
    
    
    		Steve Peters
    
284.9ASDG uses memory only as neededTLE::RMEYERSRandy MeyersFri May 15 1987 15:0211
Both the claims of folks at ASDG and my personal experience confirms
that the ASDG disk allocates memory as needed.  I have my ram disk
configured with a 1.5 meg maximum limit, but most of the time it never
gets close to using all that memory.  Believe me, I would notice if the
ASDG disk was always using 1.5 meg out of my 2.5 meg system.

As reply .8 points out, when the amount of data stored in the ASDG ram
shrinks, the disk doesn't immediately deallocate unused memory.  It first
waits a short amount of time to see if you plan on coping new files to
it.  This prevents it from wasting lots of time in the AmigaDOS memory
manager.
284.10Use CLEANRAMDISKZ::TENNYDave Tenny | Vax Lisp DevelopmentFri May 15 1987 17:597

	ASDG ram uses memory as required, not all at once,
	however they suggest you use the CLEANRAMDISK tool often
	to free memory which has been taken, then becomes garbage.

Dave