home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / apple2 / 17862 < prev    next >
Encoding:
Text File  |  1992-07-24  |  2.4 KB  |  67 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!utcsri!torn!cunews!nrcnet0!bnrgate!bcars267!bnr.ca!gopher
  3. From: gopher@bnr.ca (Jeff Robertson)
  4. Subject: HELP!  In need of a GS/OS guru!
  5. Message-ID: <1992Jul24.145509.17563@bnr.ca>
  6. Keywords: GS/OS
  7. Sender: news@bnr.ca (usenet)
  8. Nntp-Posting-Host: 47.128.7.26
  9. Reply-To: gopher@bnr.ca (Jeff Robertson)
  10. Organization: Bell-Northern Research Ltd.
  11. Date: Fri, 24 Jul 1992 14:55:09 GMT
  12. Lines: 53
  13.  
  14. HELP!
  15.  
  16. Last night I was starting a new program in TML Pascal II.  I
  17. had just compiled (to memory) and executed.  The system
  18. crashed.  Badly.  My Innerdrive was readable, but didn't
  19. want to boot.  Evidentally some system files got corrupted,
  20. because when I replaced a whole slough of them, I could boot.
  21. Thinking myself lucky, I tried to reload my source code.
  22.  
  23. No joy.  The file was corrupted.  The TML editor, and Teach,
  24. would load the same thing - about 3K (6 blocks) from a couple
  25. of other files from my hard drive.  This made me think that
  26. the Index Block was damaged.
  27.  
  28. A little snooping with APT Zap showed that the Key Pointer in
  29. the directory file pointed to what looked like a corrupted
  30. Index block.  The Data Blocks for my file were scattered
  31. nearby.  Unfortunately, I can't figure out the Index Block.
  32. I was sure it was just scrambled, until I looked at the
  33. Index Blocks of other files (TML pascal sourcefiles as well)
  34. that I knew were intact, yet looked the same.
  35.  
  36. This would be a good time to point out that my understanding
  37. of Index Blocks is derived from the old ProDOS 16 Reference
  38. Manuel.  Its description does not match what I was observing
  39. for my "known-good" files.
  40.  
  41. By now, it was 2:30 AM, so I packed it in for the night, but
  42. today I was thinking about the problem.  My guess is that
  43. the old Index Block format applies only to "flat" files,
  44. i.e. no resource fork.  The file type of TML source is
  45. $5 - which my ProDOS 16 manual has never heard of.
  46.  
  47. So.  What I need is some kind GS/OS guru to bring me up to
  48. date.  What does the Key Pointer of a type $5 file point to?
  49. Or, more generally, how the heck can I get my file back?
  50. It wasn't huge, but I'm more interested in not having a
  51. corrupt file on my drive.  (And the pursuit of knowledge...)
  52. Oh yes, I'm running System 6 (of course).
  53.  
  54. Please post any suggestions to the net, or mail to my
  55. account - gopher@bnr.ca
  56.  
  57. Thanks for your time...
  58.  
  59. ---
  60. Jeff Robertson
  61. 4A Systems Design Engineering
  62. University of Waterloo / Bell Northern Research
  63. "But what does it all _mean_? / What?  The custard?"
  64.  
  65.  
  66.  
  67.