home *** CD-ROM | disk | FTP | other *** search
/ Boston 2 / boston-2.iso / DOS / HILFEN / SYSTEM / RAMDISK1 / SETRAM.DOC < prev    next >
Internet Message Format  |  1993-12-01  |  2KB

  1. From:     jnw@mcnc
  2. Received: by mcnc (4.12/4.7)
  3.     id AA29677; Sun, 27 Jan 85 21:44:49 est
  4. Date:     Sun, 27 Jan 85 21:44:49 est
  5. Original-From: John White <jnw@mcnc>
  6. Message-Id: <8501280244.AA29677@mcnc>
  7. To:       ecsvax!bet
  8. Via:  Mcnc; 27 Jan 85 23:00-EDT
  9. Status: RO
  10.  
  11. This ramdisk starts out with no memory. To allocate memory for it use:
  12.     setram drive kbytes
  13. where drive is the drive letter and kbytes is the number of kbytes to alloc.
  14. Memory can only be allocated when there is currently no memory allocated
  15. to the ramdisk.
  16. example, if the ramdisk is drive e and a 68k ramdisk is desired
  17.     setram e 68
  18.  
  19. To deallocate the memory that was allocated for the ramdisk, use:
  20.     setram drive
  21. where drive is the drive letter.
  22. example, if the ramdisk is drive e
  23.     setram e
  24.  
  25. This ramdisk allows up to 32 directory entries in the root directory.
  26. To use it, there must be a line in the config.sys file
  27.     device=ram.sys
  28. and if an initial ramdisk is desired, the line
  29.     setram drive kbytes
  30. can be put in the autoexec.bat file.
  31.  
  32. Don't allocate memory if there is currently in memory a program that will
  33. terminate and free up its memory, as the setram memory will be allocated after
  34. this program and memory will become segmented. Also, don't run a
  35. terminate-and-stay-resident program when memory is allocated for the ramdisk
  36. because when the ramdisk memory is deallocated memory will be segmented.
  37. If memory is deallocated in a .bat file, then memory will be segmented until
  38. the .bat file terminates, so don't do anything in that bat file after
  39. a deallocation if this segmentation could cause a problem (such as
  40. reallocating memory with setram or running a terminate and stay resident
  41. program).
  42.