home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / genie-commodore-file-library / C128CPM / PIPMAG-4.ARC / SAVDISK1.PIP < prev    next >
Encoding:
Text File  |  2019-04-13  |  6.2 KB  |  117 lines

  1.                               The Perils of Peggy
  2.                                    (Part 1)
  3.  
  4.                                       by
  5.  
  6.                                    D.FOWLER2
  7.  
  8.         It was a dark and stormy night.... uh, this is a scholarly 
  9.     publication?  Sez who? 
  10.  
  11.         I've been messing with computers for six years.  In that time I've
  12.     learned that things do go wrong from time to time.  I must say that our
  13.     Kaypros are extraordinarily reliable.  We've never had a serious
  14.     electronic or mechanical problem.  Oh, I've had to vaccuum the cat
  15.     hairs and Oreo crumbs out of the keyboard occasionally, and I've
  16.     cleaned the disk drives once or twice, but nothing beyond that.
  17.  
  18.         I can remember only four or five times when I have had any disk
  19.     reading problems.  Never have the problems arisen because of the disk
  20.     drives, and rarely have they been serious.  Once my Perfect Calc
  21.     program committed suicide on me.  In my foolish youth I scrambled a
  22.     WordStar disk by storing on top of my computer, right over the monitor
  23.     with its nice strong magnetic field.  Data-wise, Perfect Calc
  24.     spreadsheets sometimes get corrupted when one bit flips from 0 to 1 (or
  25.     vice versa).  I fix those with my text processor.  I had a dBaseII file
  26.     send a few letters into italics on me.  Again, one bit had switched
  27.     from 0 to 1.  I added a filter routine to the command program to get
  28.     rid of that problem.  Nothing major.
  29.  
  30.         Think of how fragile our data is.  All that information is stored
  31.     as tiny bits of magnetism in a thin coating of "rust" on a floppy
  32.     plastic platter.  It's read by a delicate bit of electronics as the
  33.     platter spins at 300 RPM a fraction of an inch away.
  34.  
  35.         Think about it and you get this sudden impulse to back up your data
  36.     Right Away.  Because something could go Very Seriously Wrong.  As
  37.     recently happened to my long suffering spouse, Peggy.
  38.  
  39.         She produces an Alumnae Newsletter for her old summer camp.  This
  40.     year it has to get out in time to round up everyone for the reunion up
  41.     in New Hampshire in June, so she was really hammering on it.  All the
  42.     various parts of it, about 45 single spaced pages, were on one disk (of
  43.     course).  Well, there she was, churning along on the table of contents
  44.     and she went to save her work and right in the middle of the save, with
  45.     no warning, Everything went CRASH!  "BDOS ERROR ON B: BAD SECTOR."
  46.  
  47.         Naturally, she had been going to back up the data onto another disk
  48.     Real Soon Now.  She'd been walking the tightrope without a net and the
  49.     rope broke.  That's always the way it is.  I've never heard of a disk
  50.     crashing just after you have backed things up.
  51.  
  52.         She did not throw a screaming fit.  She didn't even mutter under
  53.     her breath.  The silence was frightening.
  54.  
  55.         When something like this happens, I get called in (though Super
  56.     Hacker I am not).  A quick check and I knew we were in trouble.
  57.     WordStar floundered like a wounded albatross when asked to do anything
  58.     with that disk.  Just asking for a directory of the disk produced a
  59.     spastic grunting from any drive it was in.  I got the sinking feeling
  60.     that nothing short of an act of God was going to read that disk, IF the
  61.     files were still there at all.
  62.  
  63.         Feeling somewhat akin to St. George, I shouldered my nerd pack and
  64.     ventured into chaos.  My first reconnaisance was with NSweep.  After
  65.     being prodded past its "Read Error" message with several <Return>s it
  66.     managed to penetrate the wreckage.  It did succeed in listing the
  67.     files, but could do nothing with them.
  68.  
  69.         It was obviously time to bring in the heavy wrecking equipment.  I
  70.     reached for my rusty old (7.7) version of DU.
  71.  
  72.         DU is the ultimate Disk Utility.  DU is to NSweep as a large
  73.     backhoe is to a shovel.  It is Mr. Goodwrench's Garage, as opposed to
  74.     the $8.95 26 piece socket set you bought at K Mart.  It is ...  well,
  75.     you get the idea.
  76.  
  77.         DU is also to be used VERY CAREFULLY, because you can easily dig
  78.     the hole you are in a great deal deeper, and then pull it in after you.
  79.     So, magic wand in hand, cloak of invisibility enfolding me, brass
  80.     lantern lighted and held aloft, I tip-toed in, constantly on the watch
  81.     for fearsome Grues.
  82.  
  83.         DU looks at the designated disk in great detail.  Once you tell it
  84.     exactly where to look, by track and sector, you can ask it to show you
  85.     what is there with the (D)ump command.  It will display (in hexadecimal
  86.     code) every byte in a sector, and (if it is a text file) a
  87.     "translation" of it into the ASCII.
  88.  
  89.         The first thing DU did when I invoked it and asked it to look at
  90.     Track 1, Sector 1, was make the drive holding the ravaged disk make a
  91.     lot of noise, (but good noise, as I'll explain later).  It then
  92.     informed me, and I quote: ++ READ failed, sector may be invalid ++.
  93.     Then it displayed what it had found.
  94.  
  95.         My worst fears were confirmed.  What should have been the directory
  96.     of the files on the disk was trash.  Some file names were legible, but
  97.     not all.  Worse, on the line below some of the names, where there were
  98.     supposed to be file addresses it was Chernobyl.
  99.  
  100.         You know, of course, that the directory track is not there just so
  101.     when you give your computer the DIRectory command it can tell you what
  102.     you've got.  It is there so the computer can find the files in the
  103.     first place.  Trash your directory track (or, for you IBMers, your File
  104.     Allocation Table [FAT]) and those files might just as well be on the
  105.     moon, or on an anchovy pizza, take your pick.
  106.  
  107.                Baaaadum!  Baaaaadum!  Baadum,baadumbaadumbaadum.
  108.  
  109.          Had Jaws eaten Peggy's newsletter?  Will our Fearless Hero be able
  110.     to plumb the turgid depths and retrieve the Golden Treasure?  Will
  111.     faithful Nurse Stella discover that Dr. Jameson is dallying with the
  112.     mysterious amnesia patient in Room 214, who (unknown to Stella) is
  113.     really her half-sister by her step-father who is Dr.  Jameson's evil
  114.     and licentious long lost great-uncle?  Tune in next month.
  115.  
  116.                             (To be continued)
  117.