home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 256.lha / XAD_v1.0 / Xad.doc < prev    next >
Encoding:
Text File  |  1989-06-04  |  3.8 KB  |  74 lines

  1.                                     Xad 1.0
  2.                                     =======
  3.                            Written by Jonathan Forbes
  4.                                  31st May, 1989
  5.                     Copyright (C) Xenomiga Technology, 1989
  6.  
  7.                              ** SOURCE INCLUDED **
  8.  
  9.    If you have a hard disk and use a ram drive such as RAD: or BAD:, XAD 1.0
  10. may be just what you have been looking for.  If you turn your computer off
  11. frequently, or crash it frequently (both of these destroy the contents of ram
  12. drives), you will know how agonisingly slow AmigaDOS is, when it copies all of
  13. your files back into your ram drive.
  14.  
  15.    I, for one, have a Palomax hard drive system, which does not allow
  16. auto-booting, so I boot from my RAD: drive every time, and the RAD: drive
  17. mounts the hard drive.  My RAD: drive also contains all of the include files
  18. for my C compiler, as well as a large C (dir), BBS-PC! menus, and various
  19. other assorted files, so it isn't pleasant to watch 770k of files copy
  20. themselves in from my hard drive to ram.  I also use disk optimising programs
  21. to optimise my RAD: and BAD: drives, so the optimised disk structure is lost
  22. whenever the contents of my ram drive are destroyed.
  23.  
  24.    So, what does XAD do?  It copies and restores your ram drive very quickly.
  25. What it in fact does, is copy the entire contents of your ram drive into one
  26. file (very quickly.)  Then, when your ram drive is destroyed, you have only to
  27. re-mount it, and get XAD to write that one large file right back into the ram
  28. drive.  You really have to see how fast XAD is, to appreciate it.
  29.  
  30.    Your ram drive MUST be mounted when you run XAD; otherwise, an
  31. unpredictable event could happen.  Your ram drive must also have 11 blocks
  32. per track, 2 heads, and a block size of 512 bytes; you give XAD the number of
  33. tracks to read or write.  You must also give XAD the name of the device driver
  34. to which the information is to be copied.  Note that it is the device DRIVER,
  35. not the device name, which means that only one device per driver is allowed.
  36. Your device must also be unit zero; no other unit will work.  Also, remember
  37. that most device names are in lower case, so do not type them in upper case
  38. if that is not how they normally appear.
  39.  
  40.    XAD takes the following parameters:
  41.  
  42.      XAD <DeviceName> <FileName> <Mode> <NumTracks>
  43.  
  44. e.g. XAD ramdrive.device dh0:my-rad-drive write 79
  45. e.g. XAD ramdriv2.device dh0:my-rad-drive read 7
  46.  
  47.    Note that the output file produced will be VERY large (just over the same
  48. size as the ram drive's capacity), so it is necessary to have either a hard
  49. drive or lots of RAM, before running this program.
  50.  
  51.    The MODE parameter can be either READ or WRITE.  If you specify "WRITE",
  52. XAD will copy the contents of your ram drive into the specified file.  If you
  53. specify "READ", XAD will copy the contents of your specified file into your
  54. ram drive.
  55.  
  56.    The NUMTRACKS parameter is *usually* the same number that appears in your
  57. mountlist, but is *ALWAYS* ONE LESS than the actual number of tracks on your
  58. drive (so, for an 80 track RAD: drive, which would appear in your mountlist
  59. as LowCyl = 0, HighCyl = 79, you would tell XAD to read/write 79 tracks.)
  60.  
  61.    IMPORTANT NOTE:  After restoring your ram drive with XAD, you must RE-BOOT
  62.                     for it to be effective; it will seem as if XAD didn't work
  63.                     UNTIL you re-boot (the ram drive will appear empty.)
  64.  
  65.    For more information, and more BBS-PC! support utilities, call the
  66. Xenomiga BBS in Toronto, Ontario, at 416-921-6638, 14400/38400 HST system,
  67. with 110 Megabytes of storage, arguably the largest Amiga Only system in
  68. Toronto.
  69.  
  70.    We are a programmer's system, and are always looking for new members.  The
  71. current project underway is a networking BBS. If you would like to join in this
  72. project, and are a competent C programmer, leave the SYSOP a message.
  73.  
  74.