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