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